This article contains steps to manually cleanup vSphere cluster from SDDC Manager DB (database)
Failed' OR 'Cluster already being removed'When an orphaned or incomplete cluster record exists in the SDDC Manager Platform database. The deletion or creation task may fail prematurely. This prevents required metadata from being properly ingested or updated.
Orphaned records typically occur when a lifecycle management task (like creating or deleting a cluster) is interrupted.
Remediation requires manual modifications to the SDDC database. A support request must be engaged with Broadcom Technical Support.
Prior to engaging support, execute the following procedure to identify the failed cluster and extract the UUID (Universally Unique Identifier). This UUID is required by support engineers to execute the manual deletion via the inventory extension API.
psql -h localhost -U postgres -d platform -c "select id,name,status from cluster;"