← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1204169] Re: compute instance.update messages sometimes have the wrong values for instance state

 

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

** Changed in: nova
   Importance: Undecided => Medium

** Changed in: nova
     Assignee: Phil Day (philip-day) => (unassigned)

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

Title:
  compute instance.update messages sometimes have the wrong values for
  instance state

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Compute instance.update messages that are not triggered by a state
  change (e.g. setting the host in the resource tracker) have default
  (None) values for task_state, old_vm_state and old_ task_state.

  This can make the instance state sequence look wrong to anything
  consuming the messages (e.g stacktach)

   compute.instance.update  None(None) -> Building(none)
   scheduler.run_instance.scheduled 
   compute.instance.update  building(None) ->  building(scheduling)
   compute.instance.create.start 
   compute.instance.update  building(None) ->  building(None)
   compute.instance.update  building(None) ->  building(networking)
   compute.instance.update  building(networking) -> building(block_device_mapping)

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