[Openstack] Deleting instance with status Error
Prajwal Das
prajwaldas000 at gmail.com
Wed Aug 16 12:18:26 UTC 2017
Hi,
We are using Openstack Mitaka. Find the usecase as given below,
After placing openstack instance/image order, checked the response using
meter API (refer below Reference section).Status is build.
Question 1:
Not sure this status "build" will be the output for how long ?
Question 2:
Even after deleting the instance with status "ERROR" still I could see the
response with status as "build".
Not sure whether this is a bug from openstack..?
Reference:
MeterApi:
http://
<IPAddress>:8777/v2/meters/instance?q.field=timestamp&q.op=ge&q.value=2017-08-14T00:00:00&q.field=timestamp&q.op=lt&q.value=2017-08-15T23:59:59&q.field=project_id&q.op=eq&q.value=dd90792db9a448e8a23e8b464da49845
response:
[
{
"counter_name": "instance",
"user_id": "641fbaf3ba094992addfff522eecace7",
"resource_id": "90b3f27c-ce81-467c-b11f-e7526e9196f3",
"timestamp": "2017-08-10T23:55:17.968000",
"recorded_at": "2017-08-10T23:55:18.130000",
"message_id": "5c8d7594-7e27-11e7-b203-7054d21b4d24",
"source": "openstack",
"counter_unit": "instance",
"counter_volume": 1,
"project_id": "dd90792db9a448e8a23e8b464da49845",
"resource_metadata": {
"instance_host": "newton",
"ephemeral_gb": "0",
"flavor.vcpus": "1",
"flavor.ephemeral": "0",
"instance_id": "90b3f27c-ce81-467c-b11f-e7526e9196f3",
"display_name": "Swapninginst",
"image.name": "window_2012_server_image",
"state": "building",
"flavor.ram": "2048",
"status": "build",
"ramdisk_id": "None",
"flavor.name": "m1.small",
"disk_gb": "20"
},
"counter_type": "gauge"
}
]
Regards,
Prajwal
Billing Architect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170816/c0ed7327/attachment.html>
More information about the Openstack
mailing list