Skip to content

[BUG] MountVolume.MountDevice failed for volume #1475

@Awadabang

Description

@Awadabang

What happened:

pod启动报错:Warning FailedMount 4m43s (x41 over 85m) kubelet MountVolume.MountDevice failed for volume "pvc-6aaff28b-43e5-431a-b5aa-1a79c7846fa2" : rpc error: code = Unavailable desc = connection error: desc = "error reading server preface: read unix @->/csi/csi.sock: use of closed network connection"

What you expected to happen:

正常启动pod

How to reproduce it (as minimally and precisely as possible):

就这个节点会这样,而且很多僵尸进程,都是jfs-mount相关的

Anything else we need to know?
kubelet日志:

Dec 29 10:55:03 yai-prod-k8s-gpu-node-05 kubelet[4417]: W1229 10:55:03.683705    4417 logging.go:59] [core] [Channel #16784629 SubChannel #16784630] grpc: addrConn.createTransport failed to connect to {Addr: "/var/lib/kubelet/csi-plugins/csi.juicefs.com/csi.sock", ServerName: "localhost", }. Err: connection error: desc = "error reading server preface: read unix @->/csi/csi.sock: use of closed network connection"
Dec 29 10:55:03 yai-prod-k8s-gpu-node-05 kubelet[4417]: I1229 10:55:03.683861    4417 trace.go:236] Trace[524000438]: "Calculate volume metrics of vol-workspace-d20ti12011bs73d318o0 for pod prod-yai/env-d20ti12011bs73d318ng" (29-Dec-2025 10:54:43.682) (total time: 20000ms):
Dec 29 10:55:03 yai-prod-k8s-gpu-node-05 kubelet[4417]: Trace[524000438]: [20.000915724s] [20.000915724s] END
Dec 29 10:55:05 yai-prod-k8s-gpu-node-05 kubelet[4417]: W1229 10:55:05.944208    4417 logging.go:59] [core] [Channel #16784632 SubChannel #16784633] grpc: addrConn.createTransport failed to connect to {Addr: "/var/lib/kubelet/csi-plugins/csi.juicefs.com/csi.sock", ServerName: "localhost", }. Err: connection error: desc = "error reading server preface: read unix @->/csi/csi.sock: use of closed network connection"
Dec 29 10:55:05 yai-prod-k8s-gpu-node-05 kubelet[4417]: I1229 10:55:05.944384    4417 trace.go:236] Trace[829666322]: "Calculate volume metrics of vol-workspace-d2s287a011bs73dqugi0 for pod prod-yai/env-d2s287a011bs73dqughg" (29-Dec-2025 10:54:45.943) (total time: 20001ms):
Dec 29 10:55:05 yai-prod-k8s-gpu-node-05 kubelet[4417]: Trace[829666322]: [20.001080238s] [20.001080238s] END
Dec 29 10:55:09 yai-prod-k8s-gpu-node-05 kubelet[4417]: W1229 10:55:09.926584    4417 logging.go:59] [core] [Channel #16784635 SubChannel #16784636] grpc: addrConn.createTransport failed to connect to {Addr: "/var/lib/kubelet/csi-plugins/csi.juicefs.com/csi.sock", ServerName: "localhost", }. Err: connection error: desc = "error reading server preface: read unix @->/csi/csi.sock: use of closed network connection"
Dec 29 10:55:09 yai-prod-k8s-gpu-node-05 kubelet[4417]: I1229 10:55:09.926724    4417 trace.go:236] Trace[1662259402]: "Calculate volume metrics of dataset for pod prod-yai/env-d4ska2q011bs73brhu10" (29-Dec-2025 10:54:49.926) (total time: 20000ms):
Dec 29 10:55:09 yai-prod-k8s-gpu-node-05 kubelet[4417]: Trace[1662259402]: [20.000514548s] [20.000514548s] END

Environment:

  • JuiceFS CSI Driver version (which image tag did your CSI Driver use): v0.25.0
  • Kubernetes version (e.g. kubectl version): v1.30
  • Object storage (cloud provider and region): minio
  • Metadata engine info (version, cloud provider managed or self maintained): tikv
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions