Host is mark in "Not Ready" state even though the Vibs are installed on the server .
Symptoms:
description = 'Could not upload the following VIBs in Integrity server
[2021-09-25 07:32:15:202 'DownloadMgr' 140516485830400 INFO] [downloadMgr, 603] Executing download job {140516364899824}, url=https://hostname:443/eam/vib?id=aeaf2a40-####-####-####-########f32
[2021-09-25 07:32:15:521 'httpDownload' 140516485830400 ERROR] [httpDownloadPosix, 654] curl_easy_perform() failed: cURL Error: SSL peer certificate or SSH remote key was not OK, SSL certificate problem: self signed certificate in certificate chain
[2021-09-25 07:32:15:521 'DownloadMgr' 140516485830400 ERROR] [downloadMgr, 629] Executing download job {140516364899824} throws error: curl_easy_perform() failed: cURL Error: SSL peer certificate or SSH remote key was not OK, SSL certificate problem: self signed certificate in certificate chain
[2021-09-25 07:32:15:521 'DownloadMgr' 140516485830400 ERROR] [downloadMgr, 718] Download failed for url: https://hostname:443/eam/vib?id=aeaf2a40-####-####-####-########f32
[2021-09-25 07:32:15:521 'DownloadMgr' 140516485830400 INFO] [downloadMgr, 577] Download job {140516364899824} finished, bytes downloaded = 0
[2021-09-25 07:32:15:521 'DownloadMgr' 140517103216384 DEBUG] [downloadMgr, 468] Download job {140516364899824} finished
[2021-09-25 07:32:15:521 'DownloadMgr' 140517103216384 DEBUG] [downloadMgr, 481] Removing download job {140516364899824} in queue
[2021-09-25 07:32:15:521 'DownloadMgr' 140517103216384 DEBUG] [downloadMgr, 500] Current download count: 0
[2021-09-25 07:32:15:521 'FileUploadManagerImpl' 140517103216384 ERROR] [fileUploadManagerImpl, 143] ImportFile: can not download file from https://hostname:443/eam/vib?id=aeaf2a40-####-####-####-########f32
NOTE:The preceding log excerpts are only examples.Date,time and environmental variables may vary depending on your environment
This issue is resolved in NSX-V version 6.4.7 and VMware vCenter Server 6.7U3g.
Workaround:
Step#3: Resolve EAM issue
If the issue is not able to be resolved from NSX UI , it can be resolved by EAM UI or EAM MOB.
EAM UI: Home -> Administration -> vCenter Server Extensions -> vSphere ESX Agent Manager -> Configure tab (former: Manage) -> ResolveAll
EAM MOB:
2.1 Navigate to EAM MOB: vc_ip/eam/mob/
2.2 Authenticate as full Administrator or NSX user.
2.3 Match the agency and click on it
2.4 Click on ResolveAll in the method section.
2.5 in the opened pop-up window click InvokeMethod.
Step#3: Verify if EAM turns to green
This can be done from NSX UI, EAM UI or EAM MOB.