-
Notifications
You must be signed in to change notification settings - Fork 310
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
Handle error while registering/deregistering target during load balancer update calls #997
Conversation
This issue is currently awaiting triage. If cloud-provider-aws contributors determine this is a relevant issue, they will accept it by applying the The 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. |
Welcome @jaydeokar! |
Hi @jaydeokar. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/approve |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cartermckinnon, M00nF1sh 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 |
/lgtm |
@jayanthvn: changing LGTM is restricted to collaborators In 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-sigs/prow repository. |
/lgtm |
…-upstream-release-1.29 Automated cherry pick of #997: Handle error while registering/deregistering target during
…-upstream-release-1.30 Automated cherry pick of #997: Handle error while registering/deregistering target during
What type of PR is this?
/kind bug
What this PR does / why we need it:
If the RegisterInstancesWithLoadBalancer fails for any reason during an LoadBalancer Update call, we do not throw the error and return nil. So we will never know if the target group registration passes or fails
For testing -
I tried to mock the ELB API as I wasn't able to hit the throttling every time.
I introduced a 50% chance of ELB API failing to register the target using Mocked return message
The events on the service
This shows that the controller retries and reconciles again in case of failures.
The logs in the controller shows the new warn message that was added
Which issue(s) this PR fixes:
N/A
Fixes #
Special notes for your reviewer:
N.A
Does this PR introduce a user-facing change?:
N/A