VM deployment in Aria Automation to a datastore cluster using an "imageRef" linked to a snapshot (linked clone) fails with the following error:
Error: Validation failure during provisioning from snapshots. The issue is that disks [boot-disk] are requested to be placed into datastore clusters.
Aria Automation 8.X
The error occurs because Aria Automation does not support placing any disk (including the boot disk) into a datastore cluster when provisioning from a snapshot (linked clone).
Log snippets from the failure:
Tango-blueprint logs:
ERROR tango-blueprint ... create request Failed: java.lang.IllegalArgumentException: Validation for provisioning from the snapshots has failed. Reason: Disks [boot-disk] are requested to be placed into datastore clusters.
Provisioning service logs:
ERROR provisioning [host='provisioning-service-app-7xxxxxx9-zhpzd' thread='vsphere-io-27' user='' org='' trace='' parent='' span=''] c.v.p.c.m.a.vsphere.InstanceClient.createInstanceFromSnapshot:454 - Validation for provisioning from the snapshots has failed. Reason: Disks [boot-disk] are requested to be placed into datastore clusters. WARN provisioning [host='provisioning-service-app-7xxxxx9-zxxxd' thread='vsphere-io-27' user='' org='' trace='' parent='' span=''] unknown.jul.logger.logWarning:471 - Error while provisioning. Validation for provisioning from the snapshots has failed. Reason: Disks [boot-disk] are requested to be placed into datastore clusters.
To resolve this issue, avoid using a snapshot (linked clone) as the "imageRef" when deploying to a datastore cluster. Instead, use either:
This ensures compatibility with Aria Automation provisioning workflows.