Open YaAYadeer opened 9 hours ago
There exists the same issue https://github.com/juicedata/juicefs-csi-driver/issues/751,which is also in unclosed state
@zwwhdls
kubectl -n kube-system get pods -l app.kubernetes.io/name=juicefs-csi-driver
NAME READY STATUS RESTARTS AGE
juicefs-csi-controller-0 3/3 Running 0 84m
juicefs-csi-controller-1 3/3 Running 0 83m
juicefs-csi-dashboard-686b87466f-vkh4m 1/1 Running 0 84m
juicefs-csi-node-8t5df 3/3 Running 0 84m
juicefs-csi-node-lkgl2 3/3 Running 0 84m
juicefs-csi-node-lsd4p 3/3 Running 0 84m
juicefs-csi-node-slrlb 3/3 Running 0 84m
juicefs-csi-node-sw8xn 3/3 Running 0 84m
juicefs-csi-node-t85hs 3/3 Running 0 84m
juicefs-csi-node-txdqp 3/3 Running 0 84m
juicefs-csi-node-vcvnx 3/3 Running 0 84m
juicefs-csi-node-slrlb is deployed on the machine where the pod is scheduled
Here are some details:
1.The version of juicefs-csi-driver is 0.25.2
2.kubectl logs -n kube-system juicefs-csi-node-slrlb juicefs-plugin --tail 100
I1122 08:05:28.125702 7 main.go:127] "main: Run CSI node"
I1122 08:05:28.138855 7 grace.go:56] "grace: Serve gracefully shutdown is listening" addr="/tmp/juicefs-csi-shutdown.sock"
I1122 08:05:28.167414 7 node.go:207] "main: Pod Reconciler Started"
I1122 08:05:28.167459 7 driver.go:53] "driver: get version info" driver="csi.juicefs.com" verison="v0.25.2-dirty" commit="95f5b7ca4e2554b05c54604126d27471e539beb5" date="2024-11-04T07:56:36Z"
I1122 08:05:28.188651 7 driver.go:118] "driver: Listening for connection on address" address="/csi/csi.sock"
3.kubectl logs -n kube-system juicefs-csi-node-slrlb node-driver-registrar --tail 50
I1122 09:33:46.326013 1 connection.go:243] GRPC request: {}
I1122 09:33:46.326180 1 main.go:90] Received GetInfo call: &InfoRequest{}
I1122 09:33:46.326313 1 connection.go:249] GRPC response: {"endpoint":"/var/lib/kubelet/csi-plugins/csi.juicefs.com/csi.sock","name":"csi.juicefs.com","supported_versions":["1.0.0"],"type":"CSIPlugin"}
I1122 09:33:46.326328 1 connection.go:250] GRPC error:
What happened: I deployed CSI successfully and created PV and PVC. However, I encountered an error while creating a pod: kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name csi.juicefs.com not found in the list of registered CSI drivers. But I use the command "kubectl get csidrivers.storage.k8s.io". I find csi.juicefs.com is in the list. Besides,I use
kubectl logs -n kube-system juicefs-csi-node-xxx juicefs-plugin --tail 100
kubectl logs -n kube-system juicefs-csi-node-xxx juicefs-plugin --tail 100
to checked the logs,but find nothing wrong.What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?
Environment:
kubectl version
):