Now we tried to mount the PVC into a POD and we got following error:
Error: failed to create containerd task: failed to create shim task: failed to eval symlinks for mount source "\\\\10.0.3.27\\trident_qtree_pool_trident_LUHYWDEPZB\\trident_pvc_85b4a4af_2080_483b_8768_6f356e4b4fc4": Access is denied.: unknown
It looks like that it try to mount the Share via a Symlink (DFS), but the command "New-SmbGlobalMapping" doesn't support it:
https://serverfault.com/questions/1114471/why-cannot-i-map-an-dsf-smb-share-using-new-smbglobalmapping
Environment
Provide accurate information about the environment to help us reproduce the issue.
Trident version: 23.04
Trident installation flags used: deployed with the Helm Chart
Container runtime: containerd
Kubernetes version: v1.25.8+37a9a08
Kubernetes orchestrator: Openshift 4.12
Kubernetes enabled feature gates: -
OS: RHEL 8, Windows Server 2022
NetApp backend types: ONTAP-NAS-ECONOMY
Other:
To Reproduce
See Bug description
Expected behavior
That a Symlink won't be used and it is possible to mount the Share.
Maybe there is a setting in Trident / NetApp that the full Path will be mounted, at the moment I cannot find
Additional context
With storagedriver ONTAP-NAS everything works fine.
Describe the bug Hello, we've created a Trident SMB Backend with storageDriverName "ontap-nas-economy".
After that we've created a StorageClass with this Backend:
From the StorageClass we created a PVC without any problem:
Now we tried to mount the PVC into a POD and we got following error:
Error: failed to create containerd task: failed to create shim task: failed to eval symlinks for mount source "\\\\10.0.3.27\\trident_qtree_pool_trident_LUHYWDEPZB\\trident_pvc_85b4a4af_2080_483b_8768_6f356e4b4fc4": Access is denied.: unknown
It looks like that it try to mount the Share via a Symlink (DFS), but the command "New-SmbGlobalMapping" doesn't support it: https://serverfault.com/questions/1114471/why-cannot-i-map-an-dsf-smb-share-using-new-smbglobalmappingEnvironment Provide accurate information about the environment to help us reproduce the issue.
To Reproduce See Bug description
Expected behavior That a Symlink won't be used and it is possible to mount the Share. Maybe there is a setting in Trident / NetApp that the full Path will be mounted, at the moment I cannot find
Additional context With storagedriver ONTAP-NAS everything works fine.