← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1197024] Re: Recover from Build state on compute manager start-up

 

** 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/1197024

Title:
  Recover from Build state on compute manager start-up

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  If a compute manager is stopped / fails during a build operation then
  the instance will be left stuck with vm_state=BUILDING

  During restart the one thing we can be sure about such instances  is
  that providing the task state is not SCHEDULING (i.e the request is
  not still on the queue) then there is no thread running for this
  instance.  (Might need to add another task_state to be set as soon as
  possible on the the compute manager).

  In this case it should be possible to treat instances in this state as
  if they have failed to spawn and either put them into an ERROR state,
  or even better tidy-up and send back to the scheduler as if the spawn
  had failed.

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