Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-483

[2275977] Pods created with nfs pvcs which are created with nfs restricted storageclasses are stuck at 'Container Creating'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • odf-4.18
    • odf-4.16
    • csi-driver
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • If docs needed, set a value
    • Ceph-CSI Team sprint 2024.5, Ceph-CSI Team sprint 2024.6, Ceph-CSI Team sprint 2024.7, Ceph-CSI Team sprint 2024.8, Ceph-CSI Team sprint 2024.9
    • Proposed
    • None

      Description of problem (please be detailed as possible and provide log
      snippests):
      Pods created with nfs pvcs which are created with nfs restricted storageclasses are stuck at 'Container Creating'
      The error message is,

      "Generated from kubelet on ip-10-0-85-151.us-east-2.compute.internal

      MountVolume.SetUp failed for volume "pvc-406b305d-3731-41e1-8603-e44b03d23130" : rpc error: code = Internal desc = nfs: failed to mount "ocs-storagecluster-cephnfs-service:/0001-0011-openshift-storage-0000000000000001-0b58eb88-db27-4f3d-b8dc-3e232864a06b" to "/var/lib/kubelet/pods/58785246-977c-4746-a800-92cd2a337c84/volumes/kubernetes.io~csi/pvc-406b305d-3731-41e1-8603-e44b03d23130/mount" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs ocs-storagecluster-cephnfs-service:/0001-0011-openshift-storage-0000000000000001-0b58eb88-db27-4f3d-b8dc-3e232864a06b /var/lib/kubelet/pods/58785246-977c-4746-a800-92cd2a337c84/volumes/kubernetes.io~csi/pvc-406b305d-3731-41e1-8603-e44b03d23130/mount Output: mount.nfs: mounting ocs-storagecluster-cephnfs-service:/0001-0011-openshift-storage-0000000000000001-0b58eb88-db27-4f3d-b8dc-3e232864a06b failed, reason given by server: No such file or directory stderr: ""

      nfs-ganesha log:

      18/04/2024 19:24:53 : epoch 66216cf8 : openshift-storage-ocs-storagecluster-cephnfs : nfs-ganesha-1[svc_95] nfs4_export_check_access :NFS4 :INFO :Access not allowed on Export_Id 1 /0001-0011-openshift-storage-0000000000000001-45e2a520-1af9-4684-90f7-21afbbb798a3 for client ::ffff:100.64.0.5

      Version of all relevant components (if applicable):
      OCP: 4.16.0-0.nightly-2024-04-15-184947
      ODF: 4.16.0-75.stable

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

      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)? 3

      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. Create odf cluster enable nfs feature
      2. Create a nfs restricted storage class with clients: <supported hosts>
      3. Create a pvc with the restricted nfs sc
      4. Create a pod with the nfs pvc

      Actual results:
      Pods created with nfs pvcs which are created with nfs restricted storageclasses are stuck at 'Container Creating'

      Expected results:
      Pods should be Running successfully.

      Additional info:

              rhn-support-ndevos Niels de Vos
              ammahapa@redhat.com Amrita Mahapatra
              Amrita Mahapatra
              Neha Berry Neha Berry
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: