Recover from Build state on compute manager start-up
Bug #1197024 reported by
Phil Day
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
David McNally |
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.
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | nobody → David McNally (dave-mcnally) |
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
tags: | added: havana-backport-potential |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/47836
Review: https:/