[release-4.13] OCPBUGS-15496: Fix default GW IPs retrieval#1738
Conversation
…ual-stack cluster Previously it was allowed to have the IPv6 default GW without having the IPv4 one, we should allow the same in the oposite scenario. Signed-off-by: Patryk Diak <pdiak@redhat.com> (cherry picked from commit 1fbcc39)
Only add the gw IP if it is not empty, the previous approach resulted in adding a `<nil>` IP when there was no default GW: next-hops":["<nil>","fe80::5054:ff:fedf:631e"] Signed-off-by: Patryk Diak <pdiak@redhat.com> (cherry picked from commit e70b35b)
…tewayInterfaceDetails This commit additionally refactors getDefaultGatewayInterfaceDetails to make it independent of the global config. Signed-off-by: Patryk Diak <pdiak@redhat.com> (cherry picked from commit 03ea2c4)
|
@kyrtapz: This pull request references Jira Issue OCPBUGS-15496, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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. |
|
/jira refresh |
|
@kyrtapz: This pull request references Jira Issue OCPBUGS-15496, which is invalid:
Comment DetailsIn 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. |
|
/jira refresh |
|
@kyrtapz: This pull request references Jira Issue OCPBUGS-15496, which is invalid:
Comment DetailsIn 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. |
|
@kyrtapz: This pull request references Jira Issue OCPBUGS-15496, which is invalid:
Comment DetailsIn 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. |
|
@kyrtapz: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcaamano, kyrtapz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/label cherry-pick-approved |
|
/retest-required |
|
/jira refresh |
|
@rbbratta: This pull request references Jira Issue OCPBUGS-15496, which is valid. 6 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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. |
|
@kyrtapz: Jira Issue OCPBUGS-15496: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-15496 has been moved to the MODIFIED state. DetailsIn 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. |
|
Fix included in accepted release 4.13.0-0.nightly-2023-08-03-045759 |
Backport of ovn-kubernetes/ovn-kubernetes#3570
There were conflicts in
go-controller/pkg/node/helper_linux.go