Symptoms
error vpxd[****] [Originator@6876 sub=MoHost opID=FdmMonitor-domain-c*****-***] Could not read 'config' from hostd for vim.HostSystem:host-******: N5Vmomi5Fault17HostCommunication9ExceptionE(Fault cause: vmodl.fault.HostCommunication)
--> )
error vpxd[****} [Originator@6876 sub=IO.Http] User agent failed to send request; (null), N7Vmacore17CanceledExceptionE(Operation was canceled)
To confirm that this is the issue, ensure you have gone through the article VPXD Service Fails to Start and check that all of the dependent services are running while the vpxd service is stopped. These should be running:
rhttpproxy
vmware-vpostgres
vpxd-svcs
vmware-vpostgres.
lookupsvc
The vmware-vpxd service shows as stopped. You can check that with the command:
service-control --status --all
Then check if vmware-vpxd is not running but the rhttpproxy, vmware-vpostgres, lookupsvc, and vpxd-svcs services are started.
This issue is caused by a malformed object in the vCenter inventory. If there is a malformed VM, vpxd will crash when trying to read the vCenter Database.
service-control --start--all
This will tell us which host has the malformed VM. Then, reconnect the bad host and then you can go through all the VMs on that host to find the malformed VM. To do this:
Then we can remove the malformed VM
For instructions on removing the VM see: Remove and Reregister VMs and VM Templates