Symptoms:
/var/log/vmware/vcf/lcm/lcm-debug.log
the following message is found:Exception occurred during NSX API invocation java.util.concurrent.ExecutionException: com.vmware.vapi.std.errors.Unauthorized: Unauthorized (com.vmware.vapi.std.errors.unauthorized)
=> {messages = [],data = struct => {error_message=The credentials were incorrect or the account specified has been locked., error_code=403, module_name=common-services},errorType = UNAUTHORIZED}
lookup_passwords
has the password set as for each disconnected nodelookup_passwords
and enter a username and password for a user with the ADMIN rolelinux
and add systemd.wants=PasswordRecovery.service
to the end of the line. /etc/init.d/nsx-edge-api-server stop
passwd admin
passwd audit
passwd guestusername
touch /var/vmware/nsx/reset_cluster_credentials
/etc/init.d/nsx-edge-api-server
start
set auth-policy cli lockout-period 0
set auth-policy cli max-auth-failures 0
/etc/init.d/nsx-mp-api-server stop
passwd admin
.touch /var/vmware/nsx/reset_cluster_credentials
/etc/init.d/nsx-mp-api-server start
set auth-policy api lockout-period 0
set auth-policy api lockout-reset-period 0
set auth-policy api max-auth-failures 0
lookup_passwords
on SDDCchage -l root
chage -l admin
chage -l audit