Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • No CNI configuration file in /etc/kubernetes/cni/net.d/. Has your network provider started?

    Posted on

    Hello Everyone

    I'm trying to install a Compact OpenShift Cluster :

    Bootstrap Node
    3 Master Nodes
    2 Worker Nodes

    Now on the Bastion Host when I'm trying to run the following command to get the ready nodes

    oc get nodes
    

    NAME STATUS ROLES AGE VERSION
    master01.ocp4.example.net NotReady control-plane,master 16h v1.27.6+b49f9d1
    master02.ocp4.example.net Ready control-plane,master 17h v1.27.6+b49f9d1
    master03.ocp4.example.net Ready control-plane,master 17h v1.27.6+b49f9d1

    Trying to troubleshoot master01 node

    [root@master01 ~]# journalctl -f _SYSTEMD_UNIT=kubelet.service 
    

    I get the following error

    Dec 26 13:55:09 master01.ocp4.example.net kubenswrapper[6041]: E1226 13:55:09.237534    6041 pod_workers.go:1300] "Error syncing pod, skipping" err="network is not ready: container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: No CNI configuration file in /etc/kubernetes/cni/net.d/. Has your network provider started?" pod="openshift-network-diagnostics/network-check-target-dfvs9" podUID=4cfd7421-4506-4b88-b199-efa7210eef95
    

    I tried to run the following command

    systemctl restart crio; systemctl restart kubelet; systemctl status crio
    

    But The Error still exists for more than 6 Hours

    Appreciate Your Help

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat