audit account fails in SDDC Manager with the following error:The credentials were incorrect or the account specified has been locked./usr/sbin/faillock --user audit shows the account is not locked.chage -l audit displays:Last password change: password must be changedPassword expires : password must be changedPassword inactive : password must be changedVMware Cloud Foundation 5.x
This issue is caused by a synchronization conflict within the NSX Manager cluster. When a password is changed on a single node while management API services are active, the existing stale credentials stored on peer nodes may overwrite the local change during the next synchronization cycle (which typically occurs every few minutes).
Perform a manual password reset via CLI on the NSX Manager node with service isolation and cluster synchronization triggers:
root via SSH./etc/init.d/nsx-mp-api-server stop
<username> with the affected user, e.g., audit)passwd <username>
touch /var/vmware/nsx/reset_cluster_credentials
/etc/init.d/nsx-mp-api-server startFor details regarding NSX local user password resets, refer to KB NSX Local User (Root/Admin/Audit etc.) Password Reverts After Reset.