-
Notifications
You must be signed in to change notification settings - Fork 640
Deletion fails for aws cluster with vpc limit exceeded #3749
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 @AmitSahastra. 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 Thank you for your contribution! Please include a unit test for your change. :) Thanks! |
|
/test ? |
|
@Ankitasw: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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/test-infra repository. |
|
/test pull-cluster-api-provider-aws-e2e |
|
@AmitSahastra - would you be able to add a test to cover this scenario? |
|
/milestone v2.0.0 |
|
@AmitSahastra would you be able to continue with the test scenario? |
Hi, I am held up with a few things and unable to take time to finish UTs to cover test scenarios. I can close this PR for some time and reopen it with updated tests. |
|
@richardcase I can raise a separate issue to write E2E test for this scenario, and merge this PR, if that's ok? |
|
@Ankitasw - ok, lets go with creating an issue to do the e2e test as a follow-up and get this in |
|
/lgtm |
|
@AmitSahastra I think you might have to rebase the PR, I have created separate issue for E2E tests that we can address later, but this needs to fixed now. |
|
/test pull-cluster-api-provider-aws-e2e |
e2767bf to
8bf8d33
Compare
|
@Ankitasw have rebased it, pls do review it again. |
|
Also, please squash the commits. |
573dbc0 to
e6e76e0
Compare
|
@AmitSahastra thanks will merge it once the prow failures resolve |
|
@AmitSahastra could you push a blank commit, such that jobs run again? |
|
/retest |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Ankitasw 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 |
State
READY
What is the purpose of the pull request
deletion fails for aws cluster with vpc limit exceeded
Implementation
Issue: In case cluster creation didn't go through due to the VPC limit being exceeded, the VPC ID will be nil and during deletion of the such cluster, the AWS client will give the error.
Fix: Check the error code during VPC deletion and skip it if the error code is "MissingParameter"
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Checklist: