This article addresses issues where virtual machines (VMs) fail to power on or cannot be created in VMware Cloud Director (VCD) following a vCenter Server SSL certificate update. The issue often manifests with the error: [ 64f12df7-5db7-499e-9ddc-230066cfca9b ] Task failed ... error={There are no active hosts in the cluster.} - The operation could not be performed because the object is in an invalid state.
The issue occurs when the old vCenter certificate remains in the trust store alongside the successfully imported new vCenter certificate. This duplication causes an invalid object state, preventing the cluster from recognizing active hosts.
Removing the old certificate and refreshing the connection clears the invalid object state, allowing vCenter to establish trust properly and enabling active hosts to be recognized by the cluster for VM provisioning and power operations.