Pods stuck in Pending state with event "failed to configure pod interface: timed out waiting for pod flows for pod"
Issue
- Pods are not getting IPs:
NAME READY STATUS RESTARTS AGE IP NODE
alertmanager-main-0 0/5 Pending 0 10m openshift-dev-hw62p-worker-xbrn9
- Multiple pods are in
pending
state with the below event:
Warning FailedCreatePodSandBox 4m28s (x2109 over 13h) kubelet (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create pod network sandbox k8s_alertmanager-main-1_openshift-monitoring_ab733b3e-c564-41ae-8f28-c18e70109ebe_0(6371be1f0859a2ab0896b30e82265c8122abc29079b737953fbef881a28e82bc): [openshift-monitoring/alertmanager-main-1:ovn-kubernetes]: error adding container to network "ovn-kubernetes": CNI request failed with status 400: '[openshift-monitoring/alertmanager-main-1] failed to configure pod interface: timed out waiting for pod flows for pod: alertmanager-main-1, error: timed out waiting for the condition
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.6
- 4.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.