yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08714
[Bug 1254764] Re: instance-action-list events are not ordered by time
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1254764
Title:
instance-action-list events are not ordered by time
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
By design, "events" in nova instance-action-list result should be
listed in in chronological order. However, often can be seen
"compute_run_instance" event happens before "schedule" event.
For example:
+---------------+--------------------------------------------------+
| Property | Value |
+---------------+--------------------------------------------------+
| instance_uuid | 461e1aae-6eae-4172-b2fe-2984dab34a1f |
| user_id | 30d8f5a8deaf446ba51131b751ab8b46 |
| start_time | 2013-11-25T14:26:18.000000 |
| request_id | req-18c907ac-dbd7-4898-a6ed-e5dbb5c8da91 |
| action | create |
| message | None |
| project_id | 5bd1b3ec18b84b8ea3403bdc662983fb |
| events | [{u'event': u'schedule', |
| | u'finish_time': None, |
| | u'result': None, |
| | u'start_time': u'2013-11-25T14:26:49.000000', |
| | u'traceback': None}, |
| | {u'event': u'schedule', |
| | u'finish_time': None, |
| | u'result': None, |
| | u'start_time': u'2013-11-25T14:26:46.000000', |
| | u'traceback': None}, |
| | {u'event': u'compute_run_instance', |
| | u'finish_time': None, |
| | u'result': None, |
| | u'start_time': u'2013-11-25T14:26:46.000000', |
| | u'traceback': None}, |
| | {u'event': u'schedule', |
| | u'finish_time': u'2013-11-25T14:26:49.000000', |
| | u'result': u'Success', |
| | u'start_time': u'2013-11-25T14:26:19.000000', |
| | u'traceback': None}, |
| | {u'event': u'compute_run_instance', |
| | u'finish_time': u'2013-11-25T14:26:47.000000', |
| | u'result': u'Success', |
| | u'start_time': u'2013-11-25T14:27:35.000000', |
| | u'traceback': None}] |
+---------------+--------------------------------------------------+
should be:
+---------------+--------------------------------------------------+
| Property | Value |
+---------------+--------------------------------------------------+
| instance_uuid | 461e1aae-6eae-4172-b2fe-2984dab34a1f |
| user_id | 30d8f5a8deaf446ba51131b751ab8b46 |
| start_time | 2013-11-25T14:26:18.000000 |
| request_id | req-18c907ac-dbd7-4898-a6ed-e5dbb5c8da91 |
| action | create |
| message | None |
| project_id | 5bd1b3ec18b84b8ea3403bdc662983fb |
| events | [{u'event': u'schedule', |
| | u'finish_time': None, |
| | u'result': None, |
| | u'start_time': u'2013-11-25T14:26:49.000000', |
| | u'traceback': None}, |
| | {u'event': u'compute_run_instance', |
| | u'finish_time': None, |
| | u'result': None, |
| | u'start_time': u'2013-11-25T14:26:46.000000', |
| | u'traceback': None}, |
| | {u'event': u'schedule', |
| | u'finish_time': None, |
| | u'result': None, |
| | u'start_time': u'2013-11-25T14:26:46.000000', |
| | u'traceback': None}, |
| | {u'event': u'compute_run_instance', |
| | u'finish_time': u'2013-11-25T14:26:47.000000', |
| | u'result': u'Success', |
| | u'start_time': u'2013-11-25T14:27:35.000000', |
| | u'traceback': None}, |
| | {u'event': u'schedule', |
| | u'finish_time': u'2013-11-25T14:26:49.000000', |
| | u'result': u'Success', |
| | u'start_time': u'2013-11-25T14:26:19.000000', |
| | u'traceback': None}] |
+---------------+--------------------------------------------------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1254764/+subscriptions