During vCenter cloud integration, the NSX Advanced Load Balancer integration with VMware vCenter can fail with an error Timeout in executing RPC VIMgrCliService Verifylogin.

The user interface exhibits the error as shown in the following screen capture.



Resolution

This error is observed when there is a delay in logging from the NSX Advanced Load Balancer to the vCenter. When a vCenter cloud is configured in NSX Advanced Load Balancer, a user login request is sent to the vCenter. The Controller then measures the response time to the login request. If it is greater than 10 seconds, this error is displayed in the UI. At the same time, a system event (VCENTER_ACCESS_SLOW) is generated in the Controller Event logs.

To know more about various connectivity probes used by NSX Advanced Load Balancer for vCenter, see vCenter Connectivity Probes. In most cases when this error is observed, vCenter authentication is handled by an external authentication server (LDAP or equivalent). To confirm that delay is introduced by the external authentication server, follow these steps:

  • Create a local test account (without any external authentication) on vCenter.

  • If the login is successful with the test account, it is evident that the the delay is coming from the external authentication server.

Additional Information

For troubleshooting, observe the following communication probes in the NSX Advanced Load Balancer portal log (/opt/avi/log/portal_exception.log).

In the following log snippet, vCenter (10.100.0.10) took 22 secs to respond to the VerifyLogin request. As the login was successful, the NSX Advanced Load Balancer was able to retrieve data center information.

 017-09-18 00:02:17,486 INFO [pool-1-thread-8] (vCenterMgrServiceImplementation.java:958) - ---------------------------------------------
2017-09-18 00:02:17,487 INFO [pool-1-thread-8] (vCenterMgrServiceImplementation.java:959) - VerifyLogin : OPERATION START Time Stamp 2017-09-18 00:02:17.487
2017-09-18 00:02:17,487 INFO [pool-1-thread-8] (vCenterMgrServiceImplementation.java:960) - ------------------------
2017-09-18 00:02:17,488 INFO [pool-1-thread-8] (vCenterMgrServiceImplementation.java:962) - Vcenter : 10.100.0.10User : [email protected]
2017-09-18 00:02:39,503 INFO [pool-1-thread-8] (VCMgrRetrieveDC.java:114) - Ver :