Bug 2109235

Summary: openshift-apiserver pods never going NotReady
Product: OpenShift Container Platform Reporter: Luis Sanchez <sanchezl>
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, gscheffe, mfojtik, rgangwar, sanchezl
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2066886 Environment:
Last Closed: 2022-08-01 11:36:21 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: 2066886    
Bug Blocks: 2109399    

Comment 2 Rahul Gangwar 2022-07-25 16:04:17 UTC
oc get clusterversion                                                          
NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.nightly-2022-07-25-110002   True        False         44m     Cluster version is 4.10.0-0.nightly-2022-07-25-110002

Termination grace period is 90s as in PR.
oc get -n openshift-apiserver pods -ojson|grep -i terminationGracePeriodSeconds
                "terminationGracePeriodSeconds": 90,
                "terminationGracePeriodSeconds": 90,
                "terminationGracePeriodSeconds": 90,

After deletion and restart, container status readiness: true

"status": {
        "conditions": [
            {   
                "lastProbeTime": null,
                "lastTransitionTime": "2022-07-25T15:00:14Z",
                "status": "True",
                "type": "Initialized"
            },
            {   
                "lastProbeTime": null,
                "lastTransitionTime": "2022-07-25T15:00:22Z",
                "status": "True",
                "type": "Ready"
            },
            {   
                "lastProbeTime": null,
                "lastTransitionTime": "2022-07-25T15:00:22Z",
                "status": "True",
                "type": "ContainersReady"
            },
            {   
                "lastProbeTime": null,
                "lastTransitionTime": "2022-07-25T15:00:12Z",
                "status": "True",
                "type": "PodScheduled"
            }

"containerStatuses": [
            {   
                "containerID": "cri-o://1f8d24d98846605a4d4fe9faec5868bcfd3860d79ed36ec5fd4b47f42e869849",
                "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:04b10a7a8623e5d95d3192632347ce7c67f6c9bba7ff569ced5d63f09ea5f1b4",
                "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:04b10a7a8623e5d95d3192632347ce7c67f6c9bba7ff569ced5d63f09ea5f1b4",
                "lastState": {},
                "name": "openshift-apiserver",
                "ready": true,
                "restartCount": 0,
                "started": true,
                "state": {
                    "running": {
                        "startedAt": "2022-07-25T15:00:15Z"
                    }
                }
            },
            {
                "containerID": "cri-o://0fe4ac6f98b751b542d8cd660beac5aeecbdbaa450db81c0068fc33d8b158c99",
                "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:8b96daa42f7f05bc8c915f15431829bd8185150ad9a2a686a55e3e9a508705e7",
                "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:8b96daa42f7f05bc8c915f15431829bd8185150ad9a2a686a55e3e9a508705e7",
                "lastState": {},
                "name": "openshift-apiserver-check-endpoints",
                "ready": true,
                "restartCount": 0,
                "started": true,
                "state": {
                    "running": {
                        "startedAt": "2022-07-25T15:00:15Z"
                    }
                }
            }
        ],
        "hostIP": "10.0.0.6",
        "initContainerStatuses": [
            {
                "containerID": "cri-o://5890a314f394c33a35ddd6e3e5db0e80e3e778610f0c42b5db0398c38c0540cf",
                "image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:04b10a7a8623e5d95d3192632347ce7c67f6c9bba7ff569ced5d63f09ea5f1b4",
                "imageID": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:04b10a7a8623e5d95d3192632347ce7c67f6c9bba7ff569ced5d63f09ea5f1b4",
                "lastState": {},
                "name": "fix-audit-permissions",
                "ready": true,
                "restartCount": 0,
                "state": {
                    "terminated": {
                        "containerID": "cri-o://5890a314f394c33a35ddd6e3e5db0e80e3e778610f0c42b5db0398c38c0540cf",
                        "exitCode": 0,
                        "finishedAt": "2022-07-25T15:00:14Z",
                        "reason": "Completed",
                        "startedAt": "2022-07-25T15:00:14Z"
                    }
                }
            }
        ],

Comment 5 errata-xmlrpc 2022-08-01 11:36:21 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 (Moderate: OpenShift Container Platform 4.10.25 bug fix and security 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/RHSA-2022:5730

Comment 6 Scott Dodson 2022-08-25 17:41:43 UTC
*** Bug 2100233 has been marked as a duplicate of this bug. ***