/var/log/vmware/vcf/lcm/lcm-debug.log
YYYY-MM-DDT17:20:07.040+0000 ERROR [vcf_lcm,xxxxxxxxxxxxxx,3b2e] [c.v.e.s.l.a.i.i.HardwareSupportClientImpl,Scheduled-10] Exception occurred while loading the Hardware Support Info for the domain xxxxxxxxx-xxxx-xxxx-xxxxxxxxxx com.vmware.vapi.std.errors.ServiceUnavailable: ServiceUnavailable (com.vmware.vapi.std.errors.service_unavailable) => { messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => { id = com.vmware.vapi.endpoint.failedToLoginMaxUserSessionCountReached, defaultMessage = User session count is limited to 550. Existing session count is 550 for user [email protected]., args = [550, 550, [email protected]], params = <null>, localized = <null> }], data = <null>, errorType = SERVICE_UNAVAILABLE
com.vmware.vapi.std.errors.service.unavailable => {data=<unset>,error_type=SERVICE_UNAVAILABLE, messages=User session count is limited to 550. Existing session count is 550 for user <Username>., localized=<unset>, id=com.vmware.vapi.endpoint.failedToLoginMaxUserSessionCountReached,
VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
This issue occurs when the user session count maximum is reached on the vCenter Server.
Workaround 1:
Option 1
Option 2
cp /etc/vmware-vapi/endpoint.properties /etc/vmware-vapi/endpoint.properties.backup
vi /etc/vmware-vapi/endpoint.properties
#session.maxSessionCount=1000
session.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=172800000
service-control --stop vmware-vapi-endpoint && service-control --start vmware-vapi-endpoint
Workaround 2:
Resolution - This issue is caused by the infraprofile service failing to respond to vAPI requests.
This is expected to be resolved in a future vCenter release.
Confirm the idle timeout from the /var/log/vmware/vapi/endpoint/endpoint.log:
Keyword: idle
YYYY-MM-DDT16:39:53.554Z | INFO | session-monitor1 | MasterSessionMonitor | Session [email protected] (internal id xxxxxxxx-xxxx-xxxx-xxxxxxxxx, token 3e252...) has been idle for 3,600,907 milliseconds.
Increase the memory of the infraprofile service by completing the following:
1. Check current memory allocated to the infraprofile service:
cloudvm-ram-size -l | grep vmware-infraprofile
2. Double the memory allocated to the infraprofile service:
cloudvm-ram-size -C <DoubleOutputFromStep1> vmware-infraprofile
3. Restart the infraprofile service:
service-control --stop vmware-infraprofile && service-control --start vmware-infraprofile
service-control --restart vmware-vapi-endpoint