vCenter

 View Only
Expand all | Collapse all

Update Manager - metadata for patch missing.

Aaron Kopel

Aaron KopelFeb 02, 2008 09:58 PM

  • 1.  Update Manager - metadata for patch missing.

    Posted Jan 31, 2008 08:26 AM

    After finally successfully upgrading our 2.0 VI installation to 2.5, we are having problems with Update Manager. It seems updates download fine and baslines show up ok. We are able to successfully attach baselines, scan, and remediate any GUEST machines. On ESX hosts, we can attach baselines but cannot successfully scan them. Each time I see VMWARE UPDATE MANAGER HAD A FAILURE (under SCAN ENTITY) followed by METADATA FOR PATCH MISSING (under SCAN). I see a total of 10 updates on the baseline for ESX machines, but no way to apply them. Needless to say, we cannot remediate any ESX hosts (all 3.5 upgraded from 3.0.2). Any ideas ?



  • 2.  RE: Update Manager - metadata for patch missing.

    Posted Feb 02, 2008 09:58 PM

    I'm having the same exact issue...

    AK



  • 3.  RE: Update Manager - metadata for patch missing.

    Posted Feb 04, 2008 09:50 AM

    im having the same problem....



  • 4.  RE: Update Manager - metadata for patch missing.

    Posted Feb 04, 2008 03:24 PM

    OK,

    I figured this one out... Here is a previous thread...

    http://communities.vmware.com/thread/122007?tstart=0&start=0

    Essentially, our Virtual Center was not using the default of port 80 for communications...

    Here are the steps:

    1) figure out which port your Virtual Center is using: Administration>VirtualCenter Management Server Configuration>Web Service (Note the HTTP port)

    2) log into the esx server in question

    3) esxcfg-firewall -o 8080,tcp,out,UpdateManager (where 8080 can be changed to the port of your Web Service port)

    That fixed it for me!



  • 5.  RE: Update Manager - metadata for patch missing.

    Posted Feb 05, 2008 12:33 PM

    I did everything of changing ports, changing <<patchstore> and <path> under <docRootHostUpdatespatchstore> .....I but....it doesnt work...any idea???



  • 6.  RE: Update Manager - metadata for patch missing.

    Posted Feb 05, 2008 03:55 PM

    above did not fix it for me either. however, i found the following.

    i did a reinstall of updatemgr (database deleted) and started from scratch. Downloading patches went ok, but when i want to start the scan for updates on a host, it times out.

    During this proces, i monitored /var/log/vmware/esxupdate.log

    DEBUG: summary: /usr/sbin/esxupdate --HA --flushcache -d scan

    DEBUG: root: Enabling hostagent interface

    DEBUG: db: dbfile = , 1 keys

    DEBUG: Depot: Download Rules: {'blacklist': , 'exclusives': []}

    ERROR: root: IOError: <urlopen error (110, 'Connection timed out')>

    ERROR: hostagent: BundleID:Unknown

    ERROR: hostagent: File:http://10.1.1.10:80/vci/hostupdates/hostupdate/esx/esx-3.5.0/contents.xml.sig

    ERROR: hostagent: Extra:()

    the agent uses 10.1.1.10:80, but vcserver (with updatemgr installed) runs at 10.1.0.10

    resolving is ok, from both sides, forward and back. and i never made that typo. No host file entries. Always used hostnames in configuration during the installation of updatemanager.

    where is this ip address configured on the host? can i delete the patchdb maybe?



  • 7.  RE: Update Manager - metadata for patch missing.

    Posted Feb 10, 2008 03:03 AM

    I'm having the exact same issue. My esxupdate log shows that the host is trying to communicate with the VC on an IP that was used for the initial installation and I cannot figure out where the host keeps the VC IP so I can change it to the VC production IP.

    Any ideas?

    Thanks!



  • 8.  RE: Update Manager - metadata for patch missing.

    Posted Feb 10, 2008 08:37 AM

    I did not find an IP yet, but the hostname for the VC is in vci-integrity.xml on the VC/Update manager host.

    Duncan

    My virtualisation blog:



  • 9.  RE: Update Manager - metadata for patch missing.

    Posted Feb 10, 2008 10:17 PM

    What is the location of that file?

    Thanks.



  • 10.  RE: Update Manager - metadata for patch missing.

    Posted Feb 10, 2008 10:29 PM

    Hi Guys,

    I have same issue with metadata, my VC server was on different port. After executing the command "/usr/local/esxcfg-firewall --openport

    81,tcp,out,dynamicupdates" on the VM host, the error disappeared.



  • 11.  RE: Update Manager - metadata for patch missing.

    Posted Feb 11, 2008 08:15 AM

    no thats not it. the esxupdate.log on the HOST is trying to connect to an IP address i've never configured anywhere. the vci-integrity.xml is fine



  • 12.  RE: Update Manager - metadata for patch missing.

    Posted Feb 11, 2008 10:16 AM

    Hi people...

    Finally, after check all ports and everything I know about all of this, I´ve installed a new virtual machine with XP and virtual center. I´ve keept the license server phisicall machine, and this started to work. I still having any error about not compliant one patch, but I´ll see about that...

    This was the only way I found to put it working...

    bye



  • 13.  RE: Update Manager - metadata for patch missing.

    Posted Feb 27, 2008 11:42 AM

    JeffST

    The IP address is configured in the VirtualCenter under the registry key: HKLM\SOFTWARE\VMware, Inc.\VmwareUpdate Manager

    You have to change the Ip in the VCServer key.

    I have the same problem, and after change this value and reboot the system, the update manager works fine.

    Regards,

    Martí



  • 14.  RE: Update Manager - metadata for patch missing.

    Posted Feb 11, 2008 04:19 PM

    Solved!

    When I orignially installed VC the server had different IP. I uninstalled VC and re-installed and re-initialized the DB. After that Update Manager worked perfectly.

    Drastic mesure, but it did the trick.



  • 15.  RE: Update Manager - metadata for patch missing.

    Posted Mar 10, 2008 03:13 PM

    Same problem. My VC ip has never changed and everything looks to be correct that has already been posted. Any other resolutions?



  • 16.  RE: Update Manager - metadata for patch missing.

    Posted Mar 22, 2008 06:50 AM

    was able to resolve this problem by rescheduling the update downloads:

    on the vmware infrastructure client click on Plugins -> Update Manager -> Schedule Update Download

    Select the updates you want to download then next

    Set the start time about 2 minutes past current time and select the current day of the week.

    This will download the metadata needed.



  • 17.  RE: Update Manager - metadata for patch missing.

    Posted Mar 22, 2008 04:46 PM

    Scheduling the updates worked. Not a resolution that I would have even considered. I'm curious to know what the difference is between the manual vs. scheduled updater.



  • 18.  RE: Update Manager - metadata for patch missing.

    Posted Mar 23, 2008 02:30 AM

    Anyhow, this is an awesome edition that has been needed for a long time. Updates fixed a couple other issues I was having...



  • 19.  RE: Update Manager - metadata for patch missing.

    Posted Mar 23, 2008 02:39 PM

    Just speculation, but I believe that the Scheduled Update goes to the VMware website and downloads a file with the list of current updates. Then the scan for updates uses this list to check the ESX servers and/or virtual machines for any need service packs, updates, and/or hot fixes..

    Note: For those using proxy servers read pages 15 and 16 of the update manager administration guide.

    http://www.vmware.com/pdf/vi3_vum_10_admin_guide.pdf



  • 20.  RE: Update Manager - metadata for patch missing.

    Posted Apr 25, 2008 12:54 PM

    Hi

    I had also this strange problem but i have solved it for my company.

    Go to the vci-integrity.xml file and look for the following :

    <!-- HostUpdate Management Configuration -->

    <HostConfig>

    In the Next Line Try something like that:

    <PatchDepotURL>http://VCServerHostName:80/vci/hostupdates/hostupdate</PatchDepotURL>

    restart the VMWare update manager service and then try to scan again.

    Hope it works for you



  • 21.  RE: Update Manager - metadata for patch missing.

    Posted Jun 25, 2008 07:07 AM

    Thank you very much to Aldaendi.... the suggestion to adding in the PatchDepotURL solved my problem.

    THANK YOU!!! :smileylaugh:

    Hi

    I had also this strange problem but i have solved it for my company.

    Go to the vci-integrity.xml file and look for the following :

    <!-- HostUpdate Management Configuration -->

    <HostConfig>

    In the Next Line Try something like that:

    <PatchDepotURL>[http://VCServerHostName:80/vci/hostupdates/hostupdate]</PatchDepotURL>

    restart the VMWare update manager service and then try to scan again.

    Hope it works for you



  • 22.  RE: Update Manager - metadata for patch missing.

    Posted Aug 21, 2009 02:09 PM

    thanks aldaendi, your solution worked for me!



  • 23.  RE: Update Manager - metadata for patch missing.

    Posted May 09, 2008 04:04 AM

    Just upgraded to VC 2.5 Update 1 and all of a sudden had the same issue with updates, even though everything worked before and no modifications were done. Could be that I missed something in documentation, but anyway here is what was the problem in my case and what fixed it...

    On the initial install of VC 2.5 we have specified a non-default location for updates and metadata - we placed the folder in the root of the drive. When faced with the this problem not being able to scan for updates - I went to vci-integrity.xml and noticed that this setting was pointing to a wrong place:

    <docRootHostUpdates>

    <namespace>"/vci/hostupdates"</namespace>

    <path>C:\Documents and Settings\All Users\Application Data\VMware\VMware Update Manager\Data\</path>

    </docRootHostUpdates>

    </docRootMap>

    Once I changed the path back to the correct folder - everything started working again. And this might explain why manual scans didn't work, whereas automatic did. With automatic it would download the metadata from vmware servers servers and place it into a new folder - but with manual it relies on whatever there is already. Or am I mistaken? Anyway - could help somebody else :smileyhappy:



  • 24.  RE: Update Manager - metadata for patch missing.