Bug 1412343

Summary: [RFE] RBD-MIRROR: support cloning an image from a non-primary snapshot
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Sean Cohen <scohen>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Madhavi Kasturi <mkasturi>
Severity: low Docs Contact: Bara Ancincova <bancinco>
Priority: medium    
Version: 2.1CC: anharris, ceph-eng-bugs, edonnell, jdillama, mhackett, royoung, scohen, tchandra, tserlin
Target Milestone: rcKeywords: FutureFeature
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-14.2.0 Doc Type: Enhancement
Doc Text:
.Cloned images can be created from non-primary images Creating cloned child RBD images from mirrored non-primary parent image is now supported. Previously, cloning of mirrored images was only supported for primary images. When cloning golden images for virtual machines, this restriction prevented the creation of new cloned images from the golden non-primary image. This update removes this restriction, and cloned images can be created from non-primary mirrored images.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 12:44:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1412350, 1730176    

Description Sean Cohen 2017-01-11 20:01:38 UTC
In the case of OpenStack Glance, this capability would allow the creation of volumes from a DRed non-primary copy of an image. Proper support would most likely require implementing a deletion "recycling bin" to fix the corner cases with parent/child links and propagating of deletions (i.e. the clone of the non-primary parent image might not be mirrored and the primary parent image would not know about the child on the non-primary side. the primary image could be deleted but that deletion would not properly propagate since the non-primary image would have a child).

Comment 2 Drew Harris 2017-07-11 14:56:40 UTC
Required for OSP 13?

Comment 8 Giridhar Ramaraju 2019-08-05 13:09:56 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 9 Giridhar Ramaraju 2019-08-05 13:11:06 UTC
Updating the QA Contact to a Hemant. Hemant will be rerouting them to the appropriate QE Associate. 

Regards,
Giri

Comment 18 errata-xmlrpc 2020-01-31 12:44:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0312