Bug 2027337 - rbd-mirror: metadata of mirrored image are not properly cleaned up after image deletion
Summary: rbd-mirror: metadata of mirrored image are not properly cleaned up after imag...
Keywords:
Status: CLOSED DUPLICATE of bug 2008587
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.2
Assignee: Ilya Dryomov
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-29 12:46 UTC by Sunny Kumar
Modified: 2022-02-07 16:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-07 16:39:04 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2443 0 None None None 2021-11-29 12:48:11 UTC

Description Sunny Kumar 2021-11-29 12:46:52 UTC
Description of problem:

When rbd-mirror is enabled between cluster and image is removed from primary cluster, meta data of the deleted image not properly cleaned.

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


How reproducible:
1/1

Steps to Reproduce:
1. Enable rbd mirroring
2. Create a pool with mirroring enabled
3. Create a RBD image and enable mirroring with the journal/snapshot mode and confirm that the image is replicated
4. Delete image from the primary cluster
5. Confirm the image is removed on both primary and secondary cluster
6. Confirm that there is a unknown image checking the rbd-mirror log, the OMAP values.

Comment 1 RHEL Program Management 2021-11-29 12:46:59 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Sunny Kumar 2021-11-29 12:48:46 UTC
Upstream patch: https://github.com/ceph/ceph/pull/41696

Comment 4 Ilya Dryomov 2022-02-07 16:39:04 UTC

*** This bug has been marked as a duplicate of bug 2008587 ***


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