Bug 1897743
Summary: | Default route is always selected for Node InternalIP | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Robert Bost <rbost> |
Component: | Networking | Assignee: | Yossi Boaron <yboaron> |
Networking sub component: | runtime-cfg | QA Contact: | Victor Voronkov <vvoronko> |
Status: | CLOSED DUPLICATE | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | aos-bugs, bbennett, bnemec, dcbw |
Version: | 4.6 | Keywords: | Triaged |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-11 15:41:59 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: |
Description
Robert Bost
2020-11-13 23:30:38 UTC
Interface listing in 'ip addr' depends on kernel device enumeration order which is not stable and can change. Kubelet (or a cloud provider) is responsible detecting the node's IP address and posting to the apiserver. If you need a specific interface listed as the node's InternalIP then you need to pass specific options to kubelet to tell it which interface to use. See https://bugzilla.redhat.com/show_bug.cgi?id=1872632 for a variation of this problem (on bare-metal installs). > If you need a specific interface listed as the node's InternalIP then you need to pass specific options to kubelet to tell it which interface to use.
Yeah, the main concern is that in OCP 4.5 and earlier, looks like the kubelet picked up the InternalIP automatically. But, in 4.6 and later, the runtime-cfg sets its via a kubelet arg. Runtime-cfg picks the IP based on default route (different behavior than before).
*** This bug has been marked as a duplicate of bug 1949827 *** |