Project

General

Profile

Feature #23126

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 over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
02/26/2018
Due date:
% 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.

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

History

#1 Updated by Jason Dillaman over 1 year ago

  • Tracker changed from Bug to Feature

#3 Updated by Kefu Chai over 1 year ago

  • Status changed from New to Need Review

#4 Updated by Jason Dillaman about 1 year ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF