Unable to delete instance booted from an incorrect volume-id
Bug #1087214 reported by
Unmesh Gurjar
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Unmesh Gurjar |
Bug Description
Branch: master
Steps to repro:
Spawn an instance specifying an incorrect/
Expected Behavior:
Nova API should return a 400 Bad Request response with appropriate message 'Invalid volume provided'.
Actual Behavior:
Instance goes into an error state and the instance cannot be deleted (since cinderclient returns a 404 error during deletion).
The instance will persist forever in error state.
Changed in nova: | |
assignee: | nobody → Unmesh Gurjar (unmesh-gurjar) |
Changed in nova: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2013.1 |
Changed in nova: | |
importance: | Undecided → Medium |
no longer affects: | nova/folsom |
To post a comment you must log in.
After observing the comments on a similar bug (https:/ /bugs.launchpad .net/nova/ +bug/1061576), I think instead of Nova API doing the validation, the delete instance should handle such scenarios robustly. Thereby enabling the user to delete such an instance successfully.
NOTE: The stack trace during deleting such instance is available here: http:// paste.openstack .org/show/ 27817/.