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.
Please specify the severity of this bug. Severity is defined here: https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.
Upstream patch: https://github.com/ceph/ceph/pull/41696
*** This bug has been marked as a duplicate of bug 2008587 ***