'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.> '
{"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)
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
lifecycle: #####: DepotCollection:331 INFO Could not download from depot at http://vcenter.example.com:9084/vum/repository/hostupdate/__micro-depot__vendor-HPE__HPE-ESXi-8.0-Addon-cumulative_metadata__index__.xml, skipping (('http://vcenter.example.com: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.example.com:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml
lifecycle: #####: Downloader:372 INFO Opening http://vcenter.example.com: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.example.com:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml, skipping (('http://vcenter.example.com:9084/vum/repository/hostupdate/__micro-depot__vendor-HDS__HDS-ESXi-8.0-Addon-cumulative_metadata__index__.xml', '',
'<urlopen error timed out>'))
ESXi to vCenter connectivity on port 9084 is not working
esxcli network firewall ruleset list | grep -i updateManager
[root@esxi101:~] esxcli network firewall ruleset list | grep -i updateManager
updateManager false true true
esxcli network firewall ruleset set --enabled=true -r updateManager
nc -z vcsa01.example.com 9084
[root@esxi101:~] nc -z vcsa01.example.com 9084
Connection to vcsa01.example.com 9084 port [tcp/*] succeeded!
Refer KB Modified ESXi firewall rules get disabled after reboot for updating ESXi firewall rules
Please see https://knowledge.broadcom.com/external/article/313919/tcp-and-udp-ports-required-to-accessvmwa.html for all the ports required for ESXi updates