While removing host from SDDC manager, it fails with error "Failed to fetch the cluster status from LCM for domain <domain-ID>" on the GUI.
In commonsvcs logs, below entries can be noticed:
Error_type":"SERVICE_UNAVAILABLE","messages":[{"args":["550","550","[email protected]"],"default_message":"User session count is limited to 550. Existing session count is 550 for user [email protected].","id":"com.vmware.vapi.endpoint.failedToLoginMaxUserSessionCountReached"}]}}"
VMware Cloud Foundation 5.x
This issue happens due to the VAPI user session limit being reached on the vCenter server for user "[email protected]"
Increase the session.maxSessionsPerUser value on the affected vCenter
/etc/vmware-vapi/endpoint.propertiescp /etc/vmware-vapi/endpoint.properties /etc/vmware-vapi/endpoint.properties.backupendpoint.properties filevi /etc/vmware-vapi/endpoint.propertiessession.maxSessionsPerUser and increase the value to 1000. (Note: This parameter is not present in vCenter 8.0.X, need to manually add the set the value to 1000)#session.maxSessionCount=1000session.maxSessionsPerUser=1000# One hour is 3 600 000 millis#session.maxSessionIdleMilliseconds=3600000# One day is 86 400 000 millis#session.minSessionLifespanMilliseconds=86400000# Two days are 172 800 000 millis#session.maxSessionLifespanMilliseconds=172800000vmware-vapi-endpoint serviceservice-control --stop vmware-vapi-endpoint && service-control --start vmware-vapi-endpoint