Project

General

Profile

Actions

Feature #23126

closed

Ceph is not allowing deletion of any snapshots where one of the snapshot of the same image has protection mode enabled.

Added by Debashis Mondal about 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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

Purge_snapshot.txt (2.63 KB) Purge_snapshot.txt Detail execution step Debashis Mondal, 02/26/2018 04:15 AM
Actions #1

Updated by Jason Dillaman about 6 years ago

  • Tracker changed from Bug to Feature
Actions #3

Updated by Kefu Chai about 6 years ago

  • Status changed from New to Fix Under Review
Actions #4

Updated by Jason Dillaman almost 6 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF