SUSE Support

Here When You Need Us

How to delete Cluster stuck in provisioning state

This document (000020997) is provided subject to the disclaimer at the end of this document.

Environment

Rancher 2.6.x

Situation

A newly created RKE cluster does not advance past provisioning state. Unable to delete cluster from Rancher Gui.
Message "Unable to communicate with etcd control plane" is returned.

Resolution

kubectl get clusters.management.cattle.io  # find the cluster you want to delete

export CLUSTERID="c-xxxxxxxxx" #

kubectl patch clusters.management.cattle.io $CLUSTERID -p '{"metadata":{"finalizers":[]}}' --type=merge

kubectl delete clusters.management.cattle.io $CLUSTERID

 

Cause

Newly created RKE Cluster does not advance past provisioning state

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020997
  • Creation Date: 01-Mar-2023
  • Modified Date:16-May-2023
    • SUSE Rancher

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.