-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k8s node can't mount pvc until node restarted #782
Comments
CSI driver is not responsible for remount, you need to reschedule the pod to other node to make remount happen |
It's woked if i reboot the node... I did cronjob for this for reboot node, but it's very big problem for use this on production environment.. |
have you tried this? there is a reconnect mount option in CIFS mount options that you can use to remount the CIFS share when the server is unavailable and then recovers. Here's an example command to mount a CIFS share with the reconnect option:
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
How about adding the "hard" mount option on the PV ? That's what we do to survive NFS backend hiccups. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
2024-05-17T04:03:30.818498066Z stderr F E0517 04:03:30.818193 1 utils.go:81] GRPC error: rpc error: code = Internal desc = failed to stat file /var/lib/kubelet/pods/8dff9f0d-7f82-415c-9a5b-c32e81fb3ea4/volumes/kubernetes.io
csi/pvc-a06f67fa-953d-4136-bec3-363c4ea5f687/mount: lstat /var/lib/kubelet/pods/8dff9f0d-7f82-415c-9a5b-c32e81fb3ea4/volumes/kubernetes.iocsi/pvc-a06f67fa-953d-4136-bec3-363c4ea5f687/mount: host is downWhat happened:
In one day service said that we can get files from pvc.
after restart i see this into csi logs.
Only atfer that i restarted kubernetes nodes and all worked.
kubectl version
): 1.29.4uname -a
): 5.15.0-107-genericThe text was updated successfully, but these errors were encountered: