Open a-blender opened 1 year ago
@Andy-Blendermann thanks for finding this. Is this a blocker for Q3 or can this wait for Q4?
I'm not sure deleting the mgmt cluster whilst the provisioning cluster exists is a supported case. I'd guess it should be the other way around? We would need someone on the backend to confirm
@gaktive Nope, not a blocker! Just something that took down our dev environment UI when I force removed a cluster. @jakefhyde is removing the prov cluster first, then mgmt the expected process if someone has to, for some reason, force remove a stuck cluster?
@Andy-Blendermann cool, thanks for clarifying! We'll target Q4 at the earliest.
Removing the management cluster first is an odd scenario since I think that'd break a lot of other things but I'll ask around.
It's not expected at all from a backend perspective, but we should handle it gracefully if possible, as currently it becomes much harder to navigate to a specific cluster to fix the issue. It's definitely something a user may run into when trying to clean up a cluster manually (which I believe is how @a-blender encountered the issue initially). Agree though, not a priority at all.
Setup
Describe the bug
If finalizers on the management cluster are removed, deleting the management cluster while the provisioning cluster object still exists the dashboard hangs. Trying to access the
Cluster Management
tab gives me anull undefined id
error or reloads to another page location.To Reproduce
Result
Expected Result
Screenshots
Additional context
Workaround: remove finalizers via kubectl from the prov cluster object. This causes the stuck cluster to get successfully removed and
terraform destroy
cmd to complete.