nfs-ganesha-server-and-external-provisioner icon indicating copy to clipboard operation
nfs-ganesha-server-and-external-provisioner copied to clipboard

Issue 2 with using the server-provisioner on top of mayastor backed storage class

Open anmshkmr opened this issue 5 months ago • 0 comments

Pod using the pvc made available by the nfs-server-provisioner start going through nfs mounting problems randomly

  Warning  FailedMount  31s (x3 over 37s)  kubelet  MountVolume.SetUp failed for volume "pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3" : mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t nfs -o retrans=2,timeo=30,vers=3 10.43.107.108:/export/pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3 /var/lib/kubelet/pods/7e713802-ca23-486b-8355-005e2de07e0b/volumes/kubernetes.io~nfs/pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3
Output: mount.nfs: Operation not permitted for 10.43.107.108:/export/pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3 on /var/lib/kubelet/pods/7e713802-ca23-486b-8355-005e2de07e0b/volumes/kubernetes.io~nfs/pvc-4f19b0
  Warning  FailedMount  28s (x4 over 85s)  kubelet            MountVolume.SetUp failed for volume "pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3" : mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t nfs -o retrans=2,timeo=30,vers=3 10.43.107.108:/export/pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3 /var/lib/kubelet/pods/c5abaf05-a953-43b4-96d8-6a04f1089b12/volumes/kubernetes.io~nfs/pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3
Output: mount.nfs: an incorrect mount option was specified for /var/lib/kubelet/pods/c5abaf05-a953-43b4-96d8-6a04f1089b12/volumes/kubernetes.io~nfs/pvc-4f19b0cb-3a1a-4eb9-beb0-3eeeee8bc8d3

Restarting the nfs-server-provisioner pod fixes it.

anmshkmr avatar Aug 31 '24 20:08 anmshkmr