Bug 2131357

Summary: storage-class namespace does not clean up after uninstalling ODF
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: mlammon
Component: odf-operatorAssignee: Nitin Goyal <nigoyal>
Status: CLOSED WONTFIX QA Contact: Martin Bukatovic <mbukatov>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.11CC: jrivera, muagarwa, ocs-bugs, odf-bz-bot
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-13 13:42:52 UTC 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:

Description mlammon 2022-09-30 18:31:57 UTC
Description:
storage-class namespace does not clean up after uninstalling ODF

Version of all relevant components (if applicable):
4.11.4


Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?
No

Is there any workaround available to the best of your knowledge?
Just manually delete namespace

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?
100%

Can this issue reproduce from the UI?
100% and reported about UI




Steps to Reproduce:
1. Install 3M, 3 W node cluster with several extra disks (50G) on worker nodes
2. Install ODF using web console ( this hit bug https://issues.redhat.com/browse/OCPBUGS-1840
3. Uninstall ODF 
4. Look Administration-Namespaces (Still present)

Delete either manually UI or CLI 

I was able to delete manually
[kni@provisionhost-0-0 ~]$ oc get ns openshift-storage
NAME                STATUS   AGE
openshift-storage   Active   16m
[kni@provisionhost-0-0 ~]$ oc delete ns openshift-storage
namespace "openshift-storage" deleted
[kni@provisionhost-0-0 ~]$ oc get ns openshift-storage
Error from server (NotFound): namespaces "openshift-storage" not found   

Actual results:
namespace did not delete when uninstalling ODF

Expected results:
Clean namespace

Additional info:
No additional information needed