Multus network fails to initialize in OpenShift 4

Solution Unverified - Updated -

Issue

  • How to resolve the following error in events?
LAST SEEN   TYPE      REASON                   OBJECT                                      MESSAGE
2m23s       Warning   FailedCreatePodSandBox   pod/pod1                    (combined from similar events): Failed create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_pod1-bhd8q_ns_27cb6033-1b4e-11ea-9a47-566fc9ee004c_0(8008560cf7ca25a5b12835a7118da01a4a96d65b2dd90985bb146366d0a32b2f): Multus: Err in loading K8s Delegates k8s args: Multus: Err in getting k8s network from pod: GetPodNetwork: failed getting the delegate: cniConfigFromNetworkResource: err in getCNIConfigFromFile: No networks found in /etc/cni/multus/net.d
  • Why does SDN pod shutdown automatically?
I0921 07:07:16.438034   12152 proxier.go:367] userspace proxy: processing 0 service events
I0921 07:07:16.438055   12152 proxier.go:346] userspace syncProxyRules took 59.113113ms
I0921 07:07:16.438066   12152 proxy.go:337] hybrid proxy: unidlingProxy.syncProxyRules complete
interrupt: Gracefully shutting down ...
  • Why is the liveness probe failing for SDN pod?
Sep 21 07:07:13 ip-10-0-152-60 hyperkube[1365]: I0921 07:07:13.494388    1365 prober.go:112] Liveness probe for "sdn-6qckt_openshift-sdn(8be9db67-dc35-11e9-a4c5-12d5b2c68656):sdn" failed (failure): Get http://10.0.152.60:10256/healthz: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Environment

  • Red Hat OpenShift Container Platform
    • 4.1
    • 4.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content