Skip to content
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

OCPBUGS-2774: UPSTREAM: 112807 Fix Load balancer services with xTP local #1400

Merged
merged 1 commit into from Oct 27, 2022

Conversation

JoelSpeed
Copy link

This is a blocker bug that was introduced by the K8s 1.25 rebase. The bug is present in all Kube versions upstream 1.25.0 <= x < 1.25.3. Since we are currently based on 1.25.2 this has not been included yet.

The result of this bug is that, for any LoadBalancer service (such as that used by the default router), that has an externalTrafficPolicy: local, the load balancer node membership is never updated after the service is created. As MachineSets scale up and down, this would result in a loss of ingress.

Links to the upstream issue in the bug.

…with xTP local

This picks the upstream PR 112807 which in turn reverted two further PRs.
Without this fix, Load Balancer services with externalTrafficPolicy local do not
update load balancer node membership.
@openshift-ci-robot openshift-ci-robot added backports/validated-commits Indicates that all commits come to merged upstream PRs. jira/severity-critical Referenced Jira bug's severity is critical 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. labels Oct 26, 2022
@openshift-ci-robot
Copy link

@JoelSpeed: This pull request references Jira Issue OCPBUGS-2774, 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.12.0) matches configured target version for branch (4.12.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @lihongan

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

In response to this:

This is a blocker bug that was introduced by the K8s 1.25 rebase. The bug is present in all Kube versions upstream 1.25.0 <= x < 1.25.3. Since we are currently based on 1.25.2 this has not been included yet.

The result of this bug is that, for any LoadBalancer service (such as that used by the default router), that has an externalTrafficPolicy: local, the load balancer node membership is never updated after the service is created. As MachineSets scale up and down, this would result in a loss of ingress.

Links to the upstream issue in the bug.

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-ci-robot openshift-ci-robot added the bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. label Oct 26, 2022
@openshift-ci-robot
Copy link

@JoelSpeed: the contents of this pull request could be automatically validated.

The following commits are valid:

Comment /validate-backports to re-evaluate validity of the upstream PRs, for example when they are merged upstream.

@openshift-ci openshift-ci bot added the vendor-update Touching vendor dir or related files label Oct 26, 2022
Copy link
Member

@soltysh soltysh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Oct 26, 2022
@openshift-ci
Copy link

openshift-ci bot commented Oct 26, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoelSpeed, soltysh

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 26, 2022
@JoelSpeed
Copy link
Author

I've manually verified this by building a cluster from this PR and scaling up and down machinesets a few times, I can see the new machines and old machines being added and removed as expected

@JoelSpeed
Copy link
Author

/retest-required

@JoelSpeed
Copy link
Author

/skip
/retest-required

@JoelSpeed
Copy link
Author

/retest-required

@openshift-ci
Copy link

openshift-ci bot commented Oct 27, 2022

@JoelSpeed: 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-agnostic-ovn-cmd be31e8d link false /test e2e-agnostic-ovn-cmd
ci/prow/e2e-aws-csi be31e8d link false /test e2e-aws-csi
ci/prow/4.11-upgrade-from-stable-4.10-e2e-aws-ovn-upgrade be31e8d link false /test 4.11-upgrade-from-stable-4.10-e2e-aws-ovn-upgrade

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

@openshift-merge-robot openshift-merge-robot merged commit 1f53707 into openshift:master Oct 27, 2022
@openshift-ci-robot
Copy link

@JoelSpeed: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-2774 has been moved to the MODIFIED state.

In response to this:

This is a blocker bug that was introduced by the K8s 1.25 rebase. The bug is present in all Kube versions upstream 1.25.0 <= x < 1.25.3. Since we are currently based on 1.25.2 this has not been included yet.

The result of this bug is that, for any LoadBalancer service (such as that used by the default router), that has an externalTrafficPolicy: local, the load balancer node membership is never updated after the service is created. As MachineSets scale up and down, this would result in a loss of ingress.

Links to the upstream issue in the bug.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. backports/validated-commits Indicates that all commits come to merged upstream PRs. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. jira/severity-critical Referenced Jira bug's severity is critical 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. lgtm Indicates that a PR is ready to be merged. vendor-update Touching vendor dir or related files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants