Bug 1382044

Summary: Cannot disable journaling or remove non-mirrored, "non-primary" image
Product: Red Hat Ceph Storage Reporter: Jason Dillaman <jdillama>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Rachana Patel <racpatel>
Severity: unspecified Docs Contact:
Priority: high    
Version: 2.1CC: ceph-eng-bugs, hnallurv, tserlin, uboppana
Target Milestone: rc   
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: RHEL: ceph-10.2.3-5.el7cp Ubuntu: ceph_10.2.3-6redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-22 19:32:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1365648    

Description Jason Dillaman 2016-10-05 15:02:24 UTC
Description of problem:
Use rbd-mirror to create a non-primary image. If the 'rbd_mirroring' object is removed, this image will now be treated as if mirroring is disabled. However, no actions can be taken because the journal flags it as a non-primary image. librbd needs to recover from this situation by also ensuring that mirroring is enabled against the image before determining that it is non-primary.

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

How reproducible:

Comment 1 Jason Dillaman 2016-10-05 15:02:51 UTC
Upstream, master branch PR: https://github.com/ceph/ceph/pull/10712

Comment 7 errata-xmlrpc 2016-11-22 19:32:04 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.