Intermittent "Delete snapshot failed, due to snapshot busy" on ceph in ceph gate

Bug #1484631 reported by John Griffith
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
New
Low
Unassigned
Changed in cinder:
assignee: nobody → jelly (coding1314)
Changed in cinder:
assignee: jelly (coding1314) → nobody
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

Yeah, I still see this a lot.

Changed in cinder:
importance: Undecided → Low
Revision history for this message
Brin Zhang (zhangbailin) wrote :

I think this is not a bug, Failed to delete the snapshot of the volume with rbd backend, because of the config of cinder-volume/cinder.conf there is a field "rbd_flatten_volume_from_snapshot".
The default value is False, when you create snapshots of a volume, will make a chain clone,cannot be deleted because you create a new volume or virtual machine with this snapshot.
On the other hand,if "rbd_flatten_volume_from_snapshot = True". When you create a volume of time will make a full copy,this is actually done with a flatten operation.So there is no dependency between this volume and the snapshot,and you can delete the snapshot.
If you want a deeper understanding of this operation, you can look at the create_volume_from_source interface until rbd driver.

I hope this helps you.

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.