Failure in delete leads to undeletable instance.
Bug #1055095 reported by
Vish Ishaya
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
If there is a failure in volume deletion during instance delete, then it is possible for an instance to get into a state where it can't be deleted.
Repro Example:
# create an instance with a delete on terminate volume
nova boot --image=
# snapshot the volume
nova volume-
# delete the instance
nova delete test
Result:
The instance is terminated but the db record sticks around because the volume cannot be deleted. Subsequent runs of delete do not help.
Expected:
The instance should be able to be terminated.
Changed in nova: | |
milestone: | folsom-rc2 → 2012.2 |
To post a comment you must log in.
It is probably good to add some features to cinder to make it so volumes with snapshots can be deleted more easily, but in the meantime, we have already terminated the instance, so the best option is probably just to ignore the failure for the volume to be removed.