Troubleshoot a Cluster Stuck in Deleting
Use this guide when a workload cluster that ACP created is being deleted, its machines and their VMs or hosts are already gone, but the Cluster resource on the global cluster stays in Phase: Deleting. It applies to any ACP-built workload cluster:
- Huawei DCS (DCS Provider)
- Huawei Cloud Stack (HCS Provider)
- VMware vSphere (vSphere Provider)
- Bare Metal (Bare Metal Provider)
- Clusters created through the SSH UPI path managed by
cluster-manager
This page does not cover:
- A provider
Machineresource, such asDCSMachine, that stays inDeletingwhile its VM still exists. See Troubleshoot a DCSMachine Stuck in Deleting. - A workload cluster that never reached the ready state. See Troubleshoot a Workload Cluster Stuck in Provisioned.
TOC
SymptomsDiagnosisCheck the Finalizer and the Cluster TypeCheck That No Cluster Resources RemainSee AlsoSymptoms
Diagnosis
Check the Finalizer and the Cluster Type
<namespace> is the namespace of the cluster objects; for a cluster created with ac, it is cpaas-system.
Check That No Cluster Resources Remain
Run the first command and the line of your provider. Then confirm on the IaaS platform that none of the VMs of the cluster remain, or, on Bare Metal, that the hosts have been released from the cluster.
WARNING
Do not remove the finalizer from the Cluster resource yourself. Contact technical support.