Bug 1400884 - attempting to remove a protected snapshot from a clone will dissociate from parent
Summary: attempting to remove a protected snapshot from a clone will dissociate from p...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 1.3.3
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 1.3.4
Assignee: Jason Dillaman
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-02 08:51 UTC by Harald Klein
Modified: 2017-07-30 15:30 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-10 19:09:22 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 18117 0 None None None 2016-12-02 08:51:18 UTC
Red Hat Knowledge Base (Solution) 2790641 0 None None None 2016-12-02 08:53:38 UTC

Description Harald Klein 2016-12-02 08:51:18 UTC
Description of problem:

Given a clone with a single protected snapshot, flatten the parent to dissociate the HEAD revision from the parent image. If you attempt to remove the protected snapshot, the first step will dissociate the snapshot from the parent image but later the operation will fail due to the snapshot being protected. This leaves the snapshot no longer associated with the parent image and will permit the parent image's snapshot to be unprotected and deleted. 

Version-Release number of selected component (if applicable):

Ceph 1.3 (Hammer)

Expected results:

The protected status should be verified first before altering the image.

Comment 2 Jason Dillaman 2017-03-01 13:53:44 UTC
Note that this issue only affects RHCS <= 1.3.x and does not affect RHCS >= 2.0.

Comment 5 Jason Dillaman 2017-04-10 19:09:22 UTC
Issue does not exist in RHCS 2.0 and later releases.


Note You need to log in before you can comment on or make changes to this bug.