VMware Cloud Community
DGI_Drift
Contributor
Contributor

Update manager fails to scan

Hi

After upgrades to vCenter 5.1.0a, the newest update manager and upgrading host to ESXi 5.1, I have some issues to use update manager to upgrade the last patches to the host.

I get this error in vCenter:

Host cannot download files from VMware vSphere Update Manager Patch Store. Check the Network Connectivity and firewall, and check esxupdate logs for details.

I have checked this KB: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=200739...

The esxupdate.log says this:

Command: scan
Args: ['scan']
Options: {'nosigcheck': None, 'retry': 5, 'loglevel': None, 'cleancache': None, 'viburls': None, 'meta': ['http://x.x.x.x:9084/vci/hostupdates/hostupdate/csco/csco-VEM-5.1.0-metadata.zip', 'http://x.x.x.x:9084/vci/hostupdates/hostupdate/vmw/vmw-ESXi-5.1.0-metadata.zip'], 'proxyurl': None, 'timeout': 30.0, 'cachesize': None, 'hamode': True, 'maintenancemode': None}
2012-11-29T13:17:17Z esxupdate: BootBankInstaller.pyc: INFO: Unrecognized value "title=Loading VMware ESXi" in boot.cfg
2012-11-29T13:17:17Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/bootOption', '-rp']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2012-11-29T13:17:17Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = '['/sbin/bootOption', '-ro']', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2012-11-29T13:17:18Z esxupdate: downloader: DEBUG: Downloading http://x.x.x.x:9084/vci/hostupdates/hostupdate/csco/csco-VEM-5.1.0-metadata.zip to /tmp/tmpZ7c5wI...
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR: An esxupdate error exception was caught:
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR: Traceback (most recent call last):
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR:   File "/usr/sbin/esxupdate", line 216, in main
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR:     cmd.Run()
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR:   File "/build/mts/release/bora-799733/bora/build/esx/release/vmvisor/sys/lib/python2.6/site-packages/vmware/esx5update/Cmdline.py", line 106, in Run
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR:   File "/build/mts/release/bora-799733/bora/build/esx/release/vmvisor/sys/lib/python2.6/site-packages/vmware/esximage/Transaction.py", line 71, in DownloadMetadatas
2012-11-29T13:17:18Z esxupdate: esxupdate: ERROR: MetadataDownloadError: ('http://x.x.x.x:9084/vci/hostupdates/hostupdate/csco/csco-VEM-5.1.0-metadata.zip', None, "('http://x.x.x.x:9084/vci/hostupdates/hostupdate/csco/csco-VEM-5.1.0-metadata.zip', '/tmp/tmpZ7c5wI', '[Errno 14] HTTP Error 404: Not Found')")

Can anyone help me?

0 Kudos
4 Replies
Troy_Clavell
Immortal
Immortal

From the Configuration tab of VUM, and download settings, you can "test connection" fine?  When was the last time your scheduled tasks for VUM ran?

0 Kudos
DGI_Drift
Contributor
Contributor

Internet Connection Test:

The following URLs have been successfully accessed:

I can manually, push Download Now, under Download Settings and i works fine.

It seems like the host can't reach the update manager, but they are in the same subnet, so there is no firewall that is blocking anything.

I don't know if this helps you find anything other wrong?

0 Kudos
MKguy
Virtuoso
Virtuoso

The host can't download a metadata package from 'http://x.x.x.x:9084/vci/hostupdates/hostupdate/csco/csco-VEM-5.1.0-metadata.zip', VUM responds with a 404 not found. Can you access that URL from a browser? On the VUM server check if the file is present in "C:\ProgramData\VMware\VMware Update Manager\Data\hostupdate\csco" or whereever you configured VUM to download patches to.

My VUM actually uses other URL paths, not /vci/hostupdates/hostupdate but /vum/repository/hostupdate/:

2012-11-20T10:46:40Z esxupdate: downloader: DEBUG: Downloading http://vumserver.domain.local:9084/vum/repository/hostupdate/csco/csco-VEM-5.1.0-metadata.zip to /tmp/

I suppose this is the correct path in your case too. Try to remove the Cisco updates/extensions from the VUM baseline and scan again. If you're not even using the Cisco Nexus 1000V vSwitch, you should disable the builtin download source in VUM too.

-- http://alpacapowered.wordpress.com
0 Kudos
DGI_Drift
Contributor
Contributor

Thanks for any answers Smiley Happy

I did an uninstall and reinstall, and now everything seems to works fine Smiley Happy

0 Kudos