Bug 2213183

Summary: [Stretch cluster] Add capacity should not show "thin-csi" storage class in storageClass dropdown for LSO stretch cluster
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Joy John Pinto <jopinto>
Component: management-consoleAssignee: Bipul Adhikari <badhikar>
Status: ON_QA --- QA Contact: Joy John Pinto <jopinto>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.13CC: badhikar, dpandit, muagarwa, nthomas, odf-bz-bot, skatiyar
Target Milestone: ---   
Target Release: ODF 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.14.0-110 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 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:

Description Joy John Pinto 2023-06-07 10:43:37 UTC
Created attachment 1969504 [details]
Thin csi under storageClass dropdown

Description of problem (please be detailed as possible and provide log
snippests):
[Stretch cluster] Add capacity should not show "thin-csi" storage class in dropdown for LSO stretch cluster

Version of all relevant components (if applicable):
OCP 4.13.0-0.nightly-2023-06-05-212836
ODF 4.13.0-207

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

Is there any workaround available to the best of your knowledge?
NA

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

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

Steps to Reproduce:
1. Install ocp cluster 
2. Add disk in vsphere and install local storage operator
3. Install ODf and Create storage system using local storage and stretch mode enabled
4. Through openshift UI try to Add capacity
5. In storageClass dropdown "thin-csi" storageClass is seen which should not be the case as it is LSO deployed stretch cluster

Actual results:
In storageClass dropdown "thin-csi" storageClass is seen 

Expected results:
During add capacity, In storageClass dropdown "thin-csi" storageClass should not be seen as it is LSO deployed stretch cluster 

Additional info:
This observation was noted while analyzing https://bugzilla.redhat.com/show_bug.cgi?id=2209012

Refer attachment thin_csi_add_capacity.png

Comment 2 Bipul Adhikari 2023-06-07 12:57:58 UTC
We need the queries metioned in https://bugzilla.redhat.com/show_bug.cgi?id=2209012#c27 replied before we can proceed with this.

Comment 3 Joy John Pinto 2023-06-16 07:30:48 UTC
The queries are answered in https://bugzilla.redhat.com/show_bug.cgi?id=2209012#c30, Similar behaviour is seen on non stretch LSO cluster upon trying to add capacity through thin-csi storage class.

Comment 4 Bipul Adhikari 2023-07-28 08:02:30 UTC
Based on email exchanges with the PM. We will block moving from no-prov storage class to a prov based storage class.