Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-25881

[UI] in Openshift-storage-client namespace, 'RWX' access mode RBD PVC with Volume mode 'Filesystem' is not blocked, it attempt to create and stuck in pending state

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • 4.16.0
    • 4.14, 4.15, 4.16
    • Console Storage Plugin
    • None
    • Important
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Copying BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2250911 on OCP side (as fix is needed on console).
      
      [UI] In Openshift-storage-client namespace, 'RWX' access  mode RBD PVC with volumemode'Filesystem' can be created from Client. However, this is an invalid combination for RBD PVC creation From ODF Operator UI of other Platforms. Volume mode is not available when Cepfrbd storageclass and RWX access mode selected on other platform. This is visible in client operator view.  This attempt to create PVc and stuck in pending state 

      Version-Release number of selected component (if applicable):

          

      How reproducible:

       

      Steps to Reproduce:

      1. Deploy Provider Client setup.
      2. From UI Create PVC, select storage class : ceph-rbd, RWX access mode, check filemode : in case of this bug 'Filesystem' and 'block' volume mode is visible on UI, select volumemode: Filesystem and create the PVC.     

      Actual results:

      PVC Created and stuck in pending status. 
      PVC event shows error like:
       Generated from openshift-storage-client.rbd.csi.ceph.com_csi-rbdplugin-provisioner-6d9dcb9fc7-vjj22_2bd4ede5-9418-4c8e-80ae-169b5cb4fa8012 times in the last 13 minutes
      failed to provision volume with StorageClass "ocs-storagecluster-ceph-rbd": rpc error: code = InvalidArgument desc = multi node access modes are only supported on rbd `block` type volumes

      Expected results:

      Volumemode should not be visible on page when PVC with RWX access mode and RBD storage class is selected.

      Additional info:

      Screenshots are attached to the BZ: https://bugzilla.redhat.com/show_bug.cgi?id=2250911
      
      https://bugzilla.redhat.com/show_bug.cgi?id=2250911#c3

            skatiyar@redhat.com Sanjal Katiyar
            skatiyar@redhat.com Sanjal Katiyar
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: