Feature #23126
closedCeph is not allowing deletion of any snapshots where one of the snapshot of the same image has protection mode enabled.
0%
Description
Execution Steps:
------------------
1. Create an rbd image
2. Create multiple snapshots of the same image
3. Enable "protection" on one of the snapshot
4. Delete all snapshots of the image using snapshot purging
Observation:
-------------------
Ceph is not allowing deletion of any snapshots where one of the snapshot of the same image has protection mode enabled.
If an user is creating multiple snapshots of the same image at different time and protect some of them, after that the user can't delete all snapshots regarding the same image using purge CLI but User cab to do it manually by deleting unprotected snapshot. Which is not feasible.
Purge command should delete all unprotected snapshots and giving error for only protected one
Enhancement:
------------
There should be an enhancement in CLI, that can delete all snapshots in a single go, except the protected one.
Files
Updated by wb song about 6 years ago
Updated by Kefu Chai about 6 years ago
- Status changed from New to Fix Under Review
Updated by Jason Dillaman almost 6 years ago
- Status changed from Fix Under Review to Resolved