The NSX-T cloud on Avi load balancer goes down and becomes Red.
We can see the following errors in the controller events -
sudo curl -k -X POST -H "Authorization: Basic <token>" https://<VC Endpoint>/rest/com/vmware/cis/sessionThe token value is the base64 encoding of 'username:password' for the vCenter account.
Resolution:
The best practice is to create a dedicated service account on vCenter for Avi load balancer.
After creating the new account, update the new credentials in Avi's cloud configuration.
Workarounds on vCenter:
Option 1:
Option 2:
cp /etc/vmware-vapi/endpoint.properties /etc/vmware-vapi/endpoint.properties.backup
vi /etc/vmware-vapi/endpoint.properties
#session.maxSessionCount=1000
session.maxSessionsPerUser=1000
service-control --restart vmware-vapi-endpoint