Hi! I‘m the author. I did have some issues with that but iirc only when i removed everything at once (e.g. the whole namespace). I think then it tended to remove the kubeconfig secret before removing the cluster, making the controller unable to connect to the workload cluster.
Now that I think about it: I had once a case where it didn’t clean up a created network within openstack properly. I haven’t yet been able to reproduce it unfortunately.
Are you using the new beta release or alpha4? I'm still on alpha4 and see it pretty often. If you delete the cluster kubectl delete cluster <thing> sometimes it never completes due to the finalizer and some stuff gets left behind. It just idles in Deleting.
I'm hoping that it's just a problem with older releases. I've noticed sometimes that if I added a floating IP and sec group rule to the k8s nodes for troubleshooting that can cause problems when you try and delete them too.
Also, are you adding the octavia loadbalancer services and cinder csi in your clusters? I'm using them now and they work ok, but curious to hear what other people are doing.
I'm using v1beta1 for the cluster CRD yes (so basicly the 1.0 release of cluster API). CAPO controller is at v0.5.0.
The whole tear down situation could definitively be better. I couldn't yet find the time to reproduce it well (therefore didn't open an issue yet to discuss this).
Important for us was to use the out of tree cloud provider for openstack. Not sure if you use in-tree or out-of-tree too?
I still have issues with loadbalancers not being in ready state and sometimes getting stuck. This with two different infra providers (but the symptom was different for both). One cloud provider mentioned that there will be soon a new release of openstack which might address some of the issues.
We're using octavia loadbalancers and cinder CSI, yes. Works ok yes :)
1
u/kepper Dec 13 '21
Are you the author of this? Have you had problems with the finalizers causing deleted clusters to not clean up correctly sometimes?