Bug 2109399 - openshift-apiserver pods never going NotReady
Summary: openshift-apiserver pods never going NotReady
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: openshift-apiserver
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.z
Assignee: Luis Sanchez
QA Contact: Rahul Gangwar
URL:
Whiteboard:
Depends On: 2109235
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-21 07:07 UTC by OpenShift BugZilla Robot
Modified: 2022-08-17 09:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-17 09:31:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-openshift-apiserver-operator pull 502 0 None open [release-4.9] [release 4.10] Bug 2109399: openshift-apiserver pods never going NotReady 2022-07-26 18:37:35 UTC
Red Hat Product Errata RHBA-2022:6033 0 None None None 2022-08-17 09:31:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.