Skip to content

[Bug]: Storage class provisioner "rook-ceph.cephfs.csi.ceph.com" not recognized, so RWX not available #4639

@davidjsherman

Description

@davidjsherman

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

  1. 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
  2. When using Dashboard to edit the CephFS storage class
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't workingpriority/normalAn issue with the product; fix when possibleuntriagedIndicates the newly create issue has not been triaged yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions