"Error deploying from library:Invalid value for DatastoreMappingParams.target_datastore" Error when provisioning in Aria Automation
book
Article ID: 327419
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
- The provisioning is failed in the Aria Automation UI with the following error:
Provisioning operation failed. Error deploying from library:Invalid value for DatastoreMappingParams.target_datastore: group-pxx:<Group_Id>.
- The /var/log/services-logs/prelude/provisioning-service-app/file-logs/provisioning-service-app.log file contains entries similar to:
2023-xx-xxTxx:xx:xx.438Z ERROR provisioning [host='provisioning-service-app-<provisioning-service_Id>' thread='vsphere-io-xx' user='' org='' trace='' parent='' span=''] c.v.p.c.m.a.vsphere.InstanceClient.lambda$createInstanceFromLibraryItemAsync$176:4463 - [http://<IP>:8282/resources/compute/<machine_id>,gss-0917,TestLibrary / ContentLibrarySmallTools]: TestLibrary / ContentLibrarySmallTools Error to create instance using library item java.lang.Exception: Error deploying from library:Invalid value for DatastoreMappingParams.target_datastore: group-pxx:provisioning-service_Id>.
at com.vmware.photon.controller.model.adapters.vsphere.InstanceClient.createInstanceFromLibraryItem(InstanceClient.java:xxxx)
at com.vmware.photon.controller.model.adapters.vsphere.InstanceClient.lambda$createInstanceFromLibraryItemAsync$176(InstanceClient.java:xxxx)
Environment
VMware vRealize Automation 8.x
Cause
This error can occur when Storage DRS is not enabled on the target datastore cluster object in vSphere.
Resolution
To resolve the issue enable storage DRS on the target datastore cluster in vSphere.
Feedback
thumb_up
Yes
thumb_down
No