When checking host profile compliance in vCenter Server, these symptoms may be experienced:
Host <hostname> is not in compliance with the attached profile: Datacenter <Name>, Host <Hostname>, Compute Resource <Cluster Name> : Quick stats on <hostname> in <Cluster> in <Datacenter> is not up-to-date"Host is unavailable for checking complianceThe request failed because the remote server "vCenterFQDN" took too long to respond” Error Stack: Call "HostProfileManager.GenerateConfigTaskList" for object "HostProfileManager" on vCenter Server "vCenterFQDN" failed./var/log/hostd.log file, these errors are seen:The task begins:<YYYY-MM-DD>T<time>Z [3CFC5B90 info 'TaskManager' opID=93992203-00005F6B-da-d4] Task Created : haTask--vim.profile.host.profileEngine.ComplianceManager.checkHostCompliance-511155668</time>VMFS Refresh called:<YYYY-MM-DD>T<time></time>Z [3FE80B90 verbose 'Hostsvc::DatastoreSystem'] ReconcileVMFSDatastores called: refresh = true, rescan = false <YYYY-MM-DD>T<time></time>Z [3FE80B90 verbose 'FSVolumeProvider'] RefreshVMFSVolumes calledVMFS Refresh Finishes:<YYYY-MM-DD>T<time></time>Z [3FE80B90 verbose 'Hostsvc::DatastoreSystem'] ReconcileVMFSDatastores: Done discovering new filesystem volumes.A new datastore refresh is called:<YYYY-MM-DD>T<time></time>Z [3C0DBB90 verbose 'FSVolumeProvider'] RefreshVMFSVolumes calledThis pattern continues until the host profile compliance check times out after 10 minutes:<YYYY-MM-DD>T<time></time>Z [3CAF0B90 error 'SOAP command stub adapter /usr/bin/sh' opID=93992203-00005F6B-da-d4] Error: timeout waiting for command <YYYY-MM-DD>T<time></time>Z [3CAF0B90 error 'Default' opID=93992203-00005F6B-da-d4] AdapterServer caught exception: Operation timed out
RefreshVMFSVolumes task takes a long time to complete on the esxi host.cmdMo.xml file./etc/vmware/hostd.cmdMo.xml file using a text editor.<moId> ha-hostprofileengine-compliancemanager </moId><timeOutInSeconds> 1800 </timeOutInSeconds> after the preceding entry:<moId> ha-hostprofileengine-compliancemanager </moId><timeOutInSeconds> 1800 </timeOutInSeconds>