Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1448084 - [rbd-mirror] : manually removing a replicated image might result in an empty image
[rbd-mirror] : manually removing a replicated image might result in an empty ...
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RBD (Show other bugs)
2.3
Unspecified Unspecified
low Severity unspecified
: z1
: 2.5
Assigned To: Jason Dillaman
Tejas
Aron Gunn
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-04 09:43 EDT by Jason Dillaman
Modified: 2018-07-26 14:07 EDT (History)
5 users (show)

See Also:
Fixed In Version: ceph-10.2.10.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-07-26 14:06:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Ceph Project Bug Tracker 19811 None None None 2017-05-04 09:43 EDT
Red Hat Product Errata RHSA-2018:2261 None None None 2018-07-26 14:07 EDT

  None (edit)
Description Jason Dillaman 2017-05-04 09:43:42 EDT
Description of problem:
After a forced-failover event from site A to site B, if you delete the image on site A (while it's still primary) via "rbd rm <image-spec>", rbd-mirror will correctly detect that it should replicate the image from site B back to site A. Unfortunately, it skips the actual image sync step and just creates an empty image.

Restarting the rbd-mirror daemon on site A or requesting a manual resync will correct the issue.

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

How reproducible:
100%

Steps to Reproduce:
1. rbd --cluster siteB mirror image promote --force <image-spec>
2. rbd --cluster siteA rm <image-spec>

Actual results:
A blank (zeroed) image will be re-created on siteA

Expected results:
A properly synchronized image will be re-created on siteA
Comment 2 Jason Dillaman 2017-05-04 09:44:56 EDT
Associated master branch PR: https://github.com/ceph/ceph/pull/14945
Comment 3 Jason Dillaman 2018-06-08 16:37:06 EDT
Fix was included under rebase to 10.2.10
Comment 8 errata-xmlrpc 2018-07-26 14:06:41 EDT
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/RHSA-2018:2261

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