'a failure occurred when starting a host compliance check operation on host: Error: com.vmware.vapi.std.errors.not_allowed_in_current_state Messages: com.vmware.esx.task.contention<Another task is in progress. Please retry later.> '
var/vmware/lifecycle/task-status.json
{"52c8####-####-####-########2aa3": {"operation": "com.vmware.esx.settingsdaemon.software.scan", "status": "FAILED", "user": "root", "startTime": "yyyy-mm-ddThh:mm:ss.####", "endTime": "yyyy-mm-ddThh:mm:ss.####", "progress": {"completed": 0, "total": 100}, "error": {"id": "com.vmware.vcIntegrity.lifecycle.EsxImage.DepotConnectError", "message": {"id": "com.vmware.vcIntegrity.lifecycle.EsxImage.DepotConnectError", "default_message": "An error occurred while connecting to depot.", "args": []}, "resolution": null, "time": "yyyy-mm-ddThh:mm:ss.####"}}}
task-status.json (END)
/var/run/log/esxupdate.log
esxupdate: 2101731: LockFile: ERROR: Error locking file /var/run/liveimgdb.pid: [Errno 11] Resource temporarily unavailable, the file is currently locked by process with PID #####
esxupdate: 2101731: LockFile: ERROR: Failed to lock LockFile /var/run/liveimgdb.pid: ('/var/run/liveimgdb.pid', 'Error locking file /var/run/liveimgdb.pid: [Errno 11] Resource temporarily unavailable, the file is currently locked by process with PID #####'), retrying
/var/run/log/lifecycle.log
lifecycle: #####: DepotCollection:331 INFO Could not download from depot at http://<vCenter IP/FQDN>:9084/vum/repository/hostupdate/__micro-depot__vendor-HPE__HPE-ESXi-8.0-Addon-cumulative_metadata__index__.xml, skipping (('http://<vCenter IP/FQDN>:9084/vum/repository/hostupdate/__micro-depot__vendor-HPE__HPE-ESXi-8.0-Addon-cumulative_metadata__index__.xml', '',
out>'))
lifecycle: #####: DepotCollection:321 DEBUG Downloading depot index.xml from http://<vCenter IP/FQDN>:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml
lifecycle: #####: Downloader:372 INFO Opening http://<vCenter IP/FQDN>:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml for download
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 9 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 8 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 7 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 6 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 5 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 4 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 3 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 2 retry left...
lifecycle: #####: Downloader:210 WARNING Download failed: <urlopen error timed out>, 1 retry left...
lifecycle: #####: DepotCollection:331 INFO Could not download from depot at http://<vCenter IP/FQDN>:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml, skipping (('http://<vCenter IP/FQDN>:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml', '',
'<urlopen error timed out>'))
VMware vSphere ESXi
ESXi to vCenter connectivity on port 9084 is not working
esxcli network firewall ruleset list | grep -i updateManager
[ESXi:~] esxcli network firewall ruleset list | grep -i updateManager
updateManager false true true
esxcli network firewall ruleset set --enabled=true -r updateManager
nc -z <vCenter IP/FQDN> 9084
[ESXI:~] nc -z <vCenter IP/FQDN> 9084
Connection to <vCenter IP/FQDN> 9084 port [tcp/*] succeeded!
Refer KB Modified ESXi firewall rules get disabled after reboot for updating ESXi firewall rules
Please see TCP and UDP ports required to access VMware vSphere Update Manager for all the ports required for ESXi updates