In vCenter 6.5 / 6.7 EAM service is unable push any VIB's due to URL to download vibs from is missing the VC FQDN or IP
book
Article ID: 345851
calendar_today
Updated On:
Products
VMware NSXVMware vCenter Server
Issue/Introduction
NSX host prep, firewall and communication channels down and/or guest introspection in a not ready status.
ESX Agency reports the following alert:
Unable to access agent offline bundle at https://#.#.#.#/bin/epsec/6.4.4.11051444/vibs/6.7/offlinebundle/vShield-Endpoint-Mux-6.5.0esx65-11038418.zip. Cause : <esxupdate-response> <version>1.50</version> <error errorClass="MetadataDownloadError"> <errorCode>4</errorCode> <errorDesc>Failed to download metadata.</errorDesc> <url>https://:443/eam/vib?id=<UUID></url> <localfile>None</localfile> <msg>('https://:443/eam/vib?id=<UUID>', '/tmp/tmp9om0gli3', '<urlopen error [Errno -2] Name or service not known>')</msg> </error> </esxupdate-response>
Cause
Prior to vCenter Server 6.5, vCenter kept all EAM configurations in a single file called /etc/vmware-eam/eam.properties.
Beginning in vCenter 6.5, EAM configurations are broken into two files called /etc/vmware-eam/eam.properties and /etc/vmware-eam/eam-vim.properties. Most of the configurations are now located in the /etc/vmware-eam/eam-vim.properties file, however with the older versions /etc/vmware-eam/eam.properties files contains all the information.
If both files contain the same information, or if either file contains incorrect data, VUM will report duplicate information and will not populate the download URL with the correct VC host information. This results in the cluster reporting that NSX was not properly installed.
Resolution
Workaround:
Log onto vCenter CLI
cd to /etc/vmware-eam folder
Confirm there is an eam-vim.properties file.
Make a backup of the eam.properties file.
cp eam.properties eam.properties_bkup
vi to eam.properties and clear out current file.
dd on each line
Copy the following syntax to the empty eam.properties file
eam.properties correct the syntax:
######################################################################### # Copyright 2013-2017,2021 VMware, Inc. All rights reserved. VMware Confidential #########################################################################