A general system error occurred:Remediation for an Image based cluster failed 'vSphere ESX Agent Manager' service, running on 'cluster '<Cluster name>'', reported issue: Agency <Agency_id> is unable to determine required solutions from its configured offline depotsHealth Check for '<Cluster name>' failed/var/log/vmware/eam/eam.log file:YYYY-MM-DDTHH:MM:SS | INFO | vim-inv-update | IssueHandlerBase.java | 116 | Updating issues:New issues: []Removed issues: [
eam.issue.HostNotReachable {time = YYYY-MM-DDTHH:MM:SS,description = <unset>,key = xx,agency = 'Agency:########-############:null', -> Agency_idagencyName = 'IoFilter-VEE_bootbank_veecdp',solutionId = 'VirtualCenter',solutionName = 'VirtualCenter',agent = 'Agent:#######################:null',agentName = '#######################',host = 'HostSystem:host-#######################',hostName = 'esxi-example.com',}
While looking into vCenter -> Administration -> vCenter Server Extensions -> vSphere ESX Agent Manager Configure Tab shows the following error:
Offline depot http://url/to/iofilter/zip/package/VMW-some-name-version.zip hosted as https://vcenter-url:443/eam/vib?id=a-guid cannot be uploaded in vSphere Lifecycle Manager.
VMware vCenter Server 8.0.x
VMware vCenter Server 7.0.x
Option 1:
1. Go to https://<vcsa-dns-name>/eam/mob/?moid=<Agency_id>
<vcsa-dns-name> is the VC FQDN.<Agency_id> is the ID of the agency that needs to be destroyed (This can be retrieved from the error message )
2. Click DestroyAgency
3. A new window will be opened and there you have to click Invoke Method.
4. Retry the patch operation
Option 2:
Important: This option involves editing the vCenter Server database, before applying the steps outlined below, take a backup or snapshot of the vCenter Server Appliance; If the vCenter is part of a Linked Mode replication setup, take backup/powered off snapshots of all replicating nodes.
1. SSH into the vCenter Server as the root user.
2. Stop the vpxd and eam service before making changes to the database:
service-control --stop vpxdservice-control --stop eam3. Connect to the vCenter Server database:
/opt/vmware/vpostgres/current/bin/psql -U postgres -d VCDB
4. Check the entries using the following query:
select * from VPX_EXT_DATA where EXT_ID = 'com.vmware.vim.eam';
5. Note down the stale agency from the above command and remove it from the VCDB:
delete from VPX_EXT_DATA where EXT_ID = 'com.vmware.vim.eam' and data_key = 'Agency:#############-#############';
6. Start the vpxd and eam service.
service-control --start vpxdservice-control --start eamImpact/Risks: