Unable to remove cluster

I deleted nodes inside the cluster which were provisioned using Rancher GUI (not imported). After that, I tried to delete the cluster but I was stuck with this message:

Rpc error: code = Unavailable desc = all SubConns are in TransientFailure; Removing host [] from node lists; rpc error: code = Unavailable desc = all SubConns are in TransientFailure; waiting on cluster-provisioner-controller

I tried connecting to the rancher server kubernetes cluster and tried removing the namespaces associated with that cluster but still no luck.

project-8286p Terminating 180d

Did anyone experienced this? What was the fix?


It depends a bit on what you did exactly, how many nodes with what roles were in the cluster and what nodes did you delete? Regarding the stuck in terminating, see https://github.com/rancher/rancher/issues/14715#issuecomment-407900343 and https://rancher.com/docs/rancher/v2.x/en/admin-settings/removing-rancher/user-cluster-nodes/

Hello. I deleted all 3 nodes. All of them are etcd, worker, and controlplanes.

I was able to resolve it by pointing my context to the rancher server cluster end doing a “kubectl edit cluster” and replacing that cluster’s finalizers into “finalizers: []”

1 Like

I tried that but i get a

{ “data”: “404 page not found\n” }

Having the same issue since Rancher 2.6

Can’t delete the cluster, nodes are already cleaned and removed. When trying to remove the finalizer, getting the same 404 error.


1 Like

I am having this same issue with a digital cluster