vCenter Server 8.0 U3 randomly crashes and becomes inaccessible.
VMware vCenter Server 8.0 U3b
VMware vCenter Server 8.0 U3d
The crashes in vCenter are primarily due to a dangling Session pointer within the Vmacore::Authorize::UserCache
. When a user attempts to re-login with an invalid password while already logged in, the method UpdateSessionAuthData
tries to update the expiration time for all sessions. This operation dereferences a dangling pointer, leading to a crash.
The relevant stack trace indicates that the error occurs when handling login errors and managing session authentication. The method SetAuthData
replaces the existing authentication data with a DummyAuthData
instance without properly closing the previous session, resulting in an invalid pointer in the cache.
To temporarily mitigate the crashing issue, modify the vpxd configuration file to change session management settings.
SSH to vCenter via root
Locate the <vpxd>
section and ensure the following setting is present. If it is not present, manually enter it in.
Save the changes to the configuration file.
Restart the vCenter service to apply the changes.
This workaround prevents the vCenter from crashing when handling authentication errors.