Image id is not checked for validity on rebuild
Bug #886701 reported by
Daryl Walleck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Naveed Massjouni |
Bug Description
When performing a rebuild, the image id passed in is not checked to see if it is a valid id like it is on server creation. If the image id is not valid, the instance becomes stuck in REBUILD state now with the invalid image id.
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | Philip Knouff (philip-knouff) → Naveed Massjouni (ironcamel) |
Changed in nova: | |
milestone: | none → essex-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-3 → 2012.1 |
To post a comment you must log in.
This should definitely not go to REBUILD, should go to ERROR with an explanation of the issue.
In general, I'd like to do less checking during the initial API request to keep things speedy. Thoughts?
Regardless there is a race condition so at a minimum we should go to error with an explanation.