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

UPSTREAM: 63926: Avoid unnecessary calls to the cloud provider #19742

Conversation

Miciah
Copy link
Contributor

@Miciah Miciah commented May 16, 2018

If the service controller is processing a service that does not have type LoadBalancer and does not have any external load balancer recorded in its status, do not call the cloud provider to check for an associated load balancer.

This commit fixes bug 1571940.

https://bugzilla.redhat.com/show_bug.cgi?id=1571940


Note for backporting: createLoadBalancersIfNeeded in 3.9 returns two arguments, so the return nil will need to be amended as return nil, notRetryable in any backport to 3.9.

If the service controller is processing a service that does not have type
LoadBalancer and does not have any external load balancer recorded in its
status, do not call the cloud provider to check for an associated load
balancer.

This commit fixes bug 1571940.

https://bugzilla.redhat.com/show_bug.cgi?id=1571940
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 16, 2018
@knobunc
Copy link
Contributor

knobunc commented May 22, 2018

/assign @derekwaynecarr
/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 22, 2018
@knobunc
Copy link
Contributor

knobunc commented May 22, 2018

@derekwaynecarr @smarterclayton @deads2k -- Can you please take a look at this so we can get it onto starter to see if we can reduce the API calls we are making? Thanks

@deads2k
Copy link
Contributor

deads2k commented May 23, 2018

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: deads2k, knobunc, Miciah

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-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 23, 2018
@openshift-merge-robot openshift-merge-robot merged commit 6a65ad8 into openshift:master May 23, 2018
Miciah added a commit to Miciah/origin that referenced this pull request Jun 27, 2018
If the service controller is processing a service that does not have type
LoadBalancer and does not have any external load balancer recorded in its
status, do not call the cloud provider to check for an associated load
balancer.

This commit fixes bug 1583718.

https://bugzilla.redhat.com/show_bug.cgi?id=1583718

This is a manual cherry-pick of openshift#19742.
soltysh pushed a commit to soltysh/origin that referenced this pull request Oct 3, 2019
If the service controller is processing a service that does not have type
LoadBalancer and does not have any external load balancer recorded in its
status, do not call the cloud provider to check for an associated load
balancer.

This commit fixes bug 1583718.

https://bugzilla.redhat.com/show_bug.cgi?id=1583718

This is a manual cherry-pick of openshift#19742.
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants