Bug 2316577

Summary: cluster-cleanup-job pod not cleaning /var/lib/rook
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Laberinto <rlaberin>
Component: rookAssignee: Santosh Pillai <sapillai>
Status: VERIFIED --- QA Contact: Amrita Mahapatra <ammahapa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.16CC: ammahapa, hnallurv, muagarwa, odf-bz-bot, sapillai, tnielsen
Target Milestone: ---Flags: sapillai: needinfo? (ammahapa)
Target Release: ODF 4.18.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.17.0-118 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2316908 (view as bug list) Environment:
Last Closed: Type: Bug
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: 2316908    

Description Laberinto 2024-10-04 23:26:58 UTC
Description of problem (please be detailed as possible and provide log
snippests):
When deleting the storagesystem in ODF, the cluster-cleanup-job is not cleaning the directory /var/lib/rook with the default annotation of delete.

uninstall.ocs.openshift.io/cleanup-policy: delete

Version of all relevant components (if applicable):
OCP 4.16.3
ODF 4.16.2

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
Minimal impact as the customer is forced to manually delete /var/lib/rook.

Is there any workaround available to the best of your knowledge?
Delete /var/lib/rook manually

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
Yes

Can this issue reproduce from the UI?
Yes, delete the storagesystem via the UI. 

If this is a regression, please provide more details to justify this:


Steps to Reproduce:
1.
2.
3.


Actual results: /var/lib/rook is still present


Expected results: The storagecluster cr with default annotation of delete should cleanup /var/lib/rook

Additional info:

Comment 5 Sunil Kumar Acharya 2024-10-07 13:00:38 UTC
Moving the non-blocker BZs out of ODF-4.17.0. If you believe this is a blocker issue, please feel free to propose it back to ODF-4.17.0 as blocker with justification note.

Comment 9 Sunil Kumar Acharya 2024-10-08 13:17:11 UTC
Please update the RDT flag/text appropriately.