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-14368: Do not detach masters from LB when unready #76

Merged

Conversation

damdo
Copy link
Member

@damdo damdo commented Jun 13, 2023

Originally the masters that would go UnReady were detached from the LoadBalancer to avoid traffic being forwarded to the pods backing the LoadBalancer's Service.

This would cause an issue on OCP because masters rely on being connected to this public LoadBalancer to retain outbound internet connection, and having an UnReady master detached may have rendered it unable to recover due to it not having access to outbound internet connection.

Now that kube-proxy based healthprobes have been/are being implemented for Services of type LoadBalancer and ETP=Cluster (downstream with #72 and upstream with kubernetes-sigs#3887)
the master detachment on Unreadiness is not necessary anymore.

As such we disabling this.

This is a fix for kubernetes-sigs#3500

@damdo damdo changed the title Do not detach masters from LB when unready OCPBUGS-14368: Do not detach masters from LB when unready Jun 13, 2023
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important 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 Jun 13, 2023
@openshift-ci-robot
Copy link

@damdo: This pull request references Jira Issue OCPBUGS-14368, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is ON_QA 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:

Originally the masters that would go UnReady were detached from the LoadBalancer to avoid traffic being forwarded to the pods backing the LoadBalancer's Service.

This would cause an issue on OCP because masters rely on being connected to this public LoadBalancer to retain outbound internet connection, and having an UnReady master detached may have rendered it unable to recover due to it not having access to outbound internet connection.

Now that kube-proxy based healthprobes have been/are being implemented for Services of type LoadBalancer and ETP=Cluster (downstream with #72 and upstream with kubernetes-sigs#3887)
the master detachment on Unreadiness is not necessary anymore.

As such we disabling this.

This is a fix for kubernetes-sigs#3500

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
Copy link

@damdo: This pull request references Jira Issue OCPBUGS-14368, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is ON_QA 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.

In response to this:

Originally the masters that would go UnReady were detached from the LoadBalancer to avoid traffic being forwarded to the pods backing the LoadBalancer's Service.

This would cause an issue on OCP because masters rely on being connected to this public LoadBalancer to retain outbound internet connection, and having an UnReady master detached may have rendered it unable to recover due to it not having access to outbound internet connection.

Now that kube-proxy based healthprobes have been/are being implemented for Services of type LoadBalancer and ETP=Cluster (downstream with #72 and upstream with kubernetes-sigs#3887)
the master detachment on Unreadiness is not necessary anymore.

As such we disabling this.

This is a fix for kubernetes-sigs#3500

TODO:

  • Needs upstream PR
  • Needs commit rename to point to the upsream PR <UPSTREAM> ...

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.

@damdo damdo marked this pull request as draft June 13, 2023 14:47
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 13, 2023
@JoelSpeed
Copy link

I'd like to carry this PR without submitting it upstream. In openshift we need to make sure to improve the topology by including an improved topology for the azure load balancers, introducing a secondary load balancer backend pool for outbound traffic

@openshift-ci-robot
Copy link

@damdo: This pull request references Jira Issue OCPBUGS-14368, which is invalid:

  • expected the bug to be in one of the following states: NEW, ASSIGNED, POST, but it is ON_QA 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.

In response to this:

Originally the masters that would go UnReady were detached from the LoadBalancer to avoid traffic being forwarded to the pods backing the LoadBalancer's Service.

This would cause an issue on OCP because masters rely on being connected to this public LoadBalancer to retain outbound internet connection, and having an UnReady master detached may have rendered it unable to recover due to it not having access to outbound internet connection.

Now that kube-proxy based healthprobes have been/are being implemented for Services of type LoadBalancer and ETP=Cluster (downstream with #72 and upstream with kubernetes-sigs#3887)
the master detachment on Unreadiness is not necessary anymore.

As such we disabling this.

This is a fix for kubernetes-sigs#3500

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.

@damdo damdo force-pushed the do-not-detach-masters-on-unready branch from 8d879a8 to 4ed4961 Compare June 14, 2023 12:24
@damdo damdo marked this pull request as ready for review June 14, 2023 12:38
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 14, 2023
@openshift-ci openshift-ci bot requested a review from JoelSpeed June 14, 2023 12:38
@damdo
Copy link
Member Author

damdo commented Jun 14, 2023

/test e2e-azure-ovn

@damdo
Copy link
Member Author

damdo commented Jun 16, 2023

/hold
For QE pre-merge testing.

@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 Jun 16, 2023
@damdo
Copy link
Member Author

damdo commented Jun 16, 2023

/assign @JoelSpeed

@damdo
Copy link
Member Author

damdo commented Jun 16, 2023

/retest

@openshift-ci
Copy link

openshift-ci bot commented Jun 16, 2023

@damdo: all tests passed!

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.

@JoelSpeed
Copy link

/approve
/lgtm
/hold

I'd like QE approval that this, in combination with the promotion PR to GA, openshift/cluster-config-operator#307, solves the image pull issue they've been observing, before we merge

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 16, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jun 16, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoelSpeed

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 Jun 16, 2023
@JoelSpeed
Copy link

/jira refresh

I've been manually testing this and am confident it's doing what I'm expecting it to do

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Jun 27, 2023
@openshift-ci-robot
Copy link

@JoelSpeed: This pull request references Jira Issue OCPBUGS-14368, which is valid.

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

Requesting review from QA contact:
/cc @sunzhaohua2

In response to this:

/jira refresh

I've been manually testing this and am confident it's doing what I'm expecting it to do

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 removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Jun 27, 2023
@openshift-ci openshift-ci bot requested a review from sunzhaohua2 June 27, 2023 11:05
@JoelSpeed
Copy link

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 27, 2023
@openshift-merge-robot openshift-merge-robot merged commit ae12e9a into openshift:master Jun 27, 2023
10 checks passed
@openshift-ci-robot
Copy link

@damdo: Jira Issue OCPBUGS-14368: All pull requests linked via external trackers have merged:

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

In response to this:

Originally the masters that would go UnReady were detached from the LoadBalancer to avoid traffic being forwarded to the pods backing the LoadBalancer's Service.

This would cause an issue on OCP because masters rely on being connected to this public LoadBalancer to retain outbound internet connection, and having an UnReady master detached may have rendered it unable to recover due to it not having access to outbound internet connection.

Now that kube-proxy based healthprobes have been/are being implemented for Services of type LoadBalancer and ETP=Cluster (downstream with #72 and upstream with kubernetes-sigs#3887)
the master detachment on Unreadiness is not necessary anymore.

As such we disabling this.

This is a fix for kubernetes-sigs#3500

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. 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants