Bug 2109399

Summary: openshift-apiserver pods never going NotReady
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: openshift-apiserverAssignee: Luis Sanchez <sanchezl>
Status: CLOSED ERRATA QA Contact: Rahul Gangwar <rgangwar>
Severity: high Docs Contact:
Priority: high    
Version: 4.11CC: akashem, dgoodwin, mfojtik, rgangwar, sanchezl
Target Milestone: ---   
Target Release: 4.9.z   
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: 2022-08-17 09:31:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2109235    
Bug Blocks:    

Comment 3 Rahul Gangwar 2022-08-10 14:22:19 UTC
oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2022-08-10-015440   True        False         116m    Cluster version is 4.9.0-0.nightly-2022-08-10-015440
rahulgangwar@rgangwar-mac openshift-tests-private % oc get pods -n openshift-apiserver
NAME                        READY   STATUS    RESTARTS   AGE
apiserver-ccd48d86d-4dcrv   2/2     Running   0          125m
apiserver-ccd48d86d-kmzf4   2/2     Running   0          123m
apiserver-ccd48d86d-qkr4p   2/2     Running   0          122m
rahulgangwar@rgangwar-mac openshift-tests-private % oc delete pod/apiserver-ccd48d86d-4dcrv  -n openshift-apiserver 

Termination grace period is 90s as in PR.

 "preemptionPolicy": "PreemptLowerPriority",
        "priority": 2000001000,
        "priorityClassName": "system-node-critical",
        "restartPolicy": "Always",
        "schedulerName": "default-scheduler",
        "securityContext": {},
        "serviceAccount": "openshift-apiserver-sa",
        "serviceAccountName": "openshift-apiserver-sa",
        "terminationGracePeriodSeconds": 90,


After deletion and restart, container status readiness: true


"status": {
        "conditions": [
            {
                "lastProbeTime": null,
                "lastTransitionTime": "2022-08-10T14:15:22Z",
                "status": "True",
                "type": "Initialized"
            },
            {
                "lastProbeTime": null,
                "lastTransitionTime": "2022-08-10T14:15:29Z",
                "status": "True",
                "type": "Ready"
            },
            {
                "lastProbeTime": null,
                "lastTransitionTime": "2022-08-10T14:15:29Z",
                "status": "True",
                "type": "ContainersReady"
            },
            {
                "lastProbeTime": null,
                "lastTransitionTime": "2022-08-10T14:15:19Z",
                "status": "True",
                "type": "PodScheduled"
            }
        ],
        "containerStatuses": [
            {
                "containerID": "cri-o://fdee1ef4eeacd8c07a50eb71118a6692827a19dd1b436b3ea00f6628809a5054",
                "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f0edb533c84925fa3f2b16000a697cc6653b1dc579f88abf1924d3693cca0025",
                "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f0edb533c84925fa3f2b16000a697cc6653b1dc579f88abf1924d3693cca0025",
                "lastState": {},
                "name": "openshift-apiserver",
                "ready": true,
                "restartCount": 0,
                "started": true,
                "state": {
                    "running": {
                        "startedAt": "2022-08-10T14:15:23Z"
                    }
                }
            },
            {
                "containerID": "cri-o://0fb1e1c7ba62abbba409298fda2c4a28842d7cd55eb15cb0729165cab69c29cf",
                "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:19c7d952ce522a5bf5d6d6db667c5b348051db2cc392c3c9c4d150bc8377b297",
                "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:19c7d952ce522a5bf5d6d6db667c5b348051db2cc392c3c9c4d150bc8377b297",
                "lastState": {},
                "name": "openshift-apiserver-check-endpoints",
                "ready": true,
                "restartCount": 0,
                "started": true,
                "state": {
                    "running": {
                        "startedAt": "2022-08-10T14:15:23Z"
                    }
                }
            }
        ],
        "hostIP": "10.0.0.4",
        "initContainerStatuses": [
            {
                "containerID": "cri-o://688d7746db1b519eee07628aa42acecb6db2028201c1768e0ad8322b3e4d4e9f",
                "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f0edb533c84925fa3f2b16000a697cc6653b1dc579f88abf1924d3693cca0025",
                "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:f0edb533c84925fa3f2b16000a697cc6653b1dc579f88abf1924d3693cca0025",
                "lastState": {},
                "name": "fix-audit-permissions",
                "ready": true,
                "restartCount": 0,
                "state": {
                    "terminated": {
                        "containerID": "cri-o://688d7746db1b519eee07628aa42acecb6db2028201c1768e0ad8322b3e4d4e9f",
                        "exitCode": 0,
                        "finishedAt": "2022-08-10T14:15:22Z",
                        "reason": "Completed",
                        "startedAt": "2022-08-10T14:15:22Z"
                    }
                }
            }
        ],
        "phase": "Running",
        "podIP": "10.129.0.37",
        "podIPs": [
            {
                "ip": "10.129.0.37"
            }
        ],

Comment 5 errata-xmlrpc 2022-08-17 09:31:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.9.46 update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:6033