Symptoms
- ESX/ESXi hosts fail to scan in vCenter Update Manager 4.1.x and 5.0 with the error:
Host cannot download files from VMware vCenter Update Manager patch store. Check the network connectivity and firewall setup, and check esxupdate logs for details.
- Scan task stalls/fails at 10% in the vCenter Server recent tasks.
- The vCenter Update Manager logs (C:\ProgramData\VMware\Infrastructure\VMware Update Manager\Logs\vmware-vum-server-log4cpp.log) contain entries similar to:
'scanHost20' 2676 INFO] [scannerImpl, 191] Ruleset disabled
'InventoryMonitor' 9000 INFO] [InventoryMonitor, 452] ProcessUpdate, Enter, Update version := 305
'InventoryMonitor' 9000 WARN] [InventoryMonitor, 748] Unexpected filter: session[52e4d79b-779b-6ec9-face-cbe215d9873a]52324f15-50e9-dbdc-fdf4-1bef6173a9e0
'HostUpdateDepotManager' 2676 ERROR] [scanHost20, 365] result for host: rac002s02.engsyslab.broadcom.com (entity: host-250432) shows error :
-----Result Begin (rac002s02.engsyslab.broadcom.com)-----1.40 4 Failed to download metadata. http://nt-irva-2503.corp.ad.broadcom.com:9084/vum/repository/hostupdate/csco/csco-VEM-5.0.0-metadata.zip None ('http://nt-irva-2503.corp.ad.broadcom.com:9084/vum/repository/hostupdate/csco/csco-VEM-5.0.0-metadata.zip', '/tmp/tmpb7hesK', '[Errno 4] IOError: <urlopen error [Errno -2] Name or service not known>')
-----Result End (rac002s02.engsyslab.broadcom.com)-----
'HostUpdateDepotManager' 2676 ERROR] [scanHost20, 380] esxupdate download failed.
'SingleHostScanTask.SingleHostScanTask{55}' 2676 ERROR] [singleHostScanTask, 399] SingleHostScan caught exception: esxupdate download failed. with code: 1
'SingleHostScanTask.SingleHostScanTask{55}' 2676 ERROR] [vciTaskBase, 556] Task execution has failed: integrity.fault.HostPatchEsxFileDownloadFailure
'scanHost20' 4688 INFO] [scannerImpl, 191] Ruleset disabled
'HostUpdateDepotManager' 4688 ERROR] [scanHost20, 348] result for host: host1.domain.com (entity: host-62484) shows error :
-----Result Begin (host1.domain.com)-----1.30 4 Failed to download metadata. [Errno 4] IOError: http://Infr-pvcrn-301.hosting.sungardhe.com:9084/vci/hostupdates/hostupdate/CISCO/metadata/csco-VEM400-4.2.1.1.4.1.0-2.0.1-metadata.zip /var/cache/esxupdate/metadata4692604695380568561/metadata.zip [Errno 4] IOError:
-----Result End (host1.domain.com)-----
'HostUpdateDepotManager' 4688 ERROR] [scanHost20, 363] esxupdate download failed.
'SingleHostScanTask.SingleHostScanTask{195}' 4688 ERROR] [singleHostScanTask, 321] SingleHostScan caught exception: esxupdate download failed. with code: 1
Cause
Resolution
- Select an ESX/ESXi host for scanning.
- Click the Update Manager tab.
- Click Admin View > Configuration > Network Connectivity.
- Click IP address or host name for the patch store and enter the appropriate IP address.
- Rescan the ESX/ESXi host.
Note: To permanently fix this issue, ensure the nslookup of the vCenter Update Manager server from the SSH session of ESX/ESXi host can resolve both forward and reverse IP. The DNS entry of the vCenter Update Manager server should be configured properly in the DNS server.
Based on VMware KB 2007398