helm icon indicating copy to clipboard operation
helm copied to clipboard

nutanix-csi MountVolume.SetUp failed for volume

Open allibutldevnet opened this issue 8 months ago • 5 comments

I've got nutanix-csi installed on a Rancher cluster following the instructions on the readme with file storage enabled. I'm able to successfully provision PVs, but when a pod tries to attach to them I get the following error:

Warning  FailedMount  4s (x5 over 12s)  kubelet            MountVolume.SetUp failed for volume "pvc-1377ed49-83cd-4dbe-a9c5-60b0c02086fb" : rpc error: code = Internal desc = rpc error: code = Internal desc = mount failed: exit status 32
Mounting command: mount
Mounting arguments: -t nfs <fqdn>://<share name>/pvc-1377ed49-83cd-4dbe-a9c5-60b0c02086fb /var/lib/kubelet/pods/eca51624-621e-44e2-b2c0-462299657f92/volumes/kubernetes.io~csi/pvc-1377ed49-83cd-4dbe-a9c5-60b0c02086fb/mount
Output: mount.nfs: access denied by server while mounting <fqdn>://<share name>/pvc-1377ed49-83cd-4dbe-a9c5-60b0c02086fb

For some reason there's an extra / in front of the share name, when I try the mount command without the extra / it mounts without issues. Am I missing a config somewhere?

Thanks in advance.

allibutldevnet avatar Jun 21 '24 17:06 allibutldevnet