Remove Volume Manager Locks

Registered by Anthony Lee

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
Completed by
Sean McGinnis

Related branches

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://review.openstack.org/#q,topic:bp/remove-volume-manager-locks,n,z

Addressed by: https://review.openstack.org/149894
    Remove Volume Manager Locks

Addressed by: https://review.openstack.org/153748
    Removing local file locks from Volume Manager

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.