Closed burkhat closed 2 weeks ago
I've found a solution, it is necessary to create a "smbcreds" secret and use it in the StorageClass.
This is only documented in the manual for "Azure NetApp Files"
Could this be added to ONTAP NAS drivers, too?
Are you running csi-proxy.exe on the node as well?
@wjeremynetapp Yes I'm running csi-proxy on the node
hi @burkhat Please let us know if this issue still exists with the newer versions of Trident. If not, please close the issue.
Closing. Please re-open if you notice this issue with newer versions of Trident.
Describe the bug Hello, we've updated our Trident to 23.04 and enabled Windows Support. Because of Windows doesn't support NFS we have created a new backend with SMB and a StorageClass which is using the new backend. Creating a new share works without any problem, but if we want to mount the share within Windows Container, we got following error message:
MountVolume.MountDevice failed for volume "pvc-5832aba1-54ff-4040-9ec0-bbed6a2b4056" : rpc error: code = Internal desc = error mounting SMB volume \\10.0.3.203\trident_pvc_5832aba1_54ff_4040_9ec0_bbed6a2b4056 on mountpoint \var\lib\kubelet\plugins\kubernetes.io\csi\csi.trident.netapp.io\96bbcc284bda9f6bbfd0a627557179d7c1558a7b6b4abcbf735f4e7a7634b291\globalmount: empty username or password is not allowed
Environment Provide accurate information about the environment to help us reproduce the issue.
To Reproduce Steps to reproduce the behavior:
Expected behavior The PVC gets mounted succesfully.
Additional context Trident Container Log:
time="2023-05-30T12:37:27+02:00" level=error msg="GRPC error: rpc error: code = Internal desc = error mounting SMB volume \\\\10.0.3.203\\trident_pvc_5832aba1_54ff_4040_9ec0_bbed6a2b4056 on mountpoint \\var\\lib\\kubelet\\plugins\\kubernetes.io\\csi\\csi.trident.netapp.io\\96bbcc284bda9f6bbfd0a627557179d7c1558a7b6b4abcbf735f4e7a7634b291\\globalmount: empty username or password is not allowed" logLayer=csi_frontend requestID=994d2803-d9da-4e85-b700-0853fcdbbc58 requestSource=CSI