Enhanced force deletion
In case of a failure in communication between Nova and cinder, an instance can be deleted, but the attached volume is not properly marked as detached and cannot be deleted. This fix added a check to "force-delete" to check in nova or any existing attachments and if none exist, delete the volume.
Whiteboard
Cinder already has a force delete volume action, so how is that insufficient today? Does it still not force the volume delete if it shows as in-use? Note that this might have been a side effect of some old bugs in nova, which should be resolved now, see https:/
The problem still exists in current Cinder branch:https:/
Gerrit topic: https:/
Addressed by: https:/
Force delete invalid attached volume
Gerrit topic: https:/
Addressed by: https:/
Enhanced force deletion
We can delete attachments at first, and then delete volumes. So set it invalid.