VMware: “Failed to read the upgrade package metadata.xml” upgrading to ESXi 4.1

I was upgrading my ESXi 4.0 Update 2 host to ESXi 4.1 with “VMware vSphere Host Update Utility”, I downloaded the “ESXi 4.1 (upgrade ZIP from ESXi 4.0)” file and selected this package to upgrade the host. After validating the upgrade package I received this error:

Failed to read the upgrade package metadata: Could not find file metadata.xml

image

I’ve checked the MD5 checksum.. it was correct.. I downloaded again the upgrade package from the VMware site.. still this warning..

Solution:

ESXi doesn’t support SSH shell or, but there is a “hack” to connect the console or connect over SSH for the command line interface. Check: https://blog.vmpros.nl/2008/12/25/vmwareesxi-35-does-ship-with-the-ability-to-run-ssh/

With my VI Client I connected the datastore and uploaded the upgrade package in a new created folder called: “upgrade”

image

– Put the ESXi host in maintenance mode ^

image

– Connect the console and browse the /vmfs/volumes/[datastore01]/upgrade/ path^

image

– Give the command: “esxupdate update –m metadata.zip” and the upgrade from ESXi 4.0 Update 2 to ESXi 4.1 will be installed.. reboot your host ^

 

image

My ESXi4.0 U2 is succesfully upgraded to ESXi 4.1 😀

 

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has 15+ years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

30 thoughts on “VMware: “Failed to read the upgrade package metadata.xml” upgrading to ESXi 4.1

  1. The other way is using the CLi tools and vihostupdate

    Full update guide availabe to download @ https://www.vmware.com/pdf/vsphere4/r41/vsp_41_upgrade_guide.pdf

    Procedure
    1 Download the following upgrade ZIP bundle from the VMware Web site to a location that is accessible to the vSphere CLI machine.

    upgrade-from-ESXi4.0-to-4.1.0-0.0.build#-release.zip

    The upgrade ZIP bundle contains and esxupdate bulletin and an upgrade bulletin.

    2 Power off any virtual machines that are running on the host and place the host into maintenance mode.

    3 Install the esxupdate bulletin by running the following command on the vSphere CLI machine.

    vihostupdate –server host name or IP address -i -b location of the ESXi upgrade ZIP bundle -B ESXi410-GA-esxupdate

    4 Install the upgrade bulletin by running the following command on the vSphere CLI machine.

    vihostupdate –server host name or IP address -i -b location of the ESXi upgrade ZIP bundle -B ESXi410-GA

    5 Verify that the bulletins are installed on the ESXi host by running the following command.

    vihostupdate.pl –server host name or IP address –query

    6 Reboot the host.

  2. I couldnt get it to work on win7. vihostupdate.pl ignored -s 10.0.0.13 as input for server.

    But when I set VI_SERVER=10.0.0.13 and left out the -s switch it worked fine … its free, but damn its dodgy!

  3. Thank you. This worked for me to upgrade from v4.0 to v4.1-Update1. I had physical access to the host, so I used the console there. Alt-F1, then type “unsupported”, then you’ll be prompted for a password.

  4. SWEET. Worked great. I am a newbie to VM, so the console (alt f1 – type “unsupported” blind) threw me, but got it. VM should have this posted, very easy.

  5. This worked for 4.0.0 to 4.0.0_update4 package. Thanks so much. Very Frustrating trying to get the Host Update Utility to succeed at anything.
    Thanks and Cheers!

Leave a Reply

Your email address will not be published. Required fields are marked *