Tuesday, April 3, 2012

Upgrading ESXi 5 to 5 update 1 fails with update manager or esxcli

Issue : the VMware update manager fails to remediate 2 of 3 ESXi 5 hosts with the error “vmware vsphere update manager had an unknown error. check the events and log files for details”
All 3 were of the build 474610 and only one was updated to 623860.
update manager 5.0.08039
What did not work :
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017377
the user was already in the dbo schema
http://communities.vmware.com/thread/282048
tried to migrate all the VMs off of the host and then do a remediation after staging but it failed too.
http://communities.vmware.com/message/1984212
we can browse the syslogs directory and contents from the shell.
Detached the baselines and reattached them but no go.
Recreated the baselines but no go.
The scanning fails with the same error.
Started downloading the offline bundle for the upgrade and tried to update but it errored out
esxcli software vib update --depot /vmfs/volumes/syslogs/update-from-esxi5.0-5.0_update01.zip
Got no data from process /usr/lib/vmware/esxcli-software vib.install --updateonly   -d "/vmfs/volumes/syslogs/update-from-esxi5.0-5.0_update01.zip"
Resolution : configured the scratch config partition manually and  tried installing patches again. it worked fine.