Force Delete an OSD or ROSA Cluster Stuck in Uninstall State

Solution Verified - Updated -


  • Red Hat OpenShift Dedicated (CCS)
  • Red Hat OpenShift Service on AWS


  • A CCS OSD or ROSA cluster is stuck in uninstall state or did not finish uninstalling successfully and needs to be forcefully deleted.

Note: For non-CCS OSD clusters, please open a support case.


  1. Go to the OpenShift Cluster Manager Downloads page
  2. Download the OCM cli
  3. Copy the OCM login command + token from the OpenShift Cluster Manager API Token page
  4. Log In to OCM:
$ ocm login --token="<TOKEN>"
  1. Get your OCM internal cluster ID:
$ EXT_ID=$(oc get clusterversion version -o jsonpath='{.spec.clusterID}{"\n"}')
$ ocm describe cluster $EXT_ID --json | jq -r .id
  1. Replace "ID" with the output of the command above and run the command below to force delete the cluster:
$ ocm delete cluster "ID" -p best_effort=true

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.