Skip to content

nutanix-csi MountVolume.SetUp failed for volume #147

Description

@allibutldevnet

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions