Alspa
asked on
Upgrade ESXi 4.1 to 5.x fails with error Downloading metadata failed.
I am trying to upgrade an ESXi 4.1 host to version 5.1 or 5.5. I tried updating it with PowerCLI and esxupdate. Below are the errors I am getting.
ESXUPDATE:
esxupdate --bundle /vmfs/volumes/datastore1/E SXi-5.5.0- 1331820-st andard.zip update
error: Failed acquiring information for 'metadata-1284675570':
error: file:///var/tmp/cache/meta data-12846 75570/ESXi /Packages. gz: File not found for validation
Encountered error MetadataFormatError:
The error data is:
Filename - None
Message - Failed scanning package data: Downloading metadata failed.
Errno - 5
Description - The format of the metadata is invalid.
POWERCLI:
PowerCLI C:\> Get-VMHost | Install-VMHostPatch -HostPath /vmfs/volumes/datastore1/V Mware-ESXi -5.1.0-799 733-depot/ vmw-ESXi-5 .1.0-metad ata.zip
Install-VMHostPatch : 9/26/2013 2:14:30 PM Install-VMHostPatch The following error occured while updating host '10.2.2.121': Failed scannin
g package data: Downloading metadata failed.
At line:1 char:33
+ Get-VMHost | Install-VMHostPatch <<<< -HostPath /vmfs/volumes/datastore1/V Mware-ESXi -5.1.0-799 733-depot/ vmw-ESXi-5 .1.0-metad ata.zip
+ CategoryInfo : InvalidArgument: (:) [Install-VMHostPatch], VimException
+ FullyQualifiedErrorId : Client20_SystemManagementS erviceImpl _InstallVM HostPatch4 0_InstallE rror,VMwar e.VimAutom ation.ViCo re.Cmdlets .Commands. Host.Insta llVMHostPa tch
Why is this failing? Am I doing something wrong?
ESXUPDATE:
esxupdate --bundle /vmfs/volumes/datastore1/E
error: Failed acquiring information for 'metadata-1284675570':
error: file:///var/tmp/cache/meta
Encountered error MetadataFormatError:
The error data is:
Filename - None
Message - Failed scanning package data: Downloading metadata failed.
Errno - 5
Description - The format of the metadata is invalid.
POWERCLI:
PowerCLI C:\> Get-VMHost | Install-VMHostPatch -HostPath /vmfs/volumes/datastore1/V
Install-VMHostPatch : 9/26/2013 2:14:30 PM Install-VMHostPatch The following error occured while updating host '10.2.2.121': Failed scannin
g package data: Downloading metadata failed.
At line:1 char:33
+ Get-VMHost | Install-VMHostPatch <<<< -HostPath /vmfs/volumes/datastore1/V
+ CategoryInfo : InvalidArgument: (:) [Install-VMHostPatch], VimException
+ FullyQualifiedErrorId : Client20_SystemManagementS
Why is this failing? Am I doing something wrong?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.