-
Notifications
You must be signed in to change notification settings - Fork 225
Description
Is there an existing issue for this?
- I have searched the existing issues
Deploy type
Downstream version (eg. OpenShift AI 2.4
)
Version
Open Data Hub Operator 2.31.0 provided by ODH
Current Behavior
We have a CephFS storage class provided by Rook, which supports RWX. Openshift reports the provider as "rook-ceph.cephfs.csi.ceph.com".
When configuring this storage class, the dashboard grays out the option ReadWriteMany (RWX) and reports This access mode is not supported by the selected storage class.
Expected Behavior
Dashboard should offer the option ReadWriteMany (RWX) for CephFS storage classes provisioned by Rook.
Steps To Reproduce
- In OpenDataHub deployed by the Open Data Hub Operator 2.31.0 on Openshift 4.15, using Ceph provided by Rook 1.14 with a CephFS storage class
- When using Dashboard to edit the CephFS storage class
- The option ReadWriteMany (RWX) in Access mode enablement is grayed out
Workaround (if any)
No response
What browsers are you seeing the problem on?
Safari
Anything else
The provider is "rook-ceph.cephfs.csi.ceph.com" but the key in storageEnums.ts#25 is "cephfs.csi.ceph.com" and isStorageProvider() seems to check for an exact match of the provider name (rather than a suffix, which would work in this case).
I tried manually annotating the storage class with opendatahub.io/sc-config: { "accessModeSettings":{"ReadWriteMany":true} }
but Dashboard didn't change its behavior. I think this could be a valid mechanism to tell OpenDataHub about storage classes it doesn't recognize.