vCenter discovery can fail with the error vCenter cloud in progress.

Resolution

The vCenter discovery fails as there is no virtual machine in vCenter cloud. Create at least one virtual machine in the data-center to fix the vCenter discovery issue.

The NSX Advanced Load Balancer Controller requires virtual machine details to verify the IP address allocation for each VM. The Controller uses the logic of discovering VMs to confirm connectivity. If the VM count remains zero (which is expected in this case), the Controller assumes that there is some issue in getting the virtual machine details.

Troubleshooting Steps

Perform the following checks to troubleshoot this issue:

  • Check if the credentials for vCenter have full administrative privileges.

  • The following ports between the Controller and vCenter host must be opened:

    • 22

    • 443

    • 8443

  • Use swagger to test the API call.

    "https://localhost:9447/api/vimgrvmruntime" shows 0 VMs: { "count": 0, "results": []}