The NSX upgrade precheck fails due to the expiration .
The alarm shows that user guestuser1 is expired and must be changed.
The password for user guestuser1 must be changed now to access the system. For example, to apply a new password to a user, invoke the following NSX API with a valid password in the request body: PUT /api/v1/node/users/<userid> where <userid> is the ID of the user. If the admin user (with <userid> 10000) password has expired, admin must login to the system via SSH (if enabled) or console in order to change the password. Upon entering the current expired password, admin will be prompted to enter.
VMware NSX
Guest accounts are local user accounts introduced to NSX in version 3.1.1.
These accounts share the default 90-day password expiration policy when enabled.
The password expiry for these new users can be changed via REST API.
Optionally, the current password expiry of all local users can be viewed with the following API call:
root@NSXmgr:~# curl -v -k -u 'admin:<admin-password>' -H 'Content-Type: application/json' X GET https://localhost/api/v1/node/users
Please note:
guestuser1 has id of: 10003
guestuser2 has id of: 10004
To change the password expiry of a guestuser, use the following API call :
root@NSXmgr:~# curl -v -k -u 'admin:<admin-password>' -X PUT -H 'Content-Type: application/json' https://localhost/api/v1/node/users/10003 --data-binary '{ "password_change_frequency": 0 }'