kube-apiserver operator degraded with error 'InstallerPodContainerWaiting_ContainerCreating::InstallerPodNetworking_FailedCreatePodSandBox'
Environment
- Red Hat OpenShift Container Platform
- 4.5
Issue
kube-apiserveroperatordegradedwith below error,
message: 'InstallerPodContainerWaitingDegraded: Pod "installer-24-ocpprod-master-1"
on node "ocpprod-master-1" container "installer" is waiting for 1h41m49.591401106s
because ""
InstallerPodNetworkingDegraded: Pod "installer-24-ocpprod-master-1" on
node "ocpprod-master-1" observed degraded networking: (combined from similar
events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed
to create pod network sandbox k8s_installer-24-ocpprod-master-1_openshift-kube-apiserver_e1c07d07-9e32-45de-a927- dc9798d7d004_0(c12141ecf7a3d46df3ebb9a45b9aa747feaf8912896ae562871f700c3ad4595e):
Multus: [openshift-kube-apiserver/installer-24-ocpprod-master-1]: error
adding container to network "openshift-sdn": delegateAdd: error invoking confAdd
- "openshift-sdn": error in getting result from AddNetwork: CNI request failed
with status 400: ''an error on the server ("") has prevented the request from
succeeding (get pods installer-24-ocpprod-master-1)
InstallerPodNetworkingDegraded: '''
reason: InstallerPodContainerWaiting_ContainerCreating::InstallerPodNetworking_FailedCreatePodSandBox
Resolution
-
This issue is being tracked under
Bugzilla ID1905494 -
As a workaround to this issue,
restartthesdn-podon the affectednode. The affectednodename can be seen within the error.
Diagnostic Steps
- Check kube-apiserver operator details.
$ oc get co kube-apiserver -o yaml
OR
$ oc describe co kube-apiserver
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments