Cleanup up dangling volume attachment
Registered by
Balazs Gibizer
It is easy to create dangling volume attachments where nova thinks a volume is attached to an instance while the volume is already deleted in cinder by first deleting the attachment in cinder then deleting the volume in cinder. [1] This makes the instance state inconsistent.
We could extend the nova-manage volume_attachment CLI to be able to
1) list dangling attachments in a deployment
2) clean up such attachments by deleting them from the nova database.
To be on the safe side such cleanup should only be executed if the VM is in shutoff or shelve offloaded state.
Blueprint information
- Status:
- Complete
- Approver:
- Balazs Gibizer
- Priority:
- Undefined
- Drafter:
- Amit Uniyal
- Direction:
- Approved
- Assignee:
- Amit Uniyal
- Definition:
- Approved
- Series goal:
- Accepted for bobcat
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Sylvain Bauza
- Completed by
- Sylvain Bauza
Related branches
Related bugs
Sprints
Whiteboard
[20230707 bauzas] Spec approved for Bobcat https:/
(?)