Bug 1810712
| Summary: | kube-apiserver creates two connections to etcd on localhost | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luis Sanchez <sanchezl> | |
| Component: | kube-apiserver | Assignee: | Luis Sanchez <sanchezl> | |
| Status: | CLOSED ERRATA | QA Contact: | Ke Wang <kewang> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.4 | CC: | aos-bugs, mfojtik, xxia | |
| Target Milestone: | --- | |||
| Target Release: | 4.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | No Doc Update | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1812210 (view as bug list) | Environment: | ||
| Last Closed: | 2020-07-13 17:18:35 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: | 1812210 | |||
|
Description
Luis Sanchez
2020-03-05 18:58:13 UTC
Verified with OCP 4.5.0-0.nightly-2020-03-10-234440,
kubeapiserver_pod=$(oc get pod -n openshift-kube-apiserver | grep kube-apiserver | head -1 | awk '{print $1}')
oc rsh -n openshift-kube-apiserver $kubeapiserver_pod
in pod,
cat /etc/kubernetes/static-pod-resources/configmaps/config/config.yaml | python -m json.tool
Checking
"storageConfig": {
"ca": "/etc/kubernetes/static-pod-resources/configmaps/etcd-serving-ca/ca-bundle.crt",
"certFile": "/etc/kubernetes/static-pod-resources/secrets/etcd-client/tls.crt",
"keyFile": "/etc/kubernetes/static-pod-resources/secrets/etcd-client/tls.key",
"urls": [
"https://...133.130:2379",
"https://...0.159.59:2379",
"https://...0.161.145:2379",
"https://localhost:2379"
]
},
There should not has the ipv6 endpoint "https://[::1]:2379".
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, 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-2020:2409 |