New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release-4.6] Bug 1932967: Allow baremetal-runtimecfg to function when the node isn't attached to the VIP network #123
Conversation
There is no good reason for failing to get the NonVirtualIP when the node can't have the VIP. This prevents from deploying additional MachineSets to separate subnets. This commit changes the getInterfaceAndNonVIPAddr() function to accept cases where the node isn't attached to a subnet that includes the VIP. In this case it simply returns the interface and IP address for the default route.
Previously, node-ip would fail when passing it VIPs and the node was not on a subnet containing any of the VIPs. This prevents deploying additional machine sets on separate subnets. Now node-ip is a little bit smarter and uses the IP address associated with the default route in case it cannot find the one for VIP subnet.
@openshift-cherrypick-robot: Bugzilla bug 1894539 has been cloned as Bugzilla bug 1932967. Retitling PR to link against new bug. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@openshift-cherrypick-robot: This pull request references Bugzilla bug 1932967, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 6 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cybertron, openshift-cherrypick-robot The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
(Patch Manager) met criteria, approved. |
@openshift-cherrypick-robot: All pull requests linked via external trackers have merged: Bugzilla bug 1932967 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is an automated cherry-pick of #108
/assign sferich888