Could not fetch NSX-T Transport Zone from the Compute configured in the Compute Profile". Could not resolve segment /infra/segments/<network-name>/".https://<HCX-FQDN-OR-IP>:9443) results in a failure message: "The credentials are incorrect or the account specified has been locked".2021-08-03 16:06:51.431 UTC [NSXService_SvcThread-23360, Ent: HybridityAdmin, , TxId: ########-####-####-####-############] ERROR c.v.v.h.s.n.NsxTInventorySyncJob- Error while syncing the traffic groups. Got
Response:{"status":"failure","statusCode":403,"details":"","result":{"module_name":"common-services","error_message":"The credentials were incorrect or the account specified has been locked.","error_code":403
}}
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware HCX
VMware NSX
To remedy this, you may either:
A.) Change the NSX-T API Authentication Policy.
Steps to do so are:
set auth-policy api lockout-period 0'.https://<HCX-FQDN-OR-IP>:9443) and enter the updated NSX-T admin credentials.'set auth-policy api lockout-period 15'.B.) Change the NSX API lockout reset period.
get auth-policy api lockout-reset-period to check the current configuration. The default is 900.set auth-policy api lockout-reset-period 5 to reduce the lockout reset period.set auth-policy api lockout-reset-period 900. C.) Update the password within HCX and let the Authentication Lockout Period elapse.
Steps to do so are:
More information on the NSX Authentication Policy options can be found here: Authentication Policy Settings.