VMware Cloud Community
rdobbsok
Contributor
Contributor

Lifecycle update manager remediate error

When I click on the Remediate the process starts but with in about 30 seconds it fails with " Host cannot download files from the VMWare Lifecycle Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details." 

 

I have verified the host can connect to the vCenter server on port 9084 with no issue by name and by IP address. 

When I check the esxupdate logs I find this 

07T00:11:15Z esxupdate: 2105689: esxupdate: ERROR: Traceback (most recent call last):
2021-03-07T00:11:15Z esxupdate: 2105689: esxupdate: ERROR: File "/usr/sbin/esxupdate", line 238, in main
2021-03-07T00:11:15Z esxupdate: 2105689: esxupdate: ERROR: cmd.Run()
2021-03-07T00:11:15Z esxupdate: 2105689: esxupdate: ERROR: File "/build/mts/release/bora-17325551/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esx5update/Cmdline.py", line 107, in Run
2021-03-07T00:11:15Z esxupdate: 2105689: esxupdate: ERROR: File "/build/mts/release/bora-17325551/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 91, in DownloadMetadatas
2021-03-07T00:11:15Z esxupdate: 2105689: esxupdate: ERROR: vmware.esximage.Errors.MetadataDownloadError: ('http://vcenter.dobbsadmin.com:9084/vum/repository/hostupdate/CIS/CIS-ESXi-7.0-Addon-cumulative_metad...', None, "('http://vcenter.dobbsadmin.com:9084/vum/repository/hostupdate/CIS/CIS-ESXi-7.0-Addon-cumulative_metad...', '/tmp/tmpfb4g2fcd', 'HTTP Error 503: Service Unavailable')")
2021-03-07T00:11:15Z esxupdate: 2105689: esxupdate: DEBUG:

 

I can copy this in to my browser and download the file to my windows client without issue.

http://vcenter.dobbsadmin.com:9084/vum/repository/hostupdate/CIS/CIS-ESXi-7.0-Addon-cumulative_metad...

 

0 Kudos
1 Reply
jseivers
Contributor
Contributor

Not sure if you ever got this fixed, but I had the same thing and it was all DNS related.  I could also download the file from a Windows client, but if I connected via SSH to the host and tried to ping hostname.domain.local it could not resolve the name and therefore could not download.  Once I got the DNS working, it was all good.

0 Kudos