vRA 8 Deployment Create Fails - Cannot Find Available Cloud Zones in the Current Project

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/04 at 04:47 PM

 

Category:
VMWare
vRA

Issue:
Deployments fail.
History shows the placement error message:


Create - Failed
Cannot find available cloud zones in the current project. Maybe there is no connectivity to the endpoint.


Troubleshooting:
Verified vCenter is up-and-running. Verified vCenter services running. vCenter version is 7.0.3(x) build.
Verified that storage and compute are available.

Check service account logins, and they appear to be successful:
vSphere Client --> vCenter --> Monitor --> Events
The login shows successful:
Date Time: 01/01/2023 1:01:01 AM
Type: Information
User: accountid
Description:
User accountid@10.1.2.123 logged in as VMware...
Related events:
There are no related events.

The new VM UUID is assigned to the VM okay, the logical switch port and MAC address are created, the new BIOS UUID is created. The new Deploy OVF template is started okay. The machine is Powered On okay.

A short while later, a message saying the account session has been terminated:
Date Time: 01/01/2023 1:09:58 AM
Type: Information
User accountid
Description:
A session for user 'accountid' has stopped
Event Type Description:
A session has been terminated.
Related events:
There are no related events.

Nothing off in vCenter that we can see.


Checked the vRA event logs:
Aria/vRA --> Assembler --> Extensibility --> Events (left menu)
The deployment can be seen going through the steps:
Deployment requested --> Provisioning request --> Disk allocation --> Provisioning request --> .. Deployment completed -->

Nothing off in vRA provisioning log/events that we can see.


Checked the Cloud Account:
Assembler --> Infrastructure --> Connections (left menu) --> Cloud Accounts (left menu)
Status:
Data collection has failed.
Image synchronization failed.
Unavailable for deployment.

The username and password for the service account are correct.

Click the "See details" link beside the Data collection and Image synchronization failure messages.

The Data collection failed error message says:
java.util.concurrent.CompletionException:
com.vmware.proton.controller.model.adapters.vsphere.VsphereAdapterException: The connection with the vAPI endpoint can not be established. Cause: null.

The Image synchronization failed error message says:
Image synchronization failed. The connection with the vAPI endpoint can not be established. Please make sure the vAPI endpoint is running on the vCenter. ( com.vmware.vapi.endpoint.failedToLoginMaxUserSessionCountReached User session count is limited to 550. Existing session count is 550 for user accountid.)

The actual reason is that there are too many session logins before the sessions are closing.


Resolution:
1. Restart the vCenter. For some reason, the previous sessions are not clearing properly on the vCenter side.
Wait for vCenter to be completely up-and-running again.

2. Return back to vRA and the Cloud Account.
Assembler --> Infrastructure --> Connections (left menu) --> Cloud Accounts (left menu)

a. Under Status, Click the UPDATE button. Wait a second or five. The unavailable message should change to "Available for deployment".
b. Wait another 10 minutes (assuming that's the data collection window). The Data collection line should update to "Data collection completed ...".
c. At this point, click the SYNC IMAGES button. Wait a minute or 5, and this should be successful, too.



previous page