kubernetes-csi / csi-driver-smb

This driver allows Kubernetes to access SMB Server on both Linux and Windows nodes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error response from daemon: error while creating mount source path ... mount: file exists

mrnim94 opened this issue · comments

I encounter issues when using samba-4.18.3-r0 on alpine:3.18.2

This is an alert of the pod that wants to mount to the Samba server.

RunContainerError (failed to start container "8a55774469f52c8e0cf033dd332d425a54527d85c275ba068b449afd40a6ce66": Error response from daemon: error while creating mount source path '/var/lib/kubelet/pods/65ebdd67-8d12-490c-9348-0fa5ca339b51/volumes/kubernetes.io~csi/pvc-5e7e2dc6-b9d9-4173-b6c5-49c17ad1357a/mount': mkdir /var/lib/kubelet/pods/65ebdd67-8d12-490c-9348-0fa5ca339b51/volumes/kubernetes.io~csi/pvc-5e7e2dc6-b9d9-4173-b6c5-49c17ad1357a/mount: file exists) | Last state: Terminated with 128: ContainerCannotRun (error while creating mount source path '/var/lib/kubelet/pods/65ebdd67-8d12-490c-9348-0fa5ca339b51/volumes/kubernetes.io~csi/pvc-5e7e2dc6-b9d9-4173-b6c5-49c17ad1357a/mount': mkdir /var/lib/kubelet/pods/65ebdd67-8d12-490c-9348-0fa5ca339b51/volumes/kubernetes.io~csi/pvc-5e7e2dc6-b9d9-4173-b6c5-49c17ad1357a/mount: file exists), started: Tue, Jun 27 2023 12:18:41 am, finished: Tue, Jun 27 2023 12:18:41 am

I don't encounter these issues on samba-4.16.10-r0 on alpine:3.17