You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and it wouldn't remove the csi plugin socket file, which deployed on /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock, and it mounted as /csi inside container, rather than /registration.
We may need to confirm this issue. BTW, while I deleted the csi node, I could see the error logs below:
I0928 18:02:13.538955 1848 handlers.go:62] Exec lifecycle hook ([/bin/sh -c rm -rf /registration/com.tencent.cloud.csi.cbs /registration/com.tencent.cloud.csi.cbs-reg.sock]) for Container "node-driver-registrar" in Pod "csi-tencentcloud-ht5td_kube-system(459b3f7b-a51d-42fc-b21f-e854ad278e13)" failed - error: command '/bin/sh -c rm -rf /registration/com.tencent.cloud.csi.cbs /registration/com.tencent.cloud.csi.cbs-reg.sock' exited with 126: , message: "OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused \"exec: \\\"/bin/sh\\\": stat /bin/sh: no such file or directory\": unknown\r\n"
W0928 20:25:03.036341 9114 clientconn.go:1251] grpc: addrConn.createTransport failed to connect to {/var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock: connect: no such file or directory". Reconnecting...
W0928 20:25:03.036491 9114 clientconn.go:1251] grpc: addrConn.createTransport failed to connect to {/var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock: connect: no such file or directory". Reconnecting...
W0928 20:25:03.036526 9114 asm_amd64.s:1337] Failed to dial /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock: context canceled; please retry.
E0928 18:34:35.285880 9361 goroutinemap.go:150] Operation for "/var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock" failed. No retries permitted until 2020-09-28 18:36:37.285855605 +0800 CST m=+10675.294610487 (durationBeforeRetry 2m2s). Error: "RegisterPlugin error -- dial failed at socket /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock, err: failed to dial socket /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock, err: context deadline exceeded"
PTAL, thanks!
The text was updated successfully, but these errors were encountered:
After applied the csi-node.yaml, We've been setup the kubelet csi plugin under this path: /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock.
But I found if I typed
kubectl delete -f csi-node.yaml
, it wouldn't delete this socket file. We did have a pre-stop hook:and it wouldn't remove the csi plugin socket file, which deployed on /var/lib/kubelet/plugins/com.tencent.cloud.csi.cbs/csi.sock, and it mounted as /csi inside container, rather than /registration.
We may need to confirm this issue. BTW, while I deleted the csi node, I could see the error logs below:
PTAL, thanks!
The text was updated successfully, but these errors were encountered: