Unable to delete Cluster, receiving an error of "The operation is not allowed in the current state. Cluster destroy is not allowed on * Cluster when it is acting as remote vSAN client cluster.
vCenter 8.0.3
The vSAN storage was disabled and all the host removed from the cluster.
Yet, the postgres DB still has a couple of entries that will need to manually deleted.
The postgres DB will needs to be edited.
We worked through KB Manually deleting a cluster from the vCenter Server database
# SELECT * FROM vpx_compute_res_user_hb_ds WHERE comp_res_id = *****
# DELETE FROM vpx_compute_res_user_hb_ds WHERE comp_res_id = ******;
# delete from vpx_entity where name = ‘cluster name’;