Skip to content

🐛 transport: Error while dialing dial unix /var/lib/kubelet/pod-resources/kubelet.sock: connect: connection refused" #715

@kingeasternsun

Description

@kingeasternsun

What happened?

When we install katalyst with https://gokatalyst.io/docs/user-guide/resource-overcommitment/static-overcommitment/, katalyst-agent has this error log

W1106 10:58:02.492231       1 logging.go:59] [core] [Channel #4 SubChannel #5] grpc: addrConn.createTransport failed to connect to {
  "Addr": "/var/lib/kubelet/pod-resources/kubelet.sock",
  "ServerName": "/var/lib/kubelet/pod-resources/kubelet.sock",
  "Attributes": null,
  "BalancerAttributes": null,
  "Type": 0,
  "Metadata": null
}. Err: connection error: desc = "transport: Error while dialing dial unix /var/lib/kubelet/pod-resources/kubelet.sock: connect: connection refused"
E1106 10:58:07.524136       1 provisioner.go:65] failed to update stats/summary from kubelet: "failed to get kubelet config for summary api, error: the server has asked for the client to provide credentials"
E1106 10:58:07.528399       1 pod.go:281] sync kubelet pod failed: failed to get kubelet config, error: the server has asked for the client to provide credentials

企业微信截图_b1a31932-fa7d-48c0-afa1-6e5cf590f996

the full log is here
agent8.log

What did you expect to happen?

should connect success

How can we reproduce it (as minimally and precisely as possible)?

When we install katalyst with https://gokatalyst.io/docs/user-guide/resource-overcommitment/static-overcommitment/,

Software version

v0.5.0

$ <software> version
# paste output here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions