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

bug: Terraform destroy times out due to orphaned ENI #5

Closed
niallthomson opened this issue May 4, 2022 · 2 comments
Closed

bug: Terraform destroy times out due to orphaned ENI #5

niallthomson opened this issue May 4, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@niallthomson
Copy link
Contributor

Expected Behavior

Running terraform destroy should remove all infrastructure

Actual Behavior

ENIs can be left dangling due to this issue:

aws/amazon-vpc-cni-k8s#1223

This prevents one or more subnets from being deleted and the Terraform process times out.

Steps to Reproduce the Problem

This only occurs intermittently and is difficult to reproduce on purpose.

@niallthomson niallthomson added the bug Something isn't working label May 4, 2022
@niallthomson
Copy link
Contributor Author

This seems to have been mostly mitigated by:

  1. Implementing phased Terraform destroy as recommended by Blueprints team
  2. Leveraging prefix delegation mode in the VPC CNI

@niallthomson
Copy link
Contributor Author

Between changes above and sweeper functionality this is not happening, closing for now.

svennam92 pushed a commit that referenced this issue Aug 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant