Bug 1972768 - kube-apiserver setup fail while installing SNO due to port being used
Summary: kube-apiserver setup fail while installing SNO due to port being used
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.8
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ---
: 4.8.0
Assignee: Ryan Phillips
QA Contact: Sunil Choudhary
URL:
Whiteboard:
Depends On: 1956081
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-16 15:12 UTC by OpenShift BugZilla Robot
Modified: 2021-07-27 23:13 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:13:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-kube-apiserver-operator pull 1154 0 None open [release-4.8] Bug 1972768: add sigterm handler to insecurereadyz 2021-06-19 14:52:14 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:13:28 UTC

Comment 2 Sunil Choudhary 2021-06-24 10:39:13 UTC
Checked on 4.8.0-0.nightly-2021-06-23-232238

# oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.8.0-0.nightly-2021-06-23-232238   True        False         8m35s   Cluster version is 4.8.0-0.nightly-2021-06-23-232238

# oc get nodes -o wide
NAME      STATUS   ROLES           AGE   VERSION                INTERNAL-IP       EXTERNAL-IP   OS-IMAGE                                                       KERNEL-VERSION                CONTAINER-RUNTIME
sno-0-0   Ready    master,worker   28m   v1.21.0-rc.0+766a5fe   192.168.123.116   <none>        Red Hat Enterprise Linux CoreOS 48.84.202106231817-0 (Ootpa)   4.18.0-305.3.1.el8_4.x86_64   cri-o://1.21.1-10.rhaos4.8.gitd3e59a4.el8

#  oc get pods -n openshift-kube-apiserver
NAME                        READY   STATUS      RESTARTS   AGE
installer-2-sno-0-0         0/1     Completed   0          123m
installer-3-sno-0-0         0/1     Completed   0          119m
installer-4-sno-0-0         0/1     Completed   0          115m
kube-apiserver-sno-0-0      5/5     Running     0          113m
revision-pruner-2-sno-0-0   0/1     Completed   0          120m
revision-pruner-3-sno-0-0   0/1     Completed   0          116m
revision-pruner-4-sno-0-0   0/1     Completed   0          111m

# oc debug node/sno-0-0
Starting pod/sno-0-0-debug ...
...

sh-4.4# crictl ps -a | grep kube-apiserver
cd1655ffbc9af       c6778ce5dc9ae2bb52dc3448b3a264af59c8069c9ec8a728b2c6aef60c004d4a                                                             2 hours ago         Running             kube-apiserver-check-endpoints                0                   8738091bdd44e
64374827fc3d4       c6778ce5dc9ae2bb52dc3448b3a264af59c8069c9ec8a728b2c6aef60c004d4a                                                             2 hours ago         Running             kube-apiserver-insecure-readyz                0                   8738091bdd44e
5e458fd701328       c6778ce5dc9ae2bb52dc3448b3a264af59c8069c9ec8a728b2c6aef60c004d4a                                                             2 hours ago         Running             kube-apiserver-operator                       3                   e50c6856374c8
39e07c72d4a6b       c6778ce5dc9ae2bb52dc3448b3a264af59c8069c9ec8a728b2c6aef60c004d4a                                                             2 hours ago         Running             kube-apiserver-cert-regeneration-controller   0                   8738091bdd44e
96f86355cd9fb       c6778ce5dc9ae2bb52dc3448b3a264af59c8069c9ec8a728b2c6aef60c004d4a                                                             2 hours ago         Running             kube-apiserver-cert-syncer                    0                   8738091bdd44e
926f1c8e90e1c       7a9d4445afa17384c93539105d0a46257e99446e745a9472232d040a2f7373f3                                                             2 hours ago         Running             kube-apiserver                                0                   8738091bdd44e
2d3ff73240e5c       c6778ce5dc9ae2bb52dc3448b3a264af59c8069c9ec8a728b2c6aef60c004d4a                                                             2 hours ago         Exited              kube-apiserver-operator                       2                   e50c6856374c8

sh-4.4#  netstat -ntlp | egrep "6443|6080" 
tcp6       0      0 :::6443                 :::*                    LISTEN      100047/kube-apiserv 
tcp6       0      0 :::6080                 :::*                    LISTEN      100623/cluster-kube

Comment 5 errata-xmlrpc 2021-07-27 23:13:09 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.8.2 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-2021:2438


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