Skip to content

OCPBUGS-33921: infraconfig: allow VIPs outside machine networks for ELB #2386

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mkowalski
Copy link
Contributor

With this PR we are allowing VIPs to exist outside of defined machine networks if External Load Balancer is used.

Forcing this validation was an oversight as we already allow VIPs to be equal (API and Ingress using the same IP) for the ELB setups. As in principle it would be desired for people to feed Machine Networks with all subnets that are used (so they just append the VIP subnet if they use ELB), it makes some sense to soften the validation.

Fixes: OCPBUGS-33921

With this PR we are allowing VIPs to exist outside of defined machine
networks if External Load Balancer is used.

Forcing this validation was an oversight as we already allow VIPs to be
equal (API and Ingress using the same IP) for the ELB setups. As in
principle it would be desired for people to feed Machine Networks with
all subnets that are used (so they just append the VIP subnet if they
use ELB), it makes some sense to soften the validation.

Fixes: OCPBUGS-33921
@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels May 27, 2024
@openshift-ci-robot
Copy link
Contributor

@mkowalski: This pull request references Jira Issue OCPBUGS-33921, which is invalid:

  • expected the bug to be open, but it isn't
  • expected the bug to target the "4.17.0" version, but no target version was set
  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is Closed (Won't Do) instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

With this PR we are allowing VIPs to exist outside of defined machine networks if External Load Balancer is used.

Forcing this validation was an oversight as we already allow VIPs to be equal (API and Ingress using the same IP) for the ELB setups. As in principle it would be desired for people to feed Machine Networks with all subnets that are used (so they just append the VIP subnet if they use ELB), it makes some sense to soften the validation.

Fixes: OCPBUGS-33921

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from creydr and dougsland May 27, 2024 08:50
@mkowalski
Copy link
Contributor Author

/jira refresh
/cherry-pick release-4.16

@openshift-cherrypick-robot

@mkowalski: once the present PR merges, I will cherry-pick it on top of release-4.16 in a new PR and assign it to you.

In response to this:

/jira refresh
/cherry-pick release-4.16

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-sigs/prow repository.

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels May 27, 2024
@openshift-ci-robot
Copy link
Contributor

@mkowalski: This pull request references Jira Issue OCPBUGS-33921, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.17.0) matches configured target version for branch (4.17.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhaozhanqi

In response to this:

/jira refresh
/cherry-pick release-4.16

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested a review from zhaozhanqi May 27, 2024 11:01
@mkowalski
Copy link
Contributor Author

Interesting, the code path with Error on validating API VIPs and Machine Networks should not be triggered if you have Status.PlatformStatus.BareMetal.LoadBalancer.Type == configv1.LoadBalancerTypeUserManaged so I will need to dig deeper into your run.

As I am intermittently off, could you please save must-gather from your test run aside for me so that it's not lost?

@zhaozhanqi
Copy link

Interesting, the code path with Error on validating API VIPs and Machine Networks should not be triggered if you have Status.PlatformStatus.BareMetal.LoadBalancer.Type == configv1.LoadBalancerTypeUserManaged so I will need to dig deeper into your run.

As I am intermittently off, could you please save must-gather from your test run aside for me so that it's not lost?

must-gather should be here

@zhaozhanqi
Copy link

Retest this PR, looks good.
/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved Signifies that QE has signed off on this PR label Jun 20, 2024
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. and removed jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. labels Jun 20, 2024
@openshift-ci-robot
Copy link
Contributor

@mkowalski: This pull request references Jira Issue OCPBUGS-33921, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.17.0) matches configured target version for branch (4.17.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @zhaozhanqi

In response to this:

With this PR we are allowing VIPs to exist outside of defined machine networks if External Load Balancer is used.

Forcing this validation was an oversight as we already allow VIPs to be equal (API and Ingress using the same IP) for the ELB setups. As in principle it would be desired for people to feed Machine Networks with all subnets that are used (so they just append the VIP subnet if they use ELB), it makes some sense to soften the validation.

Fixes: OCPBUGS-33921

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 openshift-eng/jira-lifecycle-plugin repository.

@zhaozhanqi
Copy link

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 20, 2024
@mkowalski
Copy link
Contributor Author

/retest

@mkowalski
Copy link
Contributor Author

/test e2e-vsphere-ovn-dualstack-primaryv6

@mkowalski
Copy link
Contributor Author

/retest

@mkowalski
Copy link
Contributor Author

/test e2e-metal-ipi-ovn-ipv6

@mkowalski
Copy link
Contributor Author

/retest

@zhaozhanqi
Copy link

this PR need to be approved. cc @mkowalski

@mkowalski
Copy link
Contributor Author

/approve

Copy link
Contributor

openshift-ci bot commented Sep 10, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mkowalski, zhaozhanqi
Once this PR has been reviewed and has the lgtm label, please assign fepan for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mkowalski
Copy link
Contributor Author

/hold

I don't necessarily want to merge it

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 17, 2024
@openshift-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 17, 2024
@mkowalski
Copy link
Contributor Author

/remove-lifecycle stale
/lifecycle frozen

@openshift-ci openshift-ci bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 10, 2025
Copy link
Contributor

openshift-ci bot commented Jan 10, 2025

@mkowalski: The lifecycle/frozen label cannot be applied to Pull Requests.

In response to this:

/remove-lifecycle stale
/lifecycle frozen

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-sigs/prow repository.

Copy link
Contributor

openshift-ci bot commented Mar 21, 2025

@mkowalski: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-network-migration 4065654 link true /test e2e-aws-ovn-network-migration
ci/prow/e2e-vsphere-ovn-dualstack-primaryv6 4065654 link false /test e2e-vsphere-ovn-dualstack-primaryv6
ci/prow/security 4065654 link false /test security
ci/prow/hypershift-e2e-aks 4065654 link true /test hypershift-e2e-aks

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. qe-approved Signifies that QE has signed off on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants