juicedata / juicefs-csi-driver

JuiceFS CSI Driver
https://github.com/juicedata/juicefs
Apache License 2.0
220 stars 84 forks source link

driver name csi.juicefs.com not found in the list of registered CSI drivers #751

Open fi-ecavc opened 1 year ago

fi-ecavc commented 1 year ago

I have 3 cloud servers, built a 3-node k8s cluster with sealos, k8s:1.25.6 and I only changed the default value in csi-driver:

The kubelet working directory, can be set using --root-dir when starting kubelet

kubeletDir: /var/lib/kubelet

kubeletDir: /data/kubelet

JuiceFS mount directory

jfsMountDir: /var/lib/juicefs/volume

jfsMountDir: /data/juicefs/volume

JuiceFS config directory

jfsConfigDir: /var/lib/juicefs/config

jfsConfigDir: /data/juicefs/config, then the business application cannot be started, the driver does not exist, and it is normal to restore to the default value.

the app yaml: apiVersion: v1 kind: Pod metadata: name: juicefs-app namespace: "kube-system" spec: nodeName: dev11 hostAliases:

node dev11 logs: Defaulted container "juicefs-plugin" out of: juicefs-plugin, node-driver-registrar, liveness-probe I0915 06:54:07.877400 7 main.go:94] Run CSI node I0915 06:54:08.939210 7 node.go:168] Pod Reconciler Started I0915 06:54:08.939235 7 driver.go:48] Driver: csi.juicefs.com version v0.22.0 commit f32024bb43e77cb834d5df26bf5b515f08debd67 date 2023-09-08T08:26:10Z I0915 06:54:08.955132 7 driver.go:113] Listening for connection on address: &net.UnixAddr{Name:"/csi/csi.sock", Net:"unix"}

zwwhdls commented 1 year ago

@fi-ecavc , Please provide the result of the following cmd:

kubectl -n kube-system get po -owide | grep juicefs
kubectl -n kube-system logs juicefs-csi-node-xxxxx -c node-driver-registrar
jeremyj commented 9 months ago

Hello, I'm facing this issue in AWS EKS. I get this same error on a volume that exists and is used by other pods. But everything seems to be working. What info can I provide to help you troubleshoot the problem?