"Cannot find VIB(s)" on running "esxcli software component apply/remove" in ESXi 7.0 U2a
search cancel

"Cannot find VIB(s)" on running "esxcli software component apply/remove" in ESXi 7.0 U2a

book

Article ID: 318690

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:

  • On an upgrade from ESXi 6.5/6.7 to ESXi 7.0 U2a with OEM Customized Installer, running "esxcli software component apply" fails due to an error similar to the following. Also on a NSX hosts upgrade, it fails and a similar error is displayed on NSX hosts upgrade page.

[root@localhost:~] esxcli software component apply -d /vmfs/volumes/datastore/amsdComponent_701.11.8.0.15-1_18612107.zip
[MissingVibError]
Cannot find VIB(s) VMW_bootbank_i40enu_1.8.1.136-1vmw.702.0.0.17867351 in the given VIB collection for component Intel-i40en_1.8.1.136-1vmw.702.0.0.17867351
vibIDs = ['VMW_bootbank_i40enu_1.8.1.136-1vmw.702.0.0.17867351']


Please refer to the log file for more details.

  • /var/db/esximg/reservedComponents/ directory has *.xml files which describe metadata of the components, while /var/db/esximg/reservedVibs/ directory doesn't have corresponding metadata. Here is an example (reservedVibs directory has metadata xml files for VMware Tools component only).

[root@localhost:~] ls -l /var/db/esximg/reservedComponents/
total 24
-r--r--r--    1 root     root           829 Feb 14 05:44 Broadcom-ELX-lpfc-66965244686063130.xml
-r--r--r--    1 root     root           859 Feb 14 05:44 Intel-i40en-8544480375861246145.xml
-r--r--r--    1 root     root           835 Feb 14 05:44 Intel-ixgben-8163255327778063327.xml
-r--r--r--    1 root     root          1131 Feb 14 05:44 MRVL-E3-Ethernet-iSCSI-FCoE--2200338929548531958.xml
-r--r--r--    1 root     root          1004 Feb 14 05:44 MRVL-E4-CNA-Driver-Bundle--7777201015471263370.xml
-r--r--r--    1 root     root           738 Feb 14 05:44 VMware-VM-Tools-498740180989153345.xml

[root@localhost:~] ls -l /var/db/esximg/reservedVibs/
total 4
-r--r--r--    1 root     root          2470 Feb 14 05:44 tools-light--6416824982208603578.xml
-r--r--r--    1 root     root             0 Feb 14 05:44 tools-light--6416824982208603578.xml.orig
-r--r--r--    1 root     root             0 Feb 14 05:44 tools-light--6416824982208603578.xml.sig

 

Environment

VMware vSphere ESXi 6.7
VMware vSphere ESXi 7.0.2
VMware vSphere ESXi 6.5
VMware NSX

Resolution

This issue is resolved in ESXi 7.0 Update 2c. The change is to allow missing reserved VIBs when "esxcli software component apply/remove" is called. On NSX hosts upgrade, this process is called and may face this issue without this fix.


Workaround:

To workaround the issue follow the below mentioned steps:

Copy metadata xml files from "metadata.zip" collected from OEM Customized Addons for ESXi base image. Here is the desired state of /var/db/esximg/reservedVibs/ for the example above. "esxcli software component apply/remove" command should work then.

ls -l /var/db/esximg/reservedVibs/
total 40
-rw-r--r--    1 root     root          2229 Feb 14 10:32 i40enu--7228415913307840962.xml
-rw-r--r--    1 root     root          2468 Feb 14 10:29 ixgben--7672047929482173857.xml
-rw-r--r--    1 root     root          1944 Feb 14 10:31 lpfc-7342711619553432416.xml
-rw-r--r--    1 root     root          1620 Feb 14 10:32 qcnic-5233142965180253243.xml
-rw-r--r--    1 root     root          2049 Feb 14 10:30 qedentv-6912134702379836384.xml
-rw-r--r--    1 root     root          1763 Feb 14 10:31 qedrntv-646326958601927957.xml
-rw-r--r--    1 root     root          2207 Feb 14 10:32 qfle3--8736531510308215125.xml
-rw-r--r--    1 root     root          1621 Feb 14 10:33 qfle3f--1811338524951531348.xml
-rw-r--r--    1 root     root          1814 Feb 14 10:33 qfle3i-3372514861995197607.xml
-r--r--r--    1 root     root          2470 Feb 14 05:44 tools-light--6416824982208603578.xml
-r--r--r--    1 root     root             0 Feb 14 05:44 tools-light--6416824982208603578.xml.orig
-r--r--r--    1 root     root             0 Feb 14 05:44 tools-light--6416824982208603578.xml.sig