Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Unable to scan ESX hosts using Update Manager 4.x

Symptoms

  • Update Manager 4.x fails to scan ESX 3.5.x or ESX 4.x hosts successfully.
  • You may see the error:

    Cannot find the patch metadata. You may try redownloading patches, or ensuring the network connectivity and DNS between VMware vCenter Update Manager and host are setup correctly. Check host agent, vpxa and esxupdate logs for details.
     
  • The Update Manager logs (C:\Documents and Settings\All Users\Application Data\VMware\Update Manager or C:\Users\All Users\VMware\VMware Update Manager\Logs\vmware-vum-server-log4cpp.log) contain entries similar to:

    2009-09-22 17:17:32:823 'scanHost20' 5576 INFO]  [scannerImpl, 190] Ruleset disabled
       [2009-09-22 17:17:32:823 'HostUpdateDepotManager' 5576 INFO]  [scanHost20, 76] Scan result: ---------
       <esxupdate-response>
         <version>1.20</version>
         <error errorClass="MetadataDownloadError">
        <errorCode>4</errorCode>
        <errorDesc>Failed to download metadata.</errorDesc>
        <errorDesc>[Errno 14] HTTP Error 404: Not Found</errorDesc>
        <url>http://loki:80/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip</url>
        <localfile>/var/cache/esxupdate/metadata-6091064010777189413/metadata.zip</localfile>
        <message>[Errno 14] HTTP Error 404: Not Found</message>
         </error>
       </esxupdate-response>
     
  • ESX 3.5.x host logs (/var/log/vmware/esxupdate.log) contains entries similar to:

    [09Nov12-0925]   DEBUG:   summary: /usr/sbin/esxupdate --HA --flushcache -d http://vCenter4:80/vci/hostupdates/hostupdate/esx/esx-3.5.0 scan
    [09Nov12-0925]   DEBUG:      root: Enabling hostagent interface
    [09Nov12-0925]   DEBUG:        db: dbfile = [/etc/vmware/patchdb/patch.db], 68 keys
    [09Nov12-0925]   DEBUG:     Depot: Download Rules: {'blacklist': ['*.rpm', '*/headers'], 'exclusives': []}
    [09Nov12-0925]   ERROR:      root: [Errno 4] IOError: HTTP Error 404: Not Found:
    http://vCenter4:80/vci/hostupdates/hostupdate/esx/esx-3.5.0/contents.xml.sig
     
  • ESX 4.x host logs (/var/log/vmware/esxupdate.log) contains entries similar to:

    [2009-09-22 17:18:03]   DEBUG:   vibcache: Esxupdate Vib database not loaded - /etc/vmware/esxupdate/vibs.xml does not exist yet.
    [2009-09-22 17:18:03]   DEBUG: downloader: Using /var/cache/esxupdate/metadata-3071704808630864759 for zip
    http://192.168.100.47:80/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip
    [2009-09-22 17:18:03]   DEBUG: downloader: Downloading http://192.168.100.47:80/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip to /var/cache/esxupdate/metadata-3071704808630864759/metadata.zip...
    [2009-09-22 17:18:03]   ERROR:  esxupdate: An esxupdate error exception was caught:
    Traceback (most recent call last):
      File "/usr/sbin/esxupdate", line 234, in ?
        cmd.Run()
      File "/usr/lib/vmware/python2.4/site-packages/vmware/esx4update/cmdline.py", line 433, in Run
        metadata = self.GetCombinedMetadata(usePkgDb=usePkgDb)
      File "/usr/lib/vmware/python2.4/site-packages/vmware/esx4update/cmdline.py", line 135, in GetCombinedMetadata
        metadata.Load(iface = self.iface)
      File "/usr/lib/vmware/python2.4/site-packages/vmware/esx4update/VibCache.py", line 422, in Load
        raise errors.MetadataDownloadError(e.url, e.local, e.err)
    MetadataDownloadError: ('http://192.168.100.47:80/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip', '/var/cache/esxupdate/metadata-3071704808630864759/metadata.zip', '[Errno 14] HTTP Error 404: Not Found')
     
  • Disabling firewalls does not resolve this issue. 

Resolution

This issue occurs if the port information in the vci-integrity.xml file is incorrect.
 
Correct port information looks like:
<PatchDepotProxyUrl/>
<PatchDepotUrl>http://192.168.100.47:9084/vci/hostupdates/hostupdate</PatchDepotUrl>
Incorrect port information may look like:
<PatchDepotProxyUrl/>
<PatchDepotUrl>http://192.168.100.47:80/vci/hostupdates/hostupdate</PatchDepotUrl>
To resolve this issue, you must correct the port information in the vci-integrity.xml file.
 
To correct the port information:
  1. Open the file vci-integrity.xml in a text editor. The default location is C:\Program Files\VMware\Infrastructure\Update Manager\vci-integrity.xml.
  2. Ensure that the file has the correct port information:

    <PatchDepotProxyUrl/>
    <PatchDepotUrl>http://192.168.100.47:9084/vci/hostupdates/hostupdate</PatchDepotUrl> 

     
  3. Save and close the file.
  4. Restart the VMware Update Manager Service.

Tags

update-manager-fails-to-scan

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions