hi there , im trying to upgrade my esxi hosts from 6.5 to 6.7 from this command :
esxcli software vib update -d /vmfs/volumes/iso-and-templates-pri-ssd/hte-vm/ESXi670-202111001.zip
but i get this error :
[DependencyError]
VIB VMware_bootbank_esx-base_6.7.0-3.159.18828794 requires esx-update >= 6.7.0-3.159, but the requirement cannot be satisfied within the ImageProfile.
VIB VMware_bootbank_esx-base_6.7.0-3.159.18828794 requires esx-update << 6.7.0-3.160, but the requirement cannot be satisfied within the ImageProfile
the true is that other machines with the same version (6.5) successfully updated through this command to 6.7 , but for this 2 hosts i get this error
any ideas ?
You do realize ESXi 6.7 is not supported, which is probably the root cause of your issues.
For upgrades I usually use the "esxcli software profile install ..." command, unless additional drivers, which are not included in the used offline bundle (.zip archive) are required for the server hardware.
In case your hardware vendor offers a vendor customized ESXi image (or offline bundle), use this to upgrade the host, as it most likely contains everything that's needed.
Example:
esxcli software sources profile list -d /vmfs/volumes/datastore/folder/offline-bundle.zip
esxcli software profile install -d /vmfs/volumes/datastore/folder/offline-bundle.zip -p <profilename> --ok-to-remove --dry-run
Please note that the "--dry-run" option can be used for a test run, which will show what the command will do without changing anything.
André
so you suggest to run this command ?
esxcli software sources profile list -d /vmfs/volumes/iso-and-templates-pri-ssd/hte-vm/ESXi670-202111001.zip
esxcli software profile install -d /vmfs/volumes/iso-and-templates-pri-ssd/hte-vm/ESXi670-202111001.zip -p ESXi-6.7.0-20211104001-standard --ok-to-remove --dry-run
its ok to run this option (--ok-to-remove) it will be remove the VIB's already installed right?
if its failed again can we rollback to 6.5 ?
as you mention good idea is also to add the option "--dry-run"
we already update more than 10 hosts with the specific version , all same hardware , the only issue is on that 2 hosts.
The " esxcli software profile install ..." command will replace all binaries with the ones in the new bundle, i.e. effectively remove vibs that are not included. That's why I mentioned the vendor customized versions.
How did you install the ESXi host? Which image did you use, and did you need to install additional drivers to make ESXi work?
>>> if its failed again can we rollback to 6.5 ?
Most likely not, since this is a version upgrade.
André
