After performing the upgrade to 8.16.X, there is an error when deploying machines on AWS server.
Error message :
Too many available placements satisfy the request requirements. Narrow down the selection via constraints.
Aria Automation 8.16.1 and above
There is a configuration limit in regard to Cloud Zones, in which a hard limit of 100 was implemented in 8.16.1 which did not previously exist.
Issue is fixed in Aria Automation 8.18.1
Note: Take cold snapshots of the cluster before performing changes
The current workaround is:
1. Log in by SSH to primary vRA node.
2. Open the following file in an editor:
/opt/charts/provisioning-service/values.yaml 3. Add a new line or update with the property name xenon.PlacementUtils.maxPlacementZone and an appropriate value in the javaOpts section. For example:javaOpts:
"xenon.PostgresDocumentIndexService.QUERY_THREAD_COUNT": "123"
...
"xenon.PlacementUtils.maxPlacementZone": "1000"
4. Save and close the file. (Pay attention to have same amount of spaces in front of the line as the previous properties as Yaml is sensitive.)
5. Execute the deploy.sh script to re-deploy all services and apply the change:
/opt/scripts/deploy.sh
6. Ensure all services have started — especially provisioning-service-app:
kubectl -n prelude get pods