"Validation Request Timed out.Please try again later" when testing blueprint template
search cancel

"Validation Request Timed out.Please try again later" when testing blueprint template

book

Article ID: 370155

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • Aria Automation blueprint test's submitted via the UI timeout after 2 minutes:
    Validation Request timed out. Please try again later

 

Environment

Aria Automation 8.x 

Cause

There is a default non-configurable 2 minute timeout which is applicable to the test blueprint operation when submitted via the UI.


Resolution

To workaround the issue when Test blueprint operations are taking longer than 2 minutes to complete you can submit the test request via API:

 

1. Generate a bearer token to authenticate with the Aria Automation rest api.



2. Submit the blueprint template test via a POST request to blueprint/api/blueprint-requests.

Detail of the Blueprint request API can be found here 


with request body as below:

{"deploymentId":null,"deploymentName":null,"description":null,"plan":false,"blueprintId":"7435f490-df72-4b71-9b79-537f4ad33c6f","content":null,"simulate":true}

The response of this API call will be similar to:

{
"id": "d73f5cf1-880a-496e-812a-f9f443c164fa",
"createdAt": "2024-05-21T22:21:04.196365Z",
"createdBy": "[email protected]",
"updatedAt": "2024-05-21T22:21:04.196365Z",
"updatedBy": "[email protected]",
"orgId": "a1db05ab-6b25-4336-9ce8-2686e7b6c962",
"projectId": "933cd1a1-ffa6-412d-90e9-f93f2260fdb8",
"projectName": "vsphere-project",
"deploymentId": "25b02a11-926d-4c4e-b5e4-67629fe59c38",
"requestTrackerId": "d73f5cf1-880a-496e-812a-f9f443c164fa",
"deploymentName": "deployment_25b02a11-926d-4c4e-b5e4-67629fe59c38",
"reason": "Simulate",
"plan": false,
"destroy": false,
"ignoreDeleteFailures": false,
"simulate": true,
"blueprintId": "69fa9cd0-74a2-4c73-8a4d-139cd624d735",
"inputs": {},
"status": "STARTED",
"flowId": "d73f5cf1-880a-496e-812a-f9f443c164fa"
}


Here you will find the "id": "d73f5cf1-880a-496e-812a-f9f443c164fa", this is the id of the test request.Wait a number of minutes to allow the request to complete.

 

 


3. Then using this id submit a GET request to blueprint/api/blueprint-requests/d73f5cf1-880a-496e-812a-f9f443c164fa

Details of this API can be found here.

The response of this API call will be similar to:

{
"id": "d73f5cf1-880a-496e-812a-f9f443c164fa",
"createdAt": "2024-05-21T22:21:04.196365Z",
"createdBy": "[email protected]",
"updatedAt": "2024-05-21T22:21:08.252953Z",
"updatedBy": "[email protected]",
"orgId": "a1db05ab-6b25-4336-9ce8-2686e7b6c962",
"projectId": "933cd1a1-ffa6-412d-90e9-f93f2260fdb8",
"projectName": "vsphere-project",
"deploymentId": "25b02a11-926d-4c4e-b5e4-67629fe59c38",
"requestTrackerId": "d73f5cf1-880a-496e-812a-f9f443c164fa",
"deploymentName": "deployment_25b02a11-926d-4c4e-b5e4-67629fe59c38",
"reason": "Simulate",
"plan": false,
"destroy": false,
"ignoreDeleteFailures": false,
"simulate": true,
"blueprintId": "69fa9cd0-74a2-4c73-8a4d-139cd624d735",
"inputs": {},
"status": "FINISHED",
"validationMessages": [
{
"resourceName": "Cloud_vSphere_Machine_1",
"path": "$.resources.Cloud_vSphere_Machine_1",
"type": "INFO",
"metadata": {
"provisioningDiagram": "https://AriaAutomationFQDN/automation-ui/#/provisioning-ui;ash=%2Frequests%2Fc4ce5402-d3ae-483c-81bd-22413e91237c"
}
}
],
"flowId": "d73f5cf1-880a-496e-812a-f9f443c164fa",
"flowExecutionId": "3f669870-06eb-4ea0-9b5b-48665f517ee5"
}

In the example above you can see the status marked as FINISHED, meaning the test finished successfully. If it is marked as FAILED, then you can look at validationMessages section for error details.

Additional Information

Multiple factors affect the time taken to complete blueprint template test requests the time taken is a factor of blueprint size, constraints, number of cloud accounts and hosts on each vCenter.