Symptoms:
Source vSphere ESX Agent Manager (EAM) upgrade failed to obtain EAM URLs to check against trusted
certificates by the System!
Verify that the ESX Agent Manager extension is running properly on the source vCenter Server instance
and https://VC_IP/eam/mob presents correct data. If log in to the MOB is not successful, try resolving
the issue with https://kb.vmware.com/s/article/94934.
eam.log
.. [YYYY-MM-DDTHH:MM:SS] | INFO | vim-monitor | VcListener.java | 125 | Full stack trace: com.vmware.eam.EamRemoteSystemException: Client error communicating with the > vCenter server.
at com.vmware.eam.vim.server.impl.VimRoot.rootOperation(VimRoot.java:103)
at com.vmware.eam.vim.server.impl.VimRoot.currentTime(VimRoot.java:78)
..
Caused by: com.vmware.vim.vmomi.client.common.UnexpectedStatusCodeException: Unexpected status code: 404
at com.vmware.vim.vmomi.client.common.Response$Status.getStatus(Response.java:56)
at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.parseResponse(HttpExchangeBase.java:271)
at com.vmware.vim.vmomi.client.http.impl.HttpExchange.invokeWithinScope(HttpExchange.java:54)
at com.vmware.vim.vmomi.client.http.impl.TracingScopedRunnable.run(TracingScopedRunnable.java:24)
at com.vmware.vim.vmomi.client.http.impl.HttpExchangeBase.run(HttpExchangeBase.java:57)
at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingBase.executeRunnable(HttpProtocolBindingBase.java:227)
at com.vmware.vim.vmomi.client.http.impl.HttpProtocolBindingImpl.send(HttpProtocolBindingImpl.java:114)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.sendCall(MethodInvocationHandlerImpl.java:693)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl$CallExecutor.executeCall(MethodInvocationHandlerImpl.java:674)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.completeCall(MethodInvocationHandlerImpl.java:371)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invokeOperation(MethodInvocationHandlerImpl.java:322)
at com.vmware.vim.vmomi.client.common.impl.MethodInvocationHandlerImpl.invoke(MethodInvocationHandlerImpl.java:195)
at com.sun.proxy.$Proxy50.currentTime(Unknown Source)
at com.vmware.eam.vim.server.impl.VimRoot.rootOperation(VimRoot.java:101)
... 9 more
..
# /usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
vcsa.domain.local
VCSA.domain.local
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
If you are still getting the pre-upgrade check failure referencing EAM URLs, or the error messages in /var/log/vmware/eam/eam.log mentioning "Client error communicating with the > vCenter server", then you may need to run lsdoctor.py --trustfix, in order to update the service trusts (which includes EAM's aforementioned URL's).
For more information about running lsdoctor, please refer to Using the 'lsdoctor' Tool.