VMware Avi Load Balancer > Operation > Event:
NSX-T connection setup failed - reason The credential were incorrect or the account specified has been locked.
VMware Avi Load Balancer with NSX-T Cloud
The NSX Manager account enters a lockout state because the AVI LB is not included in the lockout_immune_addresses parameter. When the password is changed, the automated requests from the AVI LB trigger the NSX lockout mechanism, preventing successful authentication.
To prevent AVI LB from being locked out, you must add its addresses to the immune list on the NSX Local Manager:
To use the curl command, please follow these steps:
Note: Ensure you have valid backups before proceeding with the following steps.
curl -k -X GET -H "Content-Type: application/json" -u 'admin' https://localhost/api/v1/cluster/api-service > api-service.txtsed -i '$i\,\"lockout_immune_addresses\":[ \"IP_Address\", \"IP_Address\", \"IP_Address\" ]' api-service.txtcurl -k -X PUT -H "Content-Type: application/json" -u 'admin' https://localhost/api/v1/cluster/api-service -d @api-service.txt