-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing stuck with the message "Waiting on cluster-scoped-gc" #35345
Comments
I encountered the same issue on Rancher v.2.5.9. The cluster was imported with the rancher CLI tool and deleted with |
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
Any workaround to fix clusters in that state ? :( |
Switch to rancher-cluster 's kube-context and run following command (Replace
|
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 60 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
Rancher Server Setup
Information about the Cluster
Describe the bug
In the Rancher UI, a cluster is stuck with the message "Waiting on cluster-scoped-gc". We don't get the cluster removed and we can't interact with it anymore. If we manually go over the "Delete" button nothing happens. Via the API we see the following transition message:
"state": "removing", "transitioning": "error", "transitioningMessage": "waiting on cluster-scoped-gc"
When we click on the cluster in the UI, we get the message:
ClusterUnavailable 503: cluster not found
Due to lack of ideas, we have already tried to rebuild the cluster using the same automated way, but we get the following error message:
Bad response statusCode [422]. Status [422 Unprocessable Entity]. Body: [code=MissingRequired, fieldName=ClusterTemplateRevision, message=this cluster is created from a clusterTemplateRevision, please pass the clusterTemplateRevision, baseType=error]
A connection via "kubectl" can also no longer be established.
The infrastructure of the cluster no longer exists. This is only the entry in the interface, which cannot be removed. We currently have no idea how to get the cluster removed.
To Reproduce
Unfortunately, we do not know exactly how we got into this state. The problem appeared after we automatically deployed and removed the cluster for testing purposes.
Result
The result of the error is that we see an orphaned cluster in the interface and unfortunately we cannot get the entry removed.
Expected Result
It would be good if there was some way to force deletion of orphaned artifacts / clusters and all associated references in the UI.
Screenshots
The text was updated successfully, but these errors were encountered: