Skip to content

socket connection failed on windows node #491

Closed as not planned
Closed as not planned
@himanshuz2

Description

@himanshuz2

What happened:
Smb driver keeps crashing and restarting on windows node.
E0602 15:05:03.340095 6944 connection.go:132] Lost connection to unix://C:\csi\csi.sock.

kubectl logs csi-smb-node-win-6npfj node-driver-registrar -n kube-system
I0602 15:01:56.103598 6944 main.go:166] Version: v2.5.0
I0602 15:01:56.477717 6944 main.go:167] Running node-driver-registrar in mode=registration
I0602 15:01:56.478467 6944 main.go:191] Attempting to open a gRPC connection with: "unix://C:\\csi\\csi.sock"
I0602 15:02:03.853302 6944 main.go:198] Calling CSI driver to discover driver name
I0602 15:02:03.864755 6944 main.go:208] CSI driver name: "smb.csi.k8s.io"
I0602 15:02:03.865660 6944 node_register.go:53] Starting Registration Server at: /registration/smb.csi.k8s.io-reg.sock
I0602 15:02:03.865988 6944 node_register.go:62] Registration Server started at: /registration/smb.csi.k8s.io-reg.sock
I0602 15:02:03.868307 6944 node_register.go:92] Skipping HTTP server because endpoint is set to: ""
I0602 15:02:04.049487 6944 main.go:102] Received GetInfo call: &InfoRequest{}
I0602 15:02:04.050576 6944 main.go:109] "Kubelet registration probe created" path="C:\var\lib\kubelet\plugins\smb.csi.k8s.io\registration"
I0602 15:02:04.070355 6944 main.go:120] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:true,Error:,}
E0602 15:05:03.340095 6944 connection.go:132] Lost connection to unix://C:\csi\csi.sock.

What you expected to happen:
Smb driver on windows node should run without restarts.

How to reproduce it:
Create a workload cluster using capz with a windows nodepool in it such that windows node is ready
Install CSI Proxy and CSI Driver SMB including installing on windows node
check the logs for the csi-smb-node-win-xxxxx node-driver-registrar

Anything else we need to know?:

Environment:

  • CSI Driver version: master

  • Kubernetes version (use kubectl version): 1.23.6

  • OS (e.g. from /etc/os-release): Jammy Jellyfish

  • Kernel (e.g. uname -a):Linux CAPZ-Management 5.15.0-27-generic fix: Add release-tools subtree #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

  • Install tools: capz kubectl helm

  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions