Frequent failures due to networkPlugin cni failed to set up pod

Saswata Chakravarty 1 Reputation point
2021-05-07T10:36:45.847+00:00

Error details -

Failed to create pod sandbox: rpc error: code = Unknown desc = failed to set up sandbox container "b32cd7329efd38b09d99fb93319159de1e7aec634b7e8b007b0c65a82fc47031" network for pod "ws-saswata.chakravarty": networkPlugin cni failed to set up pod "ws-saswata.chakravarty_ws-nc-internal" network: stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/

kubernetes version 1.18.14

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,447 questions
{count} votes

1 answer

Sort by: Most helpful
  1. prmanhas-MSFT 17,946 Reputation points Microsoft Employee Moderator
    2021-05-10T13:08:52.613+00:00

    @Saswata Chakravarty Apologies for the delay in response and all the inconvenience caused because of the issue.

    Can you please check below threads with similar issue and let me know if any of them helped:

    https://github.com/k0sproject/k0s/issues/539

    https://github.com/projectcalico/calico/issues/1795

    https://github.com/projectcalico/calico/issues/2418

    https://github.com/projectcalico/calico/issues/2597

    Hope it helps!!!

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.