Remove Volume Manager Locks
There are currently several locks in the Cinder volume manager that could be removed:
delete_volume
delete_snapshot
detach_volume
attach_volume (lock around do_attach)
Instead of having locks for these methods, there could be checks in the Cinder API to prevent these actions from being called on volumes/snapshots that are already in a "...ING" state (creating, detaching, etc).
If an "...ING" state is detected an exception can be thrown back to the caller notifying them that the volume/snapshot action can not occur at this time because the volume/snapshot is busy.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Anthony Lee
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
-
Unknown
- Milestone target:
- None
- Started by
- Completed by
- Sean McGinnis
Related branches
Related bugs
Sprints
Whiteboard
(smcginnis): Marking obsolete as this has been sitting out there for a long time. If this is still needed, please submit a new bp.
Gerrit topic: https:/
Addressed by: https:/
Remove Volume Manager Locks
Addressed by: https:/
Removing local file locks from Volume Manager