The following unique error identifiers appear in your logs:
A general system error occurred. Error message: No single Supervisor Control Plane VM provisioned successfully ["API call to VMware ESX Agent Manager (eam) failed. Details 'ServerFaultCode: java.lang.NullPointerException'" "API call to VMware ESX Agent Manager (eam) failed. Details 'ServerFaultCode: java.lang.NullPointerException'" "API call to VMware ESX Agent Manager (eam) failed. Details 'ServerFaultCode: java.lang.NullPointerException'"].
| WARN | vlsi | VcInventory.java | 369 | Tried to obtain host without parent host-#####
| WARN | vlsi | VcInventory.java | 437 | Could not acquire remote object for: ManagedObjectReference: type = HostSystem, value = host-xxxxxx, serverGuid = <serverGuid-Redacted>
com.vmware.vim.binding.vmodl.fault.ManagedObjectNotFound: null
at com.vmware.eam.vc.VcInventory.addHostSystem(VcInventory.java:371) ~[eam-server.jar:?]
:
| ERROR | vlsi | EsxAgentManagerImpl.java | 550 | Unexpected exception:
java.lang.NullPointerException: null
at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) ~[?:1.8.0_422]
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) ~[?:1.8.0_422]
error wcp [mastervm/agency.go:414] [opID=<opID-Redacted>] Failed to create new EAM agency with config types.AgencyConfigInfoEx{AgencyConfigInfo:types.AgencyConfigInfo{DynamicData:types.DynamicData{}, AgentConfig:[]types.AgentConfigInfo{types.AgentConfigInfo{DynamicData:types.DynamicData{}, ProductLineId:"", HostVersion:"", OvfPackageUrl:"https://<fqdn-ovf-package-url:5480/wcpagent/photon-ova-medium.ovf",
:VMware vSphere Kubernetes Service
vSphere with Tanzu
ESX Agent Manager (EAM) attempts to process host-#####, but the host object is missing or invalid in the inventory. This leads to a ManagedObjectNotFound condition during listener registration.
This issue can occur due to stale inventory references within the ESX Agent Manager (EAM) service memory. EAM attempts to register host-level listeners for a managed object ID (MOID) that either no longer exists in the vCenter inventory or was removed and re-added. The service crashes when it encounters this null value.
From a vCenter SSH session, follow these steps to clear the stale inventory state and resume Supervisor provisioning:
service-control --restart vmware-eam
service-control --restart wcp