Bug 1797655
Summary: | In IPv6 bare metal deployment kubelet binds on a VIP instead of the local address | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Marius Cornea <mcornea> |
Component: | Machine Config Operator | Assignee: | Antoni Segura Puimedon <asegurap> |
Status: | CLOSED ERRATA | QA Contact: | Marius Cornea <mcornea> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.z | CC: | achernet, amurdaca, aos-bugs, asegurap, augol, bschmaus, danw, dwalsh, jokerman, nagrawal, rbryant, schoudha |
Target Milestone: | --- | Keywords: | TestBlocker |
Target Release: | 4.3.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-10 23:53:17 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: | 1798788 | ||
Bug Blocks: | 1771572 |
Description
Marius Cornea
2020-02-03 15:05:00 UTC
kubelet is behaving as requested here (selecting the first IPv6 address). There was some discussion of this on Slack the other day. I'm not sure if the decision was made to change the kubelet config or to tweak whatever is adding the addresses to keep them in the right order. (The other possibility is to make kubelet recognize that the addresses with the "deprecated" flag are secondary and shouldn't be chosen, but that requires information that isn't available in the golang net API and so would require rewriting the k8s utilnet code to use netlink directly.) asegurap is looking at resolving this by specifying the right IP directly to kubelet with a change in MCO It turns out this bug shows two separate issues. kubelet binding to a VIP is one problem and we almost have a fix for that. You can see that looking at `oc get nodes -o wide` or `oc get nodes -o yaml`. When you see VIPs in `oc get endpoints`, that's actually kube-apiserver using the wrong IP. We have to fix that separately. 4.3.0-0.nightly-2020-02-06-120247-ipv6.6 should have fixes for both kubelet and kube-apiserver 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:0676 |