Bug 2032417

Summary: [4.9.z clone] [DR] After Failback and PVC deletion the rbd images are left in trash
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Mudit Agarwal <muagarwa>
Component: csi-driverAssignee: Madhu Rajanna <mrajanna>
Status: CLOSED WONTFIX QA Contact: Aviad Polak <apolak>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.9CC: ebenahar, jespy, kramdoss, madam, mrajanna, muagarwa, ocs-bugs, odf-bz-bot, rcyriac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: 2032412 Environment:
Last Closed: 2022-03-02 16:23:10 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: 2032412    
Bug Blocks:    

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