spenceg
Contributor
Contributor

Failing upgrade query

Trying to upgrade a 6.7 ESX from a VCSA appliance.  Upgrade fails with:

The host returns esxupdate error codes: -1. Check the Lifecycle Manager log files and esxupdate log files for more details.

 

Esx log returns the following:

2021-05-14T13:12:30Z esxupdate: 2110929: HostImage: INFO: LiveImageInstaller is not supported, skipping.
2021-05-14T13:12:30Z esxupdate: 2110929: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk add -m 0 -M 250 -n stagebootbank -p 755 -t /tmp/stagebootbank', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2021-05-14T13:12:30Z esxupdate: 2110929: BootBankInstaller.pyc: WARNING: Ignoring error when loading bootbank: Error in loading boot.cfg from bootbank /tmp/stagebootbank: Error parsing bootbank boot.cfg file /tmp/stagebootbank/boot.cfg: [Errno 2] No such file or directory: '/tmp/stagebootbank/boot.cfg'
2021-05-14T13:12:30Z esxupdate: 2110929: imageprofile: DEBUG: VIB VMware_locker_tools-light_11.2.5.17337674-17700514 is being removed from ImageProfile (Updated) ESXi-6.7.0-8169922-standard
2021-05-14T13:12:30Z esxupdate: 2110929: BootBankInstaller.pyc: INFO: /tmp/stagebootbank/boot.cfg: bootstate changed from 3 to 3
2021-05-14T13:12:30Z esxupdate: 2110929: BootBankInstaller.pyc: INFO: Copying payloads of VMW_bootbank_ata-libata-92_3.00.9.2-16vmw.670.0.0.8169922 from /bootbank to /tmp/stagebootbank
2021-05-14T13:12:30Z esxupdate: 2110929: BootBankInstaller.pyc: INFO: Copying /bootbank/ata_liba.v00 to /tmp/stagebootbank/ata_liba.v00
2021-05-14T13:12:30Z esxupdate: 2110929: BootBankInstaller.pyc: INFO: Copying payloads of VMW_bootbank_nmlx5-rdma_4.17.13.1-1vmw.670.2.48.13006603 from /bootbank to /tmp/stagebootbank
2021-05-14T13:12:30Z esxupdate: 2110929: BootBankInstaller.pyc: INFO: Copying /bootbank/nmlx5_rd.v00 to /tmp/stagebootbank/nmlx5_rd.v00
2021-05-14T13:12:30Z esxupdate: 2110929: HostImage: ERROR: Failed to send vob install.stage.error: [Errno 27] File too large
2021-05-14T13:12:30Z esxupdate: 2110929: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list | grep /stagebootbank && localcli system visorfs ramdisk remove -t /tmp/stagebootbank', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: An esxupdate error exception was caught:
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: Traceback (most recent call last):
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Installer/BootBankInstaller.py", line 541, in _copyStage
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/shutil.py", line 257, in copy2
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/shutil.py", line 120, in copyfile
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: FileNotFoundError: [Errno 2] No such file or directory: '/bootbank/nmlx5_rd.v00'
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR:
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: During handling of the above exception, another exception occurred:
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR:
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: Traceback (most recent call last):
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/usr/sbin/esxupdate", line 239, in main
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: cmd.Run()
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esx5update/Cmdline.py", line 148, in Run
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 602, in InstallVibsFromSources
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 708, in _installVibs
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 817, in _validateAndInstallProfile
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/HostImage.py", line 855, in Stage
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Installer/BootBankInstaller.py", line 803, in StartTransaction
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Installer/BootBankInstaller.py", line 417, in Stage
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: File "/build/mts/release/bora-17167734/bora/build/esx/release/vmvisor/esxupdate/lib64/python3.5/site-packages/vmware/esximage/Installer/BootBankInstaller.py", line 545, in _copyStage
2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: vmware.esximage.Errors.InstallationError: ("{'VMW_bootbank_ata-libata-92_3.00.9.2-16vmw.670.0.0.8169922', 'VMW_bootbank_nmlx5-rdma_4.17.13.1-1vmw.670.2.48.13006603', 'VMware_bootbank_lsu-hp-hpsa-plugin_2.0.0-16vmw.670.1.28.10302608', 'VMware_bootbank_native-misc-drivers_6.7.0-3.89.15160138', 'VMW_bootbank_shim-libata-9-2-2-0_6.7.0-0.0.8169922', 'VMW_bootbank_nvme_1.2.2.28-4vmw.670.3.132.17167734', 'VMW_bootbank_shim-libata-9-2-1-0_6.7.0-0.0.8169922', 'VMW_bootbank_qedentv_2.0.6.4-10vmw.670.1.28.10302608', 'VMW_bootbank_nmlx5-core_4.17.13.1-1vmw.670.3.73.14320388', 'VMW_bootbank_elxiscsi_11.4.1174.0-2vmw.670.0.0.8169922', 'VMW_bootbank_sata-sata-sil24_1.1-1vmw.670.0.0.8169922', 'VMware_bootbank_esx-update_6.7.0-3.143.17700523', 'VMW_bootbank_ipmi-ipmi-si-drv_39.1-5vmw.670.1.28.10302608', 'VMW_bootbank_shim-libfcoe-9-2-1-0_6.7.0-0.0.8169922', 'VMW_bootbank_

 

I discount the following because there is more than enough free space:

2021-05-14T13:12:30Z esxupdate: 2110929: HostImage: ERROR: Failed to send vob install.stage.error: [Errno 27] File too large

 

This one however seems more like the problem:

2021-05-14T13:12:30Z esxupdate: 2110929: esxupdate: ERROR: FileNotFoundError: [Errno 2] No such file or directory: '/bootbank/nmlx5_rd.v00'

 

I would appreciate the input from you experts as to firstly my analysis and secondly how to resolve.


Thanks in advance.

0 Kudos
1 Reply
spenceg
Contributor
Contributor

Since no responses, I took a gamble today and copied nmlx5_rd.v00 from another working ESXi 6.7 to the ESX that was failing.

It worked 👍

Before I did this, the file sizes were verified and no difference could be seen in bytes nor date.  Wishing I had no checked the file checksum prior to replacing.

Ah well, it worked and that is the main thing 😀

0 Kudos