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

[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: Unresolved
    • Icon: Normal Normal
    • None
    • 4.14, 4.15, 4.16
    • Console Storage Plugin
    • None
    • Critical
    • No
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-28537. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-25881. The following is the description of the original issue:

      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
              openshift-crt-jira-prow OpenShift Prow Bot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: