-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix error handling of load balancer deletion #2783
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
Conversation
|
Hi @bitoku. Thanks for your PR. I'm waiting for a kubernetes-sigs 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/test-infra repository. |
/ok-to-test |
Codecov ReportBase: 54.04% // Head: 54.03% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2783 +/- ##
==========================================
- Coverage 54.04% 54.03% -0.02%
==========================================
Files 144 144
Lines 8223 8225 +2
==========================================
Hits 4444 4444
- Misses 3461 3463 +2
Partials 318 318
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bitoku, kishorj 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 |
Issue
When a load balancer is deleted in LoadBalancerSynthesizer, errors other than "OperationNotPermitted: deletion protection" is ignored due to this change(#2172).
This change make the synthesizer return other errors as well.
Description
When a load balancer is associated with VPC endpoint service, deletion would fail with ResourceInUse error.
However it can't catch the error and continue to delete other resources.
I think it should be failed otherwise other resources such as targetgroupbindings will be deleted.
I'm not sure how to test synthesize method because there are no tests about it.
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯