VMware Cloud Community
PaperorPlastek
Contributor
Contributor

ESXi Upgrade to Update 1 - HELP!

I have been banging my head against the wall for 2 days now and would like some feedback/solutions. I am trying to apply the update-from-esxi4.1-4.1_update01.zip to my ESXi hosts. Currently in this setup the only 2 options I have is vihostupdate.pl or to upload the updates to the datastore and use esxupdate. Both options are failing with different errors. I have plenty of free space available. Below are the errors. Any help would be welcomed!

Tardisk                  Space      Used
SYS1                      200M      200M
SYS2                       55M       55M
SYS3                       12K       12K
SYS4                       12K       12K
SYS5                       12K       12K
SYS6                       24K       24K
-----
Ramdisk                   Size      Used Available Use% Mounted on
MAINSYS                    32M        1M       30M   4% --
tmp                       192M        8K      191M   0% --
updatestg                 750M       68K      749M   0% --
hostdstats                107M        1M      105M   1% --

df -h
Filesystem                Size      Used Available Use% Mounted on
visorfs                   1.3G    259.5M      1.1G  19% /
vfat                      4.0G    210.4M      3.8G   5% /vmfs/volumes/4c44283f-eb33cda4-a79f-00215ad32f24
vmfs3                   838.0G    468.1G    369.9G  56% /vmfs/volumes/4c45fa53-e58e625a-1306-00215ad32f24
vfat                    285.9M    136.9M    149.0M  48% /vmfs/volumes/3c3693e8-f77a642a-1910-5c6bdcb26d3a
vfat                    249.7M     87.8M    161.9M  35% /vmfs/volumes/8224a277-b9a492ff-f1c5-75ca5e1e8038
vfat                    249.7M     88.3M    161.5M  35% /vmfs/volumes/9e350771-dec9e117-ddd0-296b54d28901
vmfs3                   131.8G    561.0M    131.2G   0% /vmfs/volumes/4c44283f-4d4aedfb-94c4-00215ad32f24

This is being ran from my datastore with ~300GB free:

/sbin/esxupdate --bundle update-from-esxi4.1-4.1_update01.zip update
Unpacking deb_vmware-esx-tools-light_4.1.0-1.4.348481               ############################################################################################## [100%]

Unpacking deb_vmware-esx-firmware_4.1.0-1.4.348481                  ############################################################################################## [100%]

Unpacking cross_oem-vmware-esx-drivers-scsi-3w-9xxx_400.2.26.08.0.. ############################################################################################## [100%]

Unpacking cross_oem-vmware-esx-drivers-net-vxge_400.2.0.28.21239-.. ############################################################################################## [100%]

Encountered error VisorSetupError:
The error data is:
   Message     - Bootbank preparation failed: ['/sbin/bootbankstage-install.sh',
                 '-v', 'prep'] returned (1)
   Errno       - 17
   Description - There was an error setting up ESXi installation destination

Here is the error I get when I attempt to use the vihostupdate.pl:

error.jpg

My ScratchConfig is correct and points to the right location.

Here is what I am pulling out of /var/log/messages after running esxupdate:

Feb 14 17:12:35 esxupdate: esxupdate: ERROR: An esxupdate error exception was caught: Traceback (most recent call last):   File "/sbin/esxupdate", line 257, in <module>     cmd.Run()   File "/lib/python25-visor.zip/pythonroot/vmware/esx45update/cmdline.py", line 245,
Feb 14 17:12:35  in Run     noconflicts=noconflicts, installdeps=False)   File "/lib/python25-visor.zip/pythonroot/vmware/esx45update/Transaction.py", line 760, in run     self._run(**solverkwargs)   File "/lib/python25-visor.zip/pythonroot/vmware/esx45update/Transaction
Feb 14 17:12:35 .py", line 617, in _run     nodeps=nodeps, olderversion=olderversion   File "/lib/python25-visor.zip/pythonroot/vmware/esx45update/platform/_visor.py", line 307, in PackageTransaction     conf.BeginBootbankUpdate()   File "/lib/python25-visor.zip/pythonro
Feb 14 17:12:35 ot/vmware/esx45update/platform/_visor.py", line 690, in BeginBootbankUpdate     'returned (%d)' % (cmd, rc)) VisorSetupError: Bootbank preparation failed: ['/sbin/bootbankstage-install.sh', '-v', 'prep'] returned (1)

Reply
0 Kudos
3 Replies
PaperorPlastek
Contributor
Contributor

Anyone? Short of trying the upgrade CD, I am not sure of what else to try.

Reply
0 Kudos
PaperorPlastek
Contributor
Contributor

I have fixed my own issue and was successfully able to update with the vihostupdate.pl.

In the \etc\vmware\hostd\proxy.xml file the first line:

<e id="0">
      <_type>vim.ProxyService.LocalServiceSpec</_type>
      <accessMode>httpsWithRedirect</accessMode>
      <port>8309</port>
      <serverNamespace>/</serverNamespace>

In the port configuration it was 8307. I changed it to reflect 8309, ran /sbin/services.sh restart and was able to update the host! I hope this helps out other people who may run into this issue!

-Steve

Reply
0 Kudos
nkrishnan
Expert
Expert

Please confirm the following?.

1) are you using vSphere Command Line Interface 4.1 or older version. we have to use VCLI 4.1 working on vSphere4.1 or upgrading to vSphere 4.1.x

2) what is your base ESXi version that you have it. The zip file that you have mentioned  update-from-esxi4.1-4.1_update01.zip is for updating the host from ESXi4.1 to ESXi4.1Update01.

If you are having base version ESX4.0 or 4.0 update release, use  upgrade-from-esxi4.0-to-4.1-update01-348481.ZIP and VCLI 4.1 version for upgrade from ESXi4.0.x to ESxi4.1Update01.

3) Use the command vihostupdate --server <server name> -i -b <bundle name> -- follow the option in sequence.

4) Hope you configured scrach to VMFS volume, if it embedded system.

4) esxupdate and Update using ISOs are not support to upgrade ESXi. esxupdate support only ESX upgrade or patching.

Refer  http://www.vmware.com/support/vsphere4/doc/vsp_esxi41_u1_rel_notes.html#installation have detailed matrix for quick reference.

If you still facing the problem, please upload the vm-support log.

Thanks

Nithin

--Nithin
Reply
0 Kudos