Cluster-api-provider-aws: NAT gateway timing issue

Created on 24 May 2019  路  4Comments  路  Source: kubernetes-sigs/cluster-api-provider-aws

/kind bug

Possibly related to #241

What steps did you take and what happened:
[A clear and concise description of what the bug is.]

  1. Create a cluster
  2. Delete it
  3. Recreate the cluster using the same manifests again

This results in a new NAT gateway being created, but the old deleted NAT gateway being attached to the routing tables. This occurs because the deleted NAT gateway remains visible in the API for 60 minutes after deletion, and we are probably not filtering correctly.

What did you expect to happen:
Cluster should be recreated

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

Environment:

  • Cluster-api-provider-aws version: HEAD
  • Kubernetes version: (use kubectl version): N/A
  • OS (e.g. from /etc/os-release): N/A
kinbug prioritimportant-soon

Most helpful comment

I鈥檓 going to see if I can reproduce this issue and try to identify root cause

All 4 comments

I鈥檓 going to see if I can reproduce this issue and try to identify root cause

I have not been able to reproduce this and have created/deleted a good number of clusters.

Yay, thank you for attempting to reproduce the issue. I'm going to go ahead and close this issue then :)

/close

@detiber: Closing this issue.

In response to this:

Yay, thank you for attempting to reproduce the issue. I'm going to go ahead and close this issue then :)

/close

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.

Was this page helpful?
0 / 5 - 0 ratings