multiple create from volume/snapshot are serialized

Bug #2060830 reported by Walt Boring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

Creating a volume from another volume (clone) or from snapshot, is serialized due to lock.

A user wants to create multiple volumes from the same volume/snapshot. Unfortunately this happens in serial because there is a lock in the volume manager to prevent the source volume/snapshot from being deleted, while the creating is ongoing. This prevents more than 1 create from happening at the same time.

 https://github.com/openstack/cinder/blob/master/cinder/volume/manager.py#L796-L822

I don't believe we should be using a shared lock between create and delete to prevent a delete taking place on the source.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.