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

Can not delete cluster when VPC creation failed #2227

Closed
jzhoucliqr opened this issue Jan 25, 2021 · 0 comments · Fixed by #2327
Closed

Can not delete cluster when VPC creation failed #2227

jzhoucliqr opened this issue Jan 25, 2021 · 0 comments · Fixed by #2327
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@jzhoucliqr
Copy link
Contributor

/kind bug

What steps did you take and what happened:
A cluster creation failed because of VPC quota limit, when try to delete the cluster, it stuck at delete security groups because there is no VPC-ID.

[capa-controller-manager-ccd64cb9-bzs9v] 1 controller.go:257] controller-runtime/controller "msg"="Reconciler error" "error"="error deleting security groups for AWSCluster cluster-6005cc2b93ed23f55890cde8/aws-test-centos-os-patch-01: failed to describe cluster-owned security groups in vpc \"\": InvalidParameterValue: vpc-id\n\tstatus code: 400, request id: dfe92f29-2b56-4aea-9115-c355e38a8d22" "controller"="awscluster" "name"="aws-test-centos-os-patch-01" "namespace"="cluster-6005cc2b93ed23f55890cde8"

We are using capa 0.6.3, but by looking at the code, 0.6.4 should have the same issue.

What did you expect to happen:

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

Environment:

  • Cluster-api-provider-aws version: 0.6.3
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 25, 2021
@randomvariable randomvariable added this to the v0.7.0 milestone Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants