I hit this issue when attempting to update to 6.5.0 U1 and swap was enabled, but not set to use my datastore. This was an easy fix. Thank you! I previously have had to update the ESXi environments using a thumb drive which extended downtime. With 6.5.0 U1 only being an update at this point, I was unable to move to this version using my previous method and was stuck not being able to use the CLI update method either.
Just when I ended up installing them like this:
esxcli software vib update \
I read the part about the swap location....
Oh well, in case the swap thing doesn't work for someone, the above worked for me.
I got all the urls to the individual patches from https://esxi-patches.v-front.de/ESXi-6.5.0.html
Thanks, guys solved my issue too. working
This resolved it for me, thanks FirstSOul.
This worked for me 100% I have added the commands below for the 2018 update which includes the fix for the Spectre vulnerability;
- cd /tmp
- esxcli software vib install -f -v /tmp/VMware_locker_tools-light_6.5.0-1.33.7273056.vib
- esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.5.0-20180104001-standard
How did you know the url to download the individual VIB?
Just enabling swap on a datastore fixed the issue for me as well. BTW the swap setting is in Manage, System (not Host, System)
Thank you so much, it works for me too.
2 people found this helpful
I got this problem when upgrading from 6.7u1 to 6.7u2 and solved it with the manual vib installation as well. Thanks so much for that tip - saved me lots!
[user@host:~] cd /tmp
[user@host:/tmp] esxcli software vib install -f -v /tmp/VMware_locker_tools-light_10.3.5.10430147-12986307.vib
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: VMware_locker_tools-light_10.3.5.10430147-12986307
VIBs Removed: VMware_locker_tools-light_10.3.2.9925305-10176879
I also attempted an ESXCLI upgrade, failing, with swap file set work-arounds not getting resolving the error. What's interesting about your approach is that it seems to indicate it's not always a storage/swap issue. I'm wondering if anybody has found the root cause, and/or a more elegant (simpler) work-around yet?
I have been experiencing a near identical issue on my HP Z420 (Xeon E5-1620, 64GB RAM), trying to apply 6.7 U2 using the one-liner while currently on Version: 6.7.0 Update 1 (Build 11675023) when attempting to issue the one-liner update, the --dry-run appears to finish successfully, without issue, however I'm still unable to apply this update, even after attempting to follow along with the various suggestions. I've added one of my local datastores as /swap, however this has still failed to resolve the issue and I'm not really sure what I'm doing wrong at this point. Original image profile:
> vdf -h
Ramdisk Size Used Available Use% Mounted on
root 32M 2M 29M 7% --
etc 28M 220K 27M 0% --
opt 32M 40K 31M 0% --
var 48M 504K 47M 1% --
tmp 256M 32K 255M 0% --
iofilters 32M 0B 32M 0% --
shm 1024M 0B 1024M 0% --
hostdstats 303M 3M 299M 1% --
And the exact issue(s) that seem to continually pop up, no matter what I attempt to resolve this:
[root@esxi2:~] esxcli software profile update -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml -p ESXi-6.7.0-20190402001-standard [InstallationError] [Errno 28] No space left on device vibs = VMware_locker_tools-light_10.3.5.10430147-12986307 Please refer to the log file for more details.
I appear to have plenty of space available:
[root@esxi2:~] stat -f / File: "/" ID: 100000000 Namelen: 127 Type: visorfs Block size: 4096 Blocks: Total: 641306 Free: 447708 Available: 447708 Inodes: Total: 655360 Free: 648545
Didn't have any issues updating my primary ESXi host (Cisco UCS-C240-M3S), which is using the custom Cisco image profile: (Updated) ESXi-6.7.0-20190402001-standard (Cisco)
Version: 6.7.0 Update 2 (Build 13006603)
Guess I'll continue to go bash my head against the wall some more -- at this point I'd even consider re-rolling the bootable USB media with a fresh install of a 6.7 U2 ISO, but there doesn't appear to be the custom HPE variant I'm looking for. Perhaps this HPE Gen9 Plus Custom Image for ESXi 6.7 U2 Install CD 2019-04-18 would work, but for some reason I thought i used a different ISO when I refreshed things back in February with v6.7 -- thanks to all who have contributed to this thread, I've obviously still got a lot to learn.
EDIT: Thanks, pbraren -- i've found a LOT of helpful information on your page(s) and it's been the primary place I go for up to the minute reference material(s). Cannot thank you enough for the contributions you continue to make to this wonderful community, sir.
A simple reboot got the swap file fix working just fine, with the 2nd ESXCLI attempt working just fine, session transcript here. Another similar host didn't need the swap fix, not sure what the difference between the two was. Glad to now have my VCSA at 6.7U2 and my ESXi hosts at 6.7U2 now, looking good so far.