Andy Zhang
Andy Zhang
> > with PR #503 `"subDir":"subDirectory-${pvc.metadata.name}"` would be converted to `"subDir":"subDirectory-pvc-w7sbh"` > > ``` > > * `subDir` parameter supports following pv/pvc metadata transform > > ``` > > >...
are you using domain? what's the windows driver daemonset pod logs? get logs by: https://github.com/kubernetes-csi/csi-driver-smb/blob/master/docs/csi-debug.md#case2-volume-mountunmount-failed
try use following way on windows node to make manual mount work first: ``` $User = "AZURE\USERNAME" $PWord = ConvertTo-SecureString -String "PASSWORD" -AsPlainText -Force $Credential = New-Object –TypeName System.Management.Automation.PSCredential –ArgumentList...
Uninformative/misleading error message: "No such file of directory" when domain parameter is missing
`domain` parameter is not essential, some smb server requires that param, some not.
I think `os.Remove(mountPath)` returns success though that dir is not deleted. could you check why `/var/lib/kubelet/pods/97094c31-59ad-4690-9359-53d9dea547d4/volumes/kubernetes.io~csi/pvc-aa0842c8-daf2-4924-8fbd-d32f627ca554/mount` failed silently on that node?
the mount path `/var/lib/kubelet/pods/f3b83910-f1ed-48f7-8024-058be1efdea6/volumes/kubernetes.io~csi/pvc-91da69c7-a5e0-406e-93ed-1575abf5565f/mount` was mounted successfully in 6/17, why kubelet would try to mount that path again in 7/3?
@seif-raafat that means the smb connection is broken, new mount works?
the error shows `stale NFS file handle` while this is smb server
what about this solution: if password contains special char, then use `PASSWD` env var. Update: That requires change in upstream: https://github.com/kubernetes/mount-utils/blob/2afc4979631ce6c534b6be5e859f7bf492c4c503/mount_linux.go#L184-L185
the error log shows it has issue talking to kubelet, similar to issue: https://github.com/kubernetes-csi/csi-driver-smb/issues/335#issuecomment-896759440