ESXi upgrade by VUM failed as "Host cannot download files from VMware vSphere Lifecycle Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details."
search cancel

ESXi upgrade by VUM failed as "Host cannot download files from VMware vSphere Lifecycle Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details."

book

Article ID: 426178

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

vCenter has healthy baseline , but remediation stage failed as "Host cannot download files from VMware vSphere Lifecycle Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details."

In Esxi host /var/run/esxupdate.log logged events :

YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: During handling of the above exception, another exception occurred:
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: Traceback (most recent call last):
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: File "/lib64/python3.11/site-packages/vmware/esximage/Transaction.py", line 130, in DownloadMetadatas
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: mfile = d.Get()
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: File "/lib64/python3.11/site-packages/vmware/esximage/Downloader.py", line 576, in Get
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: return self._getfromurl()
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: File "/lib64/python3.11/site-packages/vmware/esximage/Downloader.py", line 474, in _getfromurl
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: raise DownloaderError(self.url, self.local, str(e))
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: vmware.esximage.Downloader.DownloaderError: ('http://=vCenter-FQDN:9084/vum/repository/hostupdate/CIS/CIS-ESXi-7.0-Addon-cumulative_metadata.zip', '/tmp/tmpjom_jf9g', <urlopen error [Errno -3] Temporary failure in name resolution>)
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: During handling of the above exception, another exception occurred:
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: Traceback (most recent call last):
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: File "/usr/sbin/esxupdate", line 367, in main
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: EsxupdateLivePatcherMount.InitCommand(command, cmdArgs, options.meta,
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: File "/usr/sbin/esxupdate", line 199, in InitCommand
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: meta = Transaction.Transaction.DownloadMetadatas([url],
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: File "/lib64/python3.11/site-packages/vmware/esximage/Transaction.py", line 132, in DownloadMetadatas
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: raise Errors.MetadataDownloadError(metaUrl, None, str(e))
YYYY-MM-DDTHH:MM:49Z Er(11) esxupdate[85577742]: vmware.esximage.Errors.MetadataDownloadError: ('http://vCenter-FQDN:9084/vum/repository/hostupdate/CIS/CIS-ESXi-7.0-Addon-cumulative_meta
ta.zip', None, "('http://vCenter-FQDN:9084/vum/repository/hostupdate/CIS/CIS-ESXi-7.0-Addon-cumulative_metadata.zip', 

Environment

  • vSphere ESXi 7.x
  • vSphere ESXi 8.x
  • vSphere vCenter Server Appliance 7.x
  • vSphere vCenter Server Appliance 8.x

Cause

  • The ESXi host can not resolve the vCenter FQDN correctly.
  • While the ESXi host is able to ping the VCSA IP address and is connected to the VCSA, it is unable to ping the VCSA when using the FQDN address.
  • The ESXi host has the wrong or non functional DNS server(s) and/or search domain(s) . 

Resolution

Use one of the methods described in ESXi upgrade by VUM failed as "Host cannot download files from VMware vSphere Lifecycle Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details." to update the DNS configuration of the ESXi hosts.

Additional Information

DNS server IP address update on vSphere ESXi host