Bug 1926465
| Summary: | bootstrap kube-apiserver does not have --advertise-address set – was: [BM][IPI][DualStack] Installation fails cause Kubernetes service doesn't have IPv6 endpoints | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yurii Prokulevych <yprokule> |
| Component: | kube-apiserver | Assignee: | Stefan Schimanski <sttts> |
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.7 | CC: | achernet, aojeagar, aos-bugs, deads, kewang, mcornea, mfojtik, sttts, xxia |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:42:26 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1927644 | ||
|
Description
Yurii Prokulevych
2021-02-08 20:29:29 UTC
oc get po openshift-apiserver-operator-5fbd9ddd8d-2d2sd -n openshift-apiserver-operator -o jsonpath='{ .status.hostIP }'
fd2e:6f44:5dd8::117
I think that this is a configuration problem, the apiserver log in the bootstrap show > I0208 13:09:03.980230 1 flags.go:59] FLAG: --advertise-address="<nil>" then it defaults to the IPv4 address using in the interface with the default network > I0208 13:09:03.981891 1 server.go:697] external host was not specified, using 192.168.123.125 if we want to use the IPv6 address of the interface in the default network we need to pass "::" to the --advertise-address flag advertise-address is set by config observer owned by networking team. Moving component. Actually, it is not due to an observer, but the advertise address is the node IP, compare https://github.com/openshift/cluster-kube-apiserver-operator/blob/master/bindata/v4.1.0/kube-apiserver/pod.yaml#L57. 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 |