Bug 2215392

Summary: rbd-mirror daemon may skip deleting non-primary image when primary image is deleted
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ilya Dryomov <idryomov>
Component: RBD-MirrorAssignee: N Balachandran <nibalach>
Status: CLOSED ERRATA QA Contact: Manasa <mgowri>
Severity: urgent Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 6.1CC: akraj, amagrawa, bniver, ceph-eng-bugs, cephqe-warriors, ebenahar, idryomov, kramdoss, kseeger, mgowri, muagarwa, nibalach, sagrawal, sostapov, tserlin
Target Milestone: ---   
Target Release: 6.1z2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.6-105.el9cp Doc Type: Bug Fix
Doc Text:
.Non-primary images are now deleted when the primary image is deleted Previously, a race condition in the rbd-mirror daemon image replayer prevented a non-primary image from being deleted when the primary was deleted. Due to this, the non-primary image would not be deleted and the storage space was used. With this fix, the rbd-mirror image replayer is modified to eliminate the race condition. Non-primary images are now deleted when the primary image is deleted.
Story Points: ---
Clone Of: 2180329
: 2230056 (view as bug list) Environment:
Last Closed: 2023-10-12 16:34:29 UTC Type: ---
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: 2180329, 2235257    

Comment 2 Scott Ostapovicz 2023-07-17 14:49:48 UTC
Missed the window for 6.1 z1. Retargeting to 6.1 z2.

Comment 9 errata-xmlrpc 2023-10-12 16:34:29 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 (Moderate: Red Hat Ceph Storage 6.1 security, enhancement, and bug fix update), 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-2023:5693