Migrating from OpenshiftSDN to OVN-Kubernetes is stuck and cluster is completely degraded
Issue
- Migration from
OpenshiftSDNtoOVN-Kubernetesis completely stuck and some nodes are still onOpenshiftSDNnetwork, even though the migration was being done following the official documented procedure. - Cluster is degraded with nothing being rolled out and all nodes in
NotReadystate posting errors such:
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?
- Rebooting nodes doesn't change anything and machine config operator is not working, even if following the example from similar article.
- Unknown if
multus daemonsethas rolled out or not, becausepodsare not starting as they need cluster network. - All
ovnkube-nodepods are in error orCrashLoopBackOffstate.
Environment
Red Hat OpenShift Container Platform 4.14+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.