VMware Cloud Foundation (VCF) environments may encounter issues where the SDDC Manager is unable to perform password rotations or remediations for NSX-T Manager accounts. This occurs when credentials expire or multiple failed login attempts trigger an automated lockout policy within the NSX Manager nodes.
The credentials were incorrect or the account specified has been locked.Caused by: com.vmware.vcf.passwordmanager.exception.PasswordUpdateException: The credentials were incorrect or the account specified has been locked. at com.vmware.vcf.passwordmanager.helper.NsxtApiUtil.getUserDetails(NsxtApiUtil.java:162) at com.vmware.vcf.passwordmanager.update.changers.NsxtManagerApiChanger.doTest(NsxtManagerApiChanger.java:114) ... 9 common frames omittedCaused by: org.springframework.web.client.HttpClientErrorException$Forbidden: 403 Forbidden: "{"module_name":"common-services","error_message":"The credentials were incorrect or the account specified has been locked.","error_code":403}A credential mismatch between the SDDC Manager database and the NSX appliance triggers the NSX API security policy. Repeated failed authentication attempts by SDDC Manager result in a locked account.
admin credentials./usr/sbin/faillock --user admin --resetset auth-policy api lockout-period 0set auth-policy api lockout-reset-period 0
passwd admin. lookup_passwords command on SDDC Manager.root and audit accounts if necessary.set auth-policy api lockout-period 900set auth-policy api lockout-reset-period 900For more information on Authentication Policy Settings
Impact/Risks:
NOTE: The process involves minimal configuration changes on the NSX-T Managers.
/var/log/vmware/vcf/operationsmanager/operationsmanager.log