← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1254769] Re: Wrong instance action events updated in re-scheduling case

 

as per comments on patch, closing bug

** Changed in: nova
       Status: In Progress => Opinion

** Changed in: nova
       Status: Opinion => Invalid

-- 
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/1254769

Title:
  Wrong instance action events updated in re-scheduling case

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Event logs in "nova instance-action" is always updated based on
  request id and event name. However, for re-scheduling case (instance
  failed to spin up and rescheduled to another host), multiple event
  records with the same name could be generated under same request id.

  In such case, event details could not be trusted, because it is always
  the first event record got updated.

  nova instance-action 461e1aae-6eae-4172-b2fe-2984dab34a1f req-18c907ac-dbd7-4898-a6ed-e5dbb5c8da91
  +---------------+--------------------------------------------------+
  | 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}]                           |
  +---------------+--------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1254769/+subscriptions