Hello there,
I am trying to mount an Azure fileshare onto AKS pod and seeing this error -
MountVolume.MountDevice failed for volume "somevol" : rpc error: code = Internal desc = volume(#secret#cloudfs#somevol-staging#somevol-staging) mount "//cloudfs.file.core.windows.net/cloudfs" on "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/somevol/globalmount" failed with mount failed: exit status 1 Mounting command: mount Mounting arguments: -t cifs -o dir_mode=0777,actimeo=30,mfsymlinks,file_mode=0777,<masked> //cloudfs.file.core.windows.net/cloudfs /var/lib/kubelet/plugins/kubernetes.io/csi/pv/somevol-staging/globalmount Output: mount error: could not resolve address for cloudfs.file.core.windows.net: Unknown error
I went through the diagnostics procedure @ https://github.com/Azure-Samples/azure-files-samples/tree/master/AzFileDiagnostics/Linux and tried to manually run the mount command on the node (Linux)
mount -t cifs //cloudfs.file.core.windows.net/cloudfs /testmnt -o vers=3.0,username=storageaccountname,password='password',dir_mode=0777,file_mode=0777,sec=ntlmssp
and I get the following error.
Unable to apply new capability set.
Any idea what could be the problem?
Thank you in advance for any help.
Best regards,
Kailash