During the SDDC Manager upgrade from version 4.5.x to 5.x, the upgrade precheck process fails with the error message:
Precheck failed to initialize java.lang.NullPointerException
Upon reviewing the /var/log/vmware/vcf/lcm/lcm-debug.log, the following exception was observed:
Exception while getting the current system time for VCenter 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
}VMware Cloud Foundation 4.x
VMware Cloud Foundation 5.x
VMware vCenter Server 8.x
This issue occurs when the maximum user session count is reached on the vCenter Server.
The maxSessionsPerUser parameter controls the total number of sessions per user supported by the vAPI endpoint, which is 550 by default in vCenter Server. When this limit is exceeded, any additional login attempts or new session requests for that particular user are rejected by the system, resulting in the observed error.
Reboot the affected vCenter Server to reset the existing user session count.
This action clears the active sessions and allows new connections to be established successfully.