Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1905494

Summary: kubeapi-server operator degraded with error 'InstallerPodContainerWaiting_ContainerCreating::InstallerPodNetworking_FailedCreatePodSandBox'
Product: OpenShift Container Platform Reporter: Yogiraj Karajagi <ykarajag>
Component: NetworkingAssignee: Aniket Bhat <anbhat>
Networking sub component: openshift-sdn QA Contact: zhaozhanqi <zzhao>
Status: CLOSED NEXTRELEASE Docs Contact:
Severity: medium    
Priority: medium CC: aconstan, anbhat, aos-bugs, braander, cdc, gscheffe, jkaur, mfojtik, mrobson, skanakal, wking, xxia
Version: 4.5Flags: cdc: needinfo-
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-27 14:03:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yogiraj Karajagi 2020-12-08 13:48:13 UTC
Description of problem:

kubeapi-server operator degraded with error 'InstallerPodContainerWaiting_ContainerCreating::InstallerPodNetworking_FailedCreatePodSandBox'

Operator showing below error: 
~~~
    message: 'InstallerPodContainerWaitingDegraded: Pod "installer-24-ocpprod-pr8m4-master-1"
      on node "ocpprod-pr8m4-master-1" container "installer" is waiting for 1h41m49.591401106s
      because ""

      InstallerPodNetworkingDegraded: Pod "installer-24-ocpprod-pr8m4-master-1" on
      node "ocpprod-pr8m4-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-pr8m4-master-1_openshift-kube-apiserver_e1c07d07-9e32-45de-a927-dc9798d7d004_0(c12141ecf7a3d46df3ebb9a45b9aa747feaf8912896ae562871f700c3ad4595e):
      Multus: [openshift-kube-apiserver/installer-24-ocpprod-pr8m4-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-pr8m4-master-1)

      InstallerPodNetworkingDegraded: '''
    reason: InstallerPodContainerWaiting_ContainerCreating::InstallerPodNetworking_FailedCreatePodSandBox
~~~

Version-Release number of selected component (if applicable):
4.5

How reproducible:
NA


Actual results:
kubeapi-server operator should be in available state. 

Expected results:
kubeapi-server operator degraded with error 'InstallerPodContainerWaiting_ContainerCreating::InstallerPodNetworking_FailedCreatePodSandBox'

Additional info:

~~~
$ omg get co 
NAME                                      VERSION  AVAILABLE  PROGRESSING  DEGRADED  SINCE
authentication                            4.5.15   True       False        False     13d
cloud-credential                          4.5.15   True       False        False     10d
cluster-autoscaler                        4.5.15   True       False        False     10d
config-operator                           4.5.15   True       False        False     1d
console                                   4.5.15   True       False        False     13d
csi-snapshot-controller                   4.5.15   True       False        False     8d
dns                                       4.5.15   True       False        False     4d
etcd                                      4.5.15   True       False        False     13d
image-registry                            4.5.15   True       False        False     1d
ingress                                   4.5.15   True       False        False     10d
insights                                  4.5.15   True       False        False     1d
kube-apiserver                            4.5.15   True       True         True      1h34m
kube-controller-manager                   4.5.15   True       False        False     13d
kube-scheduler                            4.5.15   True       False        False     13d
kube-storage-version-migrator             4.5.15   True       False        False     11h
machine-api                               4.5.15   True       False        False     10d
machine-approver                          4.5.15   True       False        False     1d
machine-config                            4.5.15   True       False        False     13d
marketplace                               4.5.15   True       False        False     13d
monitoring                                4.5.15   True       False        False     13d
network                                   4.5.15   True       False        False     1d
node-tuning                               4.5.15   True       False        False     9d
openshift-apiserver                       4.5.15   True       False        False     11h
openshift-controller-manager              4.5.15   True       False        False     11h
openshift-samples                         4.5.15   True       False        False     10d
operator-lifecycle-manager                4.5.15   True       False        False     9d
operator-lifecycle-manager-catalog        4.5.15   True       False        False     9d
operator-lifecycle-manager-packageserver  4.5.15   True       False        False     6d
service-ca                                4.5.15   True       False        False     13d
storage                                   4.5.15   True       False        False     3d


$ omg get po -A -o wide | grep -i pending 
openshift-controller-manager                      controller-manager-kpmv6                                 0/1    Pending    0         1h50m                 ocpprod-pr8m4-master-1
openshift-kube-apiserver                          installer-24-ocpprod-pr8m4-master-1                      0/1    Pending    0         1h45m                 ocpprod-pr8m4-master-1

~~~