[ <requestid> ] Underlying system error: No valid hosts could be found due to Das state. vCenter Server task (moref: task ####) failed in vCenter Server '<vcentername>' (#########-####-####-####-########). - A component of the virtual machine is not accessible on the host.A component of the virtual machine is not accessible on the host. No valid hosts could be found due to Das stateVMware Cloud Director 10.6.1.2
To validate the placement of VMs for an anti-affinity rule, VMware Cloud Director attempts to create a drsShellVm in vCenter.
This error occurs when the vSphere Cluster is configured with vSphere HA Admission Control using the Dedicated Failover Hosts option. If the drsShellVm is placed on a host designated as a failover host it will cause the anti-affinity rule creation to fail. Since dedicated failover hosts are reserved for emergency restarts and typically do not allow manual VM power-on operations, vCenter rejects the task, leading to the "Das state" (vSphere HA) error.
To resolve this issue, temporary change the HA admission control configuration to allow VCD to complete the rule validation task.