SovereignCloudStack / cluster-stacks

Definition of Cluster Stacks based on the ClusterAPI ClusterClass feature
https://scs.community/
Apache License 2.0
12 stars 6 forks source link

:bug: Workload cluster can't be deleted when itself has service with type LoadBalancer running #178

Open jschoone opened 1 month ago

jschoone commented 1 month ago

/kind bug The deleting status stuck in Deleting, resources needs to be removed by hand from openstack.

What steps did you take and what happened: Create a workload cluster, get the kubeconfig, create a service with type LoadBalancer in it. It uses the same router and network as the kube-apiserver, while the management cluster doesn't know anything of the other LoadBalancer, so it can't delete the router because it is in use.

What did you expect to happen: Delete workload cluster including all LoadBalancers which belongs to that or at least ignore them and delete the workload cluster properly.

Anything else you would like to add: It can probably be separated using the OCCM cloud config

Environment: