VMware Cloud Community
FairtradeCoco
Contributor
Contributor
Jump to solution

Error updating to 7.0 via ESXCLI

Hi,

Environment:
HP ProLiant DL380 Gen9
VMWare 6.7.0 (Build 8169922)
No vCenter or VSCA

I updated my server host using ESXCLI commands from 6.0.0 to 6.7.0 today:

"esxcli software profile update -p ESXi-6.7.0-8169922-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml"

Now I am trying to use the same command to go to 7.0.0:

"esxcli software profile update -p ESXi-7.0.0-15843807-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml"

However, I am getting the below error:
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: Traceback (most recent call last):
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 475, in <module>
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: main()
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 466, in main
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: ret = CMDTABLE[command](options)
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: File "/usr/lib/vmware/esxcli-software", line 220, in ProfileUpdateCmd
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: allowDowngrades=opts.downgrade)
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: File "/build/mts/release/bora-8169922/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 729, in InstallVibsFromProfile
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: File "/build/mts/release/bora-8169922/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 364, in _installVibs
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: File "/build/mts/release/bora-8169922/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 428, in _validateAndInstallProfile
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: vmware.esximage.Errors.DependencyError: VIB Hewlett-Packard_bootbank_scsi-hpvsa_5.5.0.100-1OEM.550.0.0.1331820 requires com.vmware.driverAPI-9.2.2.0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB Hewlett-Packard_bootbank_scsi-hpvsa_5.5.0.100-1OEM.550.0.0.1331820 requires vmkapi_2_2_0_0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB Hewlett-Packard_bootbank_scsi-hpdsa_5.5.0.52-1OEM.550.0.0.1331820 requires vmkapi_2_2_0_0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB HPE_bootbank_ilo_600.10.1.0.12-1OEM.600.0.0.2494585 requires com.vmware.driverAPI-9.2.3.0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB HPE_bootbank_cru_6.0.9.8-1OEM.600.0.0.2494585 requires com.vmware.driverAPI-9.2.3.0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB HPE_bootbank_cru_6.0.9.8-1OEM.600.0.0.2494585 requires vmkapi_2_3_0_0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB Hewlett-Packard_bootbank_scsi-hpdsa_5.5.0.52-1OEM.550.0.0.1331820 requires com.vmware.driverAPI-9.2.2.0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB HPE_bootbank_ilo_600.10.1.0.12-1OEM.600.0.0.2494585 requires vmkapi_2_3_0_0, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T18:23:35Z esxupdate: 2101615: root: ERROR: VIB MEL_bootbank_nmst_4.6.0.101-1OEM.600.0.0.2768847 requires vmkapi_2_3_0_0, but the requirement cannot be satisfied within the ImageProfile.

Any ideas on how to resolve this?

0 Kudos
1 Solution

Accepted Solutions
FairtradeCoco
Contributor
Contributor
Jump to solution

Downloaded the latest version of HPE Custom ESXi .zip file provided & recommended by HPE

Put the host in maintenance mode and take backup of the host configuration using:


vim-cmd hostsvc/maintenance_mode_enter


vim-cmd hostsvc/firmware/sync_config

vim-cmd hostsvc/firmware/backup_config
 
Browse to that datastore location using the following command:
cd /vmfs/volumes/datastore_name/folder_name/file.zip

Run this command to list the profiles:
esxcli software sources profile list -d <absolute path of the .zip file>

Choose one of the profile and run this command against it:
esxcli software profile update -d <absolute path of the .zip file> -p <output from 5>

reboot -f

View solution in original post

0 Kudos
4 Replies
NathanosBlightc
Commander
Commander
Jump to solution

it seems there are some issues with satisfying the upgrading requirements of current VIB files. You can check the via esxcli software profile get. Can you try it again via an uploaded zip file and check the result?

Please mark my comment as the Correct Answer if this solution resolved your problem
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

I'm afraid that the upgrade won't work this way, because of vendor components, which also need to be replaced.
In order to upgrade your host to v7 use the vendor customized image.

André

0 Kudos
FairtradeCoco
Contributor
Contributor
Jump to solution

Hi both,

 

I did try the below:

 

esxcli software vib update -d /vmfs/volumes/datastore1/VMware-ESXi-6.7.0-Update1-11675023-HPE-Gen9plus-670.U1.10.4.0.19-Apr2019-depot.zip

 

But now get the following error:

 

2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR: Traceback (most recent call last):
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 475, in <module>
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:     main()
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 466, in main
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:     ret = CMDTABLE[command](options)
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 361, in VibInstallCmd
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:     nosigcheck=opts.nosigcheck)
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:   File "/build/mts/release/bora-8169922/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 258, in InstallVibsFromSources
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:   File "/build/mts/release/bora-8169922/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 364, in _installVibs
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR:   File "/build/mts/release/bora-8169922/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 428, in _validateAndInstallProfile
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR: vmware.esximage.Errors.DependencyError: VIB VMware_bootbank_esx-base_6.7.0-1.39.11675023 requires esx-update << 6.7.0-1.40, but the requirement cannot be satisfied within the ImageProfile.
2021-02-24T20:05:28Z esxupdate: 2104279: root: ERROR: VIB VMware_bootbank_esx-base_6.7.0-1.39.11675023 requires esx-update >= 6.7.0-1.39, but the requirement cannot be satisfied within the ImageProfile.

 

 

Is there a link to the last HPE Gen9 image for 7.0?

0 Kudos
FairtradeCoco
Contributor
Contributor
Jump to solution

Downloaded the latest version of HPE Custom ESXi .zip file provided & recommended by HPE

Put the host in maintenance mode and take backup of the host configuration using:


vim-cmd hostsvc/maintenance_mode_enter


vim-cmd hostsvc/firmware/sync_config

vim-cmd hostsvc/firmware/backup_config
 
Browse to that datastore location using the following command:
cd /vmfs/volumes/datastore_name/folder_name/file.zip

Run this command to list the profiles:
esxcli software sources profile list -d <absolute path of the .zip file>

Choose one of the profile and run this command against it:
esxcli software profile update -d <absolute path of the .zip file> -p <output from 5>

reboot -f

0 Kudos