/var/log/vmware/vpxd.log on vCenter:XX:XX:XXTXX:XX:XX info vpxd[09951] [Originator@6876 sub=vpxLro opID=########-######-####-####-##:########-##-##] [VpxLRO] -- BEGIN task-150241 -- VMName -- Datacenter.ExecuteVmPowerOnLRO --XX:XX:XXTXX:XX:XX info vpxd[09951] [Originator@6876 sub=cdrsPlmt opID=########-######-####-####-##:########-##-##] Vm [vim.VirtualMachine:vm-###,VMName] failed constraint check true on host [vim.HostSystem:host-#####,esxifqdn] with <obj xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:vim25" versionId="7.0.3.0" xsi:type="LocalizedMethodFault"><fault xsi:type="InsufficientAgentVmsDeployed"><hostName>esxifqdn</hostName><requiredNumAgentVms>4</requiredXX:XX:XXTXX:XX:XX info vpxd[09951] [Originator@6876 sub=cdrsPlmt opID=########-######-####-####-##:########-##-##] Dump section 1205596710441 created.XX:XX:XXTXX:XX:XX error vpxd[09951] [Originator@6876 sub=vpxLro opID=########-######-####-####-##:########-##-##] [VpxLRO] Unexpected Exception: N3Vim5Fault28InsufficientAgentVmsDeployed9ExceptionE(Fault cause: vim.fault.InsufficientAgentVmsDeployed--> )--> [context]zKq7AVECAQAAAOIfcwEYdnB4ZAAAAto3bGlidm1hY29yZS5zbwAAmXksABdtLQAf6jKB88IHAWxpYnZpbS10eXBlcy5zbwCBndMHAYELfAgBAR+x6wKXHXN2cHhkAIIdYkABAj0N+wLG0vsCtdP7AqBmlIL1BGkBgjYGaQGCZBVpAYLHQmgBgpLsaAEA50kjAHWfIwDAZTcDh38AbGlicHRocmVhZC5zby4wAAS/Ng9saWJjLnNvLjYA[/context]XX:XX:XXTXX:XX:XX info vpxd[09951] [Originator@6876 sub=vpxLro opID=########-######-####-####-##:########-##-##] [VpxLRO] -- FINISH task-150241XX:XX:XXTXX:XX:XX info vpxd[09951] [Originator@6876 sub=Default opID=########-######-####-####-##:########-##-##] [VpxLRO] -- ERROR task-150241 -- VMName -- Datacenter.ExecuteVmPowerOnLRO: vim.fault.InsufficientAgentVmsDeployed:--> Result:--> (vim.fault.InsufficientAgentVmsDeployed) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = <unset>,--> hostName = "esxiname",--> requiredNumAgentVms = 4,--> currentNumAgentVms = 2--> msg = ""--> }--> Args:
VMware vCenter Server 7.x
The error "All required agent virtual machines are not currently deployed on host 'hostname'" occurs because vCenter Server’s ESX Agent Manager (EAM) detects fewer ESX Agent Virtual Machines deployed on the host than required. The VPXD logs show that the host needs 4 ESX Agent Virtual Machines but only 2 are deployed, causing vCenter Server to block VM power-on operations due to this configuration mismatch.
Action Plan:
Take a offline snapshot of the vCenter Server before making any changes
<computeResourceAgentInfo> <computeResource type="ComputeResource">CLUSTER MOID</computeResource> <numRequiredAgents>0</numRequiredAgents></computeResourceAgentInfo>
NOTE: Replace CLUSTER MOID with the ID of the problematic cluster (e.g. domain-c123).