Bug 2032417 - [4.9.z clone] [DR] After Failback and PVC deletion the rbd images are left in trash
Summary: [4.9.z clone] [DR] After Failback and PVC deletion the rbd images are left in...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: csi-driver
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Madhu Rajanna
QA Contact: Aviad Polak
URL:
Whiteboard:
Depends On: 2032412
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-14 13:15 UTC by Mudit Agarwal
Modified: 2023-08-09 16:37 UTC (History)
9 users (show)

Fixed In Version: 4.9.1-252.ci
Doc Type: Bug Fix
Doc Text:
Cause: During failback operation, the rbd image will be demoted and if the image is in the split-brain state a resync will be issued to correct the split-brain state. Due to resync operation, the image will get recreated with a new image ID. During PVC create operation the image ID will be stored in the rados omap and the same image ID will be used for Delete operation. After the resync image ID is changed but not updated in rados OMAP this leads to moving the image to the trash and not deleting it from the trash. Fix: During resync operation, once the image is corrected the new Image ID will be updated in the rados omap and cephcsi will use this new image ID to remove the rbd image from the trash.
Clone Of: 2032412
Environment:
Last Closed: 2022-03-02 16:23:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-csi pull 2652 0 None Merged rbd: repair imageid after resync 2021-12-14 13:16:57 UTC
Github red-hat-storage ceph-csi pull 59 0 None open BUG 2032417: rbd: repair imageid after resync 2021-12-14 13:26:10 UTC

Comment 6 Mudit Agarwal 2021-12-15 10:12:46 UTC
Please fill the doc text

Comment 7 Mudit Agarwal 2022-01-04 05:53:21 UTC
DR BZs are moved to 4.9.2


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