“In this article, I will guide you through resolving the Cannot execute upgrade script on host issue.
While attempting to patch the environment through VCF, I received an error message stating ‘Cannot execute upgrade script on host.
The patch baseline created by VCF/SDDC was based on the ISO downloaded from the VMware repository in VCF.
I checked the logs in the VCF appliance under the /var/log/vmware/vcf/lcm/ directory, but found nothing that pointed to a solution.
The vCenter logs were not helpful either.
I checked VUA logs in the ESXi host and found some errors in the /var/log/vua.log
2024-07-22T11:33:41.208Z info vua[5902613] [Originator@6876 sub=SysCommandPosix] ForkExec(/tmp/vuaScript-gi88Yo/precheck.py) 5902653
2024-07-22T11:34:11.999Z info vua[5902645] [Originator@6876 sub=ThreadPool] Spawning additional worker - allocated: 9, idle: 1
2024-07-22T11:34:11.999Z info vua[5903127] [Originator@6876 sub=ThreadPool] Entering worker thread loop
2024-07-22T11:34:12.024Z info vua[5902613] [Originator@6876 sub=VUA] Command '/tmp/vuaScript-gi88Yo/precheck.py --ip=192.168.10.10' finished with exit status 0
--> stdout: --------
--> <?xml version="1.0"?>
--> <precheck>
--> <info>
-->
--> </info>
--> <tests>
--> <test>
--> <name>PRECHECK_INITIALIZE</name>
--> <expected>
--> <value>version</value>
--> <value>esx.conf</value>
--> </expected>
--> <found>
--> <value>version</value>
--> <value>esx.conf</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SPACE_AVAIL_ISO</name>
--> <expected>
--> <value>929942830</value>
--> </expected>
--> <found>
--> <value>929942830</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>MEMORY_SIZE</name>
--> <expected>
--> <value>4294967296</value>
--> </expected>
--> <found>
--> <value>824269479936</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CPU_SUPPORT</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>False</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CPU_CORES</name>
--> <expected>
--> <value>2</value>
--> </expected>
--> <found>
--> <value>36</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SANE_ESX_CONF</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>UNSUPPORTED_DEVICES</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>VALIDATE_HOST_HW</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>UPDATE_PENDING</name>
--> <expected>
--> <value>False</value>
--> </expected>
--> <found>
--> <value>False</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>VMFS_VERSION</name>
--> <expected>
--> <value>False</value>
--> </expected>
--> <found>
--> <value>False</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>NATIVE_BOOT_NIC</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>NATIVE_BOOTBANK</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CONFLICTING_VIBS</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>MISSING_DEPENDENCY_VIBS</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>IMAGEPROFILE_SIZE</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>LOCKER_SPACE_AVAIL</name>
--> <expected>
--> <value>16</value>
--> </expected>
--> <found>
--> <value>111403</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>BOOT_DISK_SIZE</name>
--> <expected>
--> <value>3814</value>
--> </expected>
--> <found>
--> <value>228902</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>HOST_ACCEPTANCE</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>VSAN_V1_DISK</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CVDS_MIGRATION_READINESS</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>TPM_VERSION</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>MISSING_GUNZIP_CHECKSUM_VIBS</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>DPU_MANAGED</name>
--> <expected>
--> <value>1</value>
--> </expected>
--> <found>
--> <value>0</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SPHERELET_VERSION</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SHA1_CERT</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>PACKAGE_COMPLIANCE</name>
--> <expected>
-->
--> </expected>
--> <found>
--> <value>VMW_bootbank_ionic-en_20.0.0-40vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-update_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-smartpqiv2-plugin_1.0.0-10vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_penspi-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_bcm-mpi3_8.4.2.0.0.0-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_pengpio-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlx5-core_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlx5-rdma_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_sfvmk_2.4.0.2010-15vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_pvscsi-esxio_0.1-5vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvme-pcie-esxio_1.2.4.7-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_cndi-igc_1.2.10.0-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esxio-combiner_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-oem-dell-plugin_1.0.0-2vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_vdfs_8.0.1-0.10.21813344</value>
--> <value>MIS_bootbank_ssacli2_6.25.9.0-8.0.0.20143090.oem</value>
--> <value>VMW_bootbank_vmkusb_0.1-16vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_crx_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_nenic_1.0.35.0-5vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_vds-vsip_8.0.1-0.10.21813344</value>
--> <value>QLC_bootbank_qedentv_3.71.35.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_elxiscsi_12.0.1200.0-11vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qedi_2.72.2.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nmlx5-rdma-esxio_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlx5-core-esxio_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMware_locker_tools-light_12.2.0.21223074-21495797</value>
--> <value>VMware_bootbank_bmcal-esxio_8.0.1-0.10.21813344</value>
--> <value>QLC_bootbank_qcnic_2.0.66.0-1OEM.700.1.0.15843807</value>
--> <value>VMware_bootbank_lsuv2-nvme-pcie-plugin_1.0.0-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esxio-base_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_rste_2.0.2.0088-7vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_native-misc-drivers_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_esxio_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_vmksdhci_1.0.3-3vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmkata_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_bfedac-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_spidev-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmerdma_1.0.3.9-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_intelgpio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_ntg3_4.1.10.0-4vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qedrntv_3.71.33.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nmlxbf-pmc-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_brcmfcoe_12.0.1500.3-4vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esxio-dvfilter-generic-fastpath_8.0.1-0.10.21813344</value>
--> <value>HPE_bootbank_ilo_700.10.8.1.6-1OEM.700.1.0.15843807</value>
--> <value>HPE_bootbank_fc-enablement_800.3.9.0.30-1OEM.800.1.0.20172892</value>
--> <value>VMW_bootbank_lsi-msgpt3_17.00.13.00-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_pvscsi_0.1-5vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_ne1000_0.9.0-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_rd1173-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlxbf-gige-esxio_2.2-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_clusterstore_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_vmware-esx-esxcli-nvme-plugin-esxio_1.2.0.52-1vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qedf_2.72.2.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nvme-pcie_1.2.4.7-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_qflge_1.1.0.11-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmw-ahci_2.0.15-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmxnet3-ens_2.0.0.23-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmetcp_1.0.1.7-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_irdman_1.3.1.25-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_rdmahl_1.0.0-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_dwi2c-esxio_0.1-7vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmkusb-esxio_0.1-16vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qfle3i_2.1.14.0-1OEM.700.1.0.15843807</value>
--> <value>VMW_bootbank_iser_1.1.0.2-1vmw.801.0.0.21495797</value>
--> <value>HPE_bootbank_amsdv_701.11.5.0.2-1OEM.701.0.0.16850804</value>
--> <value>QLC_bootbank_qfle3f_2.1.32.0-1OEM.700.1.0.15843807</value>
--> <value>VMware_bootbank_esx-xserver_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_pensandoatlas_1.46.0.E.28.1.303-2vmw.800.1.0.20796881</value>
--> <value>VMware_bootbank_gc_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-lsiv2-drivers-plugin_1.0.2-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-dvfilter-generic-fastpath_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_vsan_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-hpv2-hpsa-plugin_1.0.0-4vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-base_8.0.1-0.10.21813344</value>
--> <value>BCM_bootbank_bnxtroce_226.0.121.0-1OEM.800.1.0.20613240</value>
--> <value>VMware_bootbank_loadesxio_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_vsanhealth_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_cpu-microcode_8.0.1-0.10.21813344</value>
--> <value>INT_bootbank_iavmd_3.0.0.1038-1OEM.800.1.0.20143090</value>
--> <value>VMW_bootbank_lsi-msgpt35_26.00.00.00-3vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_gc-esxio_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-intelv2-nvme-vmd-plugin_2.7.2173-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_dwi2c_0.1-7vmw.801.0.0.21495797</value>
--> <value>MVL_bootbank_qlnativefc_5.4.81.2-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nvmxnet3_2.0.0.31-2vmw.801.0.0.21495797</value>
--> <value>HPE_bootbank_amsd_701.11.9.5.16-1OEM.701.0.0.16850804</value>
--> <value>INT_bootbank_ixgben_1.15.1.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_ionic-en-esxio_20.0.0-40vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_lsuv2-oem-lenovo-plugin_1.0.0-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_lpfc_14.2.560.8-23vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_mnet-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_mlnx-bfbootctl-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-ui_2.12.0-21482143</value>
--> <value>VMware_bootbank_native-misc-drivers-esxio_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_lpnic_11.4.62.0-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_penedac-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmksdhci-esxio_1.0.3-3vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.52-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmxnet3-ens-esxio_2.0.0.23-2vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_bmcal_8.0.1-0.10.21813344</value>
--> <value>HPE_bootbank_ilorest_800.4.3.0.0.2-20613240</value>
--> <value>VMW_bootbank_nhpsa_70.0051.0.100-4vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_lsi-mr3_7.724.03.00-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_elx-esx-libelxima.so_12.0.1200.0-6vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_trx_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_esxio-combiner-esxio_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_esxio-update_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_lsi-msgpt2_20.00.06.00-4vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nfnic_5.0.0.35-4vmw.801.0.0.21495797</value>
--> <value>HPE_bootbank_hpe-upgrade_901.2.0.5-1OEM.800.0.0.20172892</value>
--> <value>QLC_bootbank_qfle3_1.4.46.0-1OEM.700.1.0.15843807</value>
--> <value>VMW_bootbank_elxnet_12.0.1250.0-8vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_smartpqi_80.4385.0.200-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_mtip32xx-native_3.9.8-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_loadesx_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_nvmxnet3-esxio_2.0.0.31-2vmw.801.0.0.21495797</value>
--> <value>INT_bootbank_igbn_1.11.2.0-1OEM.800.1.0.20613240</value>
--> <value>INT_bootbank_icen_1.11.3.0-1OEM.800.1.0.20613240</value>
--> <value>HPE_bootbank_sut_800.4.5.0.22-1OEM.800.1.0.20613240</value>
--> <value>BCM_bootbank_bnxtnet_226.0.121.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_atlantic_1.0.3.0-11vmw.801.0.0.21495797</value>
--> </found>
--> <result>ERROR</result>
--> </test>
-->
--> <test>
--> <name>ENTROPY_CACHE</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> </tests>
--> </precheck>
-->
-->
--> --------
-->
2024-07-22T11:34:12.024Z info vua[5902613] [Originator@6876 sub=VUA] Invoking: "/bin/rm -rf /tmp/vuaScript-gi88Yo"
2024-07-22T11:34:12.025Z info vua[5902613] [Originator@6876 sub=SysCommandPosix] ForkExec(/bin/rm) 5903128
2024-07-22T11:34:12.027Z info vua[5902614] [Originator@6876 sub=ThreadPool] Spawning additional worker - allocated: 10, idle: 2
2024-07-22T11:34:12.027Z info vua[5903129] [Originator@6876 sub=ThreadPool] Entering worker thread loop
2024-07-22T11:34:12.076Z info vua[5902613] [Originator@6876 sub=VUA] Command '/bin/rm -rf /tmp/vuaScript-gi88Yo' finished with exit status 0
-->
2024-07-22T11:34:12.076Z info vua[5902613] [Originator@6876 sub=VUA] Response: <output><exitCode>0</exitCode><result><?xml version="1.0"?>
--> <precheck>
--> <info>
-->
--> </info>
--> <tests>
--> <test>
--> <name>PRECHECK_INITIALIZE</name>
--> <expected>
--> <value>version</value>
--> <value>esx.conf</value>
--> </expected>
--> <found>
--> <value>version</value>
--> <value>esx.conf</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SPACE_AVAIL_ISO</name>
--> <expected>
--> <value>929942830</value>
--> </expected>
--> <found>
--> <value>929942830</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>MEMORY_SIZE</name>
--> <expected>
--> <value>4294967296</value>
--> </expected>
--> <found>
--> <value>824269479936</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CPU_SUPPORT</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>False</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CPU_CORES</name>
--> <expected>
--> <value>2</value>
--> </expected>
--> <found>
--> <value>36</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SANE_ESX_CONF</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>UNSUPPORTED_DEVICES</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>VALIDATE_HOST_HW</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>UPDATE_PENDING</name>
--> <expected>
--> <value>False</value>
--> </expected>
--> <found>
--> <value>False</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>VMFS_VERSION</name>
--> <expected>
--> <value>False</value>
--> </expected>
--> <found>
--> <value>False</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>NATIVE_BOOT_NIC</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>NATIVE_BOOTBANK</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CONFLICTING_VIBS</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>MISSING_DEPENDENCY_VIBS</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>IMAGEPROFILE_SIZE</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>LOCKER_SPACE_AVAIL</name>
--> <expected>
--> <value>16</value>
--> </expected>
--> <found>
--> <value>111403</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>BOOT_DISK_SIZE</name>
--> <expected>
--> <value>3814</value>
--> </expected>
--> <found>
--> <value>228902</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>HOST_ACCEPTANCE</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>VSAN_V1_DISK</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>CVDS_MIGRATION_READINESS</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>TPM_VERSION</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>MISSING_GUNZIP_CHECKSUM_VIBS</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>DPU_MANAGED</name>
--> <expected>
--> <value>1</value>
--> </expected>
--> <found>
--> <value>0</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SPHERELET_VERSION</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>SHA1_CERT</name>
--> <expected>
-->
--> </expected>
--> <found>
-->
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> <test>
--> <name>PACKAGE_COMPLIANCE</name>
--> <expected>
-->
--> </expected>
--> <found>
--> <value>VMW_bootbank_ionic-en_20.0.0-40vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-update_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-smartpqiv2-plugin_1.0.0-10vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_penspi-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_bcm-mpi3_8.4.2.0.0.0-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_pengpio-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlx5-core_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlx5-rdma_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_sfvmk_2.4.0.2010-15vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_pvscsi-esxio_0.1-5vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvme-pcie-esxio_1.2.4.7-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_cndi-igc_1.2.10.0-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esxio-combiner_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-oem-dell-plugin_1.0.0-2vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_vdfs_8.0.1-0.10.21813344</value>
--> <value>MIS_bootbank_ssacli2_6.25.9.0-8.0.0.20143090.oem</value>
--> <value>VMW_bootbank_vmkusb_0.1-16vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_crx_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_nenic_1.0.35.0-5vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_vds-vsip_8.0.1-0.10.21813344</value>
--> <value>QLC_bootbank_qedentv_3.71.35.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_elxiscsi_12.0.1200.0-11vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qedi_2.72.2.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nmlx5-rdma-esxio_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlx5-core-esxio_4.23.0.36-14vmw.801.0.0.21495797</value>
--> <value>VMware_locker_tools-light_12.2.0.21223074-21495797</value>
--> <value>VMware_bootbank_bmcal-esxio_8.0.1-0.10.21813344</value>
--> <value>QLC_bootbank_qcnic_2.0.66.0-1OEM.700.1.0.15843807</value>
--> <value>VMware_bootbank_lsuv2-nvme-pcie-plugin_1.0.0-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esxio-base_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_rste_2.0.2.0088-7vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_native-misc-drivers_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_esxio_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_vmksdhci_1.0.3-3vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmkata_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_bfedac-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_spidev-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmerdma_1.0.3.9-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_intelgpio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_ntg3_4.1.10.0-4vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qedrntv_3.71.33.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nmlxbf-pmc-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_brcmfcoe_12.0.1500.3-4vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esxio-dvfilter-generic-fastpath_8.0.1-0.10.21813344</value>
--> <value>HPE_bootbank_ilo_700.10.8.1.6-1OEM.700.1.0.15843807</value>
--> <value>HPE_bootbank_fc-enablement_800.3.9.0.30-1OEM.800.1.0.20172892</value>
--> <value>VMW_bootbank_lsi-msgpt3_17.00.13.00-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_pvscsi_0.1-5vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_ne1000_0.9.0-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_rd1173-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nmlxbf-gige-esxio_2.2-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_clusterstore_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_vmware-esx-esxcli-nvme-plugin-esxio_1.2.0.52-1vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qedf_2.72.2.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nvme-pcie_1.2.4.7-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_qflge_1.1.0.11-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmw-ahci_2.0.15-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmxnet3-ens_2.0.0.23-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmetcp_1.0.1.7-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_irdman_1.3.1.25-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_rdmahl_1.0.0-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_dwi2c-esxio_0.1-7vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmkusb-esxio_0.1-16vmw.801.0.0.21495797</value>
--> <value>QLC_bootbank_qfle3i_2.1.14.0-1OEM.700.1.0.15843807</value>
--> <value>VMW_bootbank_iser_1.1.0.2-1vmw.801.0.0.21495797</value>
--> <value>HPE_bootbank_amsdv_701.11.5.0.2-1OEM.701.0.0.16850804</value>
--> <value>QLC_bootbank_qfle3f_2.1.32.0-1OEM.700.1.0.15843807</value>
--> <value>VMware_bootbank_esx-xserver_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_pensandoatlas_1.46.0.E.28.1.303-2vmw.800.1.0.20796881</value>
--> <value>VMware_bootbank_gc_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-lsiv2-drivers-plugin_1.0.2-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-dvfilter-generic-fastpath_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_vsan_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-hpv2-hpsa-plugin_1.0.0-4vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-base_8.0.1-0.10.21813344</value>
--> <value>BCM_bootbank_bnxtroce_226.0.121.0-1OEM.800.1.0.20613240</value>
--> <value>VMware_bootbank_loadesxio_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_vsanhealth_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_cpu-microcode_8.0.1-0.10.21813344</value>
--> <value>INT_bootbank_iavmd_3.0.0.1038-1OEM.800.1.0.20143090</value>
--> <value>VMW_bootbank_lsi-msgpt35_26.00.00.00-3vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_gc-esxio_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-intelv2-nvme-vmd-plugin_2.7.2173-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_dwi2c_0.1-7vmw.801.0.0.21495797</value>
--> <value>MVL_bootbank_qlnativefc_5.4.81.2-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_nvmxnet3_2.0.0.31-2vmw.801.0.0.21495797</value>
--> <value>HPE_bootbank_amsd_701.11.9.5.16-1OEM.701.0.0.16850804</value>
--> <value>INT_bootbank_ixgben_1.15.1.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_ionic-en-esxio_20.0.0-40vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_lsuv2-oem-lenovo-plugin_1.0.0-2vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_lpfc_14.2.560.8-23vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_mnet-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_mlnx-bfbootctl-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-ui_2.12.0-21482143</value>
--> <value>VMware_bootbank_native-misc-drivers-esxio_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_lpnic_11.4.62.0-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_penedac-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_vmksdhci-esxio_1.0.3-3vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.52-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nvmxnet3-ens-esxio_2.0.0.23-2vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_bmcal_8.0.1-0.10.21813344</value>
--> <value>HPE_bootbank_ilorest_800.4.3.0.0.2-20613240</value>
--> <value>VMW_bootbank_nhpsa_70.0051.0.100-4vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_lsi-mr3_7.724.03.00-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_elx-esx-libelxima.so_12.0.1200.0-6vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_trx_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_esxio-combiner-esxio_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_esxio-update_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_lsi-msgpt2_20.00.06.00-4vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_nfnic_5.0.0.35-4vmw.801.0.0.21495797</value>
--> <value>HPE_bootbank_hpe-upgrade_901.2.0.5-1OEM.800.0.0.20172892</value>
--> <value>QLC_bootbank_qfle3_1.4.46.0-1OEM.700.1.0.15843807</value>
--> <value>VMW_bootbank_elxnet_12.0.1250.0-8vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_smartpqi_80.4385.0.200-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_mtip32xx-native_3.9.8-1vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_loadesx_8.0.1-0.10.21813344</value>
--> <value>VMW_bootbank_nvmxnet3-esxio_2.0.0.31-2vmw.801.0.0.21495797</value>
--> <value>INT_bootbank_igbn_1.11.2.0-1OEM.800.1.0.20613240</value>
--> <value>INT_bootbank_icen_1.11.3.0-1OEM.800.1.0.20613240</value>
--> <value>HPE_bootbank_sut_800.4.5.0.22-1OEM.800.1.0.20613240</value>
--> <value>BCM_bootbank_bnxtnet_226.0.121.0-1OEM.800.1.0.20613240</value>
--> <value>VMW_bootbank_atlantic_1.0.3.0-11vmw.801.0.0.21495797</value>
--> </found>
--> <result>ERROR</result>
--> </test>
-->
--> <test>
--> <name>ENTROPY_CACHE</name>
--> <expected>
--> <value>True</value>
--> </expected>
--> <found>
--> <value>True</value>
--> </found>
--> <result>SUCCESS</result>
--> </test>
-->
--> </tests>
--> </precheck>
-->
--> </result></output>
2024-07-22T11:34:12.076Z info vua[5902613] [Originator@6876 sub=VUA] Function call finished
2024-07-22T11:34:12.076Z info vua[5902613] [Originator@6876 sub=VUA] Sending response: <output><exitCode>0</exitCode><r ...
2024-07-22T11:34:12.080Z info vua[5902619] [Originator@6876 sub=VUA] Handling post request
2024-07-22T11:34:12.081Z info vua[5902619] [Originator@6876 sub=VUA] Received call for function getlog
2024-07-22T11:34:12.081Z info vua[5902619] [Originator@6876 sub=VUA] Invoking: "/bin/cp -f /var/log/vua.log /var/log/vua.log.cpy"
2024-07-22T11:34:12.081Z info vua[5902619] [Originator@6876 sub=SysCommandPosix] ForkExec(/bin/cp) 5903130
2024-07-22T11:34:12.133Z info vua[5902619] [Originator@6876 sub=VUA] Command '/bin/cp -f /var/log/vua.log /var/log/vua.log.cpy' finished with exit status 0
-->
2024-07-22T11:34:12.135Z info vua[5902619] [Originator@6876 sub=VUA] compression of /var/log/vua.log.cpy to /var/log/vua.log.gz took 1 ms
-->
2024-07-22T11:34:12.135Z info vua[5902619] [Originator@6876 sub=VUA] Invoking: "/bin/rm -f /var/log/vua.log.gz"
2024-07-22T11:34:12.135Z info vua[5902619] [Originator@6876 sub=SysCommandPosix] ForkExec(/bin/rm) 5903133
2024-07-22T11:34:12.186Z info vua[5902619] [Originator@6876 sub=VUA] Command '/bin/rm -f /var/log/vua.log.gz' finished with exit status 0
-->
2024-07-22T11:34:12.186Z info vua[5902619] [Originator@6876 sub=VUA] Response: <output><exitCode>0</exitCode><result>7GMZnOQvAAA</result></output>
2024-07-22T11:34:12.186Z info vua[5902619] [Originator@6876 sub=VUA] Function call finished
2024-07-22T11:34:12.186Z info vua[5902619] [Originator@6876 sub=VUA] Sending response: <output><exitCode>0</exitCode><r ...
2024-07-22T11:34:12.805Z info vua[5902610] [Originator@6876 sub=VUA] TerminateHandler called.
2024-07-22T11:34:12.805Z info vua[5902610] [Originator@6876 sub=VUA] TerminateHandler completed
2024-07-22T11:34:12.805Z info vua[5902610] [Originator@6876 sub=VUA] VUA quitting normally
2024-07-22T11:34:12.805Z info vua[5902610] [Originator@6876 sub=VUA.HTTPService] Stopping Http Service; started, SSL(<server <acceptor p:0x00000000fdf99d00, h:6, <TCP '0.0.0.0 : 5555'>>, >)
2024-07-22T11:34:12.806Z info vua[5902610] [Originator@6876 sub=VUA] VUA exiting
[root@s43-l4-esx3001:/var/log]
based on errors the precheck failed due to PACKAGE_COMPLIANCE finding VIBs that were not expected to be found.
--> <test>
--> <name>PACKAGE_COMPLIANCE</name>
--> <expected>
-->
--> </expected>
--> <found>
--> <value>VMW_bootbank_ionic-en_20.0.0-40vmw.801.0.0.21495797</value>
--> <value>VMware_bootbank_esx-update_8.0.1-0.10.21813344</value>
--> <value>VMware_bootbank_lsuv2-smartpqiv2-plugin_1.0.0-10vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_penspi-esxio_0.1-1vmw.801.0.0.21495797</value>
--> <value>VMW_bootbank_atlantic_1.0.3.0-11vmw.801.0.0.21495797</value>
--> </found>
--> <result>ERROR</result>
--> </test>
Solution
I modified the Precheck.py script to ignore VIBs found in the PACKAGE_COMPLIANCE.
Download the ISO from VCF/SDDC, extract it, navigate to the Upgrade path in the ISO, and edit the PRECHECK.PY file by adding the line highlighted in bold
def checkPackageCompliance():
# This is used by VUM to validate that the expected VIBs have been
# installed. Note that we only check the list of VIB IDs, not any other
# attributes (name, acceptance level, etc.) of the image profile.
expected = set(systemProbe.upgradeImageProfile.vibs.keys())
newvibnames = set([vib.name for vib in
systemProbe.upgradeImageProfile.vibs.values()])
issuevib = []
try:
bootbankdb = Database.TarDatabase("/bootbank/imgdb.tgz", False)
bootbankdb.Load()
try:
lockerdb = Database.Database("/locker/packages/var/db/locker",
False)
lockerdb.Load()
hostvibs = bootbankdb.vibs + lockerdb.vibs
except Exception as e:
log.error('Failed to load locker vib database: %s' % e)
hostvibs = bootbankdb.vibs
hostvibids = set([vib.id for vib in hostvibs.values()])
hostvibnames = set([vib.name for vib in hostvibs.values()])
# Log all vibs ids and unique VIBs from host and baseline
log.info('VIBs from host: %s' % str(sorted(hostvibids)))
log.info('VIBs from baseline: %s' % str(sorted(expected)))
olddelta = sorted([name for name in hostvibnames if not name in
newvibnames])
log.info('Unique VIBs from host: %s' % str(olddelta))
newdelta = sorted([name for name in newvibnames if not name in
hostvibnames])
log.info('Unique VIBs from baseline: %s' % str(newdelta))
# Now scan to check versioning/replaces.
allvibs = VibCollection.VibCollection()
for vib in hostvibs.values():
allvibs.AddVib(vib)
for vib in systemProbe.upgradeImageProfile.vibs.values():
allvibs.AddVib(vib)
scanner = Scan.VibScanner()
scanner.Scan(allvibs)
# Each VIB in expected must either be on the host or be replaced by
# something on the host.
for vibid in expected:
vibsr = scanner.results[vibid]
if vibid not in hostvibids and not vibsr.replacedBy & hostvibids:
issuevib.append(vibid)
except Exception as e:
msg = "Couldn't load esximage database to scan package compliance: " \
"%s. Host may be of incorrect version." % e
log.error(msg)
# Scan did not succeed, make the error as an issue so the host will
# not be marked compliant incorrectly.
issuevib.append(msg)
issuevib = []
# If found >= expected is true, then everything in expected is also in
# found. (If there are extra things in found, we are still compliant.)
result = Result("PACKAGE_COMPLIANCE", issuevib, [],
mismatchCode=Result.ERROR)
return result
Save the file, create a new ISO, and upload it to VCF (how to upload a custom iso)
I hope this article has been informative. thank you for reading.