NSX for vSphere 6.4.X VIB [esx-nsxv] fail to install ESXI stuck on "Not Ready"
search cancel

NSX for vSphere 6.4.X VIB [esx-nsxv] fail to install ESXI stuck on "Not Ready"

book

Article ID: 338623

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Installing NSX VIB on ESXI fails, shows ‘Not Ready’

You see the following from VCSA > Networking and Security > Installation and Upgrade 

Agent VIB module cannot be detected on the host. This may be due to a pending reboot on the host due to an earlier operation, or the host may not be of supported version (Please check VMware Product Interoperability Matrices). Please check for any errors on the vCenter console or host that may be causing this. Resolving this error will attempt to install the VIB on the host again.

  • Checking the Agency in question via EAM/MOB  https://vCenter_Server_IP/eam/mob/ , you see the following :

Agent VIB module is not installed. Cause : 14 There was an error resolving dependencies. VIB VMware_bootbank_vmc-net_6.7.0-0.0.9852938 requires com.vmware.petronas >= 6.6.3, but the requirement cannot be satisfied within the ImageProfile.  

  • In the /var/log/esxupdate.log, you see entries similar to:

esxupdate: 2121341: root: ERROR: vmware.esximage.Errors.DependencyError: VIB VMware_bootbank_vmc-net_6.7.0-0.0.9852938 requires com.vmware.petronas >= 6.6.3, but the requirement cannot be satisfied within the ImageProfile.

esxupdate: 2121341: root: ERROR: VIB VMware_bootbank_esx-nsxv_6.7.0-0.0.9852938 requires com.vmware.petronas >= 6.6.3, but the requirement cannot be satisfied within the ImageProfile.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Environment

VMware NSX Data Center for vSphere 6.4.x

Cause

"com.vmware.petronas" is the target that merges ESX + NSX + VSAN + ... VIBs into a single image for VMware Cloud on AWS.  This is exclusively for VMware images running on cloud projects, in fact such platforms are already deployed by VMware and not customers.

These VIB's are ideally not supposed to be part of any On-premises ESXI image. However, had noticed the VIB to be present in few of the 6.x builds of ESXi. 


To identify,use the following command via CLI on the ESXi in question:

esxcli software vib list | grep vmc-net
vmc-net.XXXXXXXX

Based on the error " vmc-net_6.7.0-0.0.9852938" is the one that requires com.vmware.petronas.  This is what is conflicting and causing the NSX preparation to fail . 

Resolution

To move forward, this VMC VIB needs to remove from the ESXI 

 esxcli software vib remove -n vmc-net

Then click "resolve" from the affected ESXI  to trigger the Scan and Installation of the NSX VIB [esx-nsxv]