SUSE-Enceladus / suse-rancher-setup

Simple, usable web application for deploying complex applications to the cloud; wrapping cloud native SDK/CLIs
GNU General Public License v3.0
9 stars 1 forks source link

AWS cleanup consistently fails due to load balancer #184

Closed bear454 closed 1 year ago

bear454 commented 1 year ago

The RancherOnEKS cleanup process consistently fails (5/5 attempts this week) at the point of detaching the IGW.

Cleaning up the resources failed: An error occurred (DependencyViolation) when calling the DetachInternetGateway operation: Network vpc-[REDACTED] has some mapped public address(es). Please unmap those public address(es) before detaching the gateway.

The root cause of this is that there is an Elastic Load Balancer created automatically (not something we explicitly create) that does not get cleaned up. We will need to add a process for finding this ELB and deleting it, before trying to clean up the IGW. This will probably require additional permissions as well.

Screen Shot 2023-01-31 at 10 30 14

bear454 commented 1 year ago

https://bugzilla.suse.com/show_bug.cgi?id=1207825

bear454 commented 1 year ago

Resolved in #189