Hi,
I don't really know what happened.First I upgraded current 2.5 version with vCenter4. Then I performed also VUM upgrade (with database upgrade). No errors were reported. Then I successfuly upgraded (well not exactly) 2 ESX hosts to vSphere by attaching upgrade baseline. During upgrade of first host one thing was deleted - IP configuration on vSwif0, so service console didn't work (i had to manually re-enter this IP).
But upgrade finished completely. After this I wanted to scan these 2 ESX hosts with patches, but I am getting error like on attached screens. I checked VC config, and it shows correct IP. these 2 ESX hosts can ping ip of VUM.
I checked esxcfg-firewall, and added updateManager to services, but still no luck.
output from esxcfg-firewall -q is:
Incoming and outgoing ports blocked by default.
Enabled services: CIMSLP ntpClient VCB CIMHttpsServer sshClient vpxHeartbeats updateManager CIMHttpServer sshServer
on ESX log (/var/log/vmware/esxupdate.log) there are following errors:
DEBUG: lock: Lock file /var/run/esxupdate.pid created with PID 29845
Command: scan
Args:
Options: {'nodeps': None, 'all': None, 'retry': 5, 'vibview': None, 'nocache': None, 'loglevel': 'DEBUG', 'cleancache': None, 'bundles': None, 'nosigcheck': None, 'bundlezips': None, 'olderversion': None, 'proxyurl': None, 'meta': , 'timeout': 30.0, 'cachesize': None, 'HA': True, 'maintenancemode': None}
DEBUG: vibcache: Esxupdate Vib database not loaded - /etc/vmware/esxupdate/vibs.xml does not exist yet.
DEBUG: downloader: Using /var/cache/esxupdate/metadata-4287445728216820101 for zip http://10.0.240.250/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip
DEBUG: downloader: Downloading http://10.0.240.250/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip to /var/cache/esxupdate/metadata-4287445728216820101/metadata.zip...
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://10.0.240.250/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip', '/var/cache/esxupdate/metadata-4287445728216820101/metadata.zip', '[Errno 14] HTTP Error 404: Not Found')
On vCenter I see that on D:\VMUPDATE\hostupdate\vmw\metadata\vmw-ESX-4.0.0-metadata.zip exists.
I also checked log in path C:\Documents and Settings\All Users\Application Data\VMware\VMware Update Manager\Logs\vmware-vum-server-log4cpp.log
<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://10.0.240.250/vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip</url>
<localfile>/var/cache/esxupdate/metadata-4287445728216820101/metadata.zip</localfile>
<message>[Errno 14] HTTP Error 404: Not Found</message>
</error>
</esxupdate-response>
I have no clue how to fix this problem. Did anyone see this before (after upgrading to vSphere)?
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
The message in the UM tab is informational. I am getting it on my UM and it is working fine. Have you downloaded the updates for VMware then scanned your hosts? If you click on from another computer, deos it download the file? My esxcfg-firewall -q output looks similar to yours. If you are unable to update the hosts, I would make sure there are no firewalls between the UM server and the hosts blocking ports 80, 8084 and 9000-9100.
Kevin
if I click on this path, I get "file not found" (so the same as in logs). I can't scan hosts, I can stage hosts because all time I get this error.there are no firewalls between.
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
ok, I decided to completely uninstall VUM, and install it again (also deleted all UM content from disk, and erased UM database). Now it works good.
If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points
Update Manager's default port is 9084
The correct url will be "[http://10.0.24.250:9084//vci/hostupdates/hostupdate/vmw/metadata/vmw-ESX-4.0.0-metadata.zip] "
Update Manager's is default installed at "C:\Program Files\VMware\Infrastructure\Update Manager"
You can go to this dir ,open the configure file vci-integrity.xml,
Find the lable "<PatchDepotUrl/>"
Change it to "<PatchDepotUrl>http://10.0.24.250:9084//vci/hostupdates/hostupdate</PatchDeporUrl>"
I just doing so,It works fine!