Unable to create MCS catalogs in new Hosting connection error “FailedToCreateImagePreparationVm”

Unable to create MCS catalogs in new Hosting connection error “FailedToCreateImagePreparationVm”

book

Article ID: CTX321163

calendar_today

Updated On:

Description

  • The issue is encountered when trying to create a new catalog on a new hosting connection pointing to a new VMWare Vcentre resource
  • Adding the connection completes without issue but when trying to create a new MCS catalog, it fails with the following error:
Transaction ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Action Name: MC_CreateMachineCatalogInitialzation
An error occurred. Contact Citrix Technical Support, and provide the transaction ID above.
Exception:
DesktopStudio_ErrorId : ProvisioningTaskError
ErrorCategory : NotSpecified
ErrorID : FailedToCreateImagePreparationVm
TaskErrorInformation : Terminated
InternalErrorMessage : Failed to upload disk. Errors:HCL-VMware: WebException in UploadFile (attempt 0). System.Net.WebException: The remote server returned an error: (404) Not Found.
  • Running a test on the hosting connection does not reveal any problems
  • When running a test on an individual storage resource under the connection, it may fail one of the tests with an error similar to below

Controller xxxxx-xx-x.citrixcloud.local: The storage with ID /xxxx/xxxxxxx/xxxxx_LUN0xx.storage could not be read from the data store. Ensure the storage exists on the data store and has the appropriate permissions.

Resolution

  • Ensure that the service account used in Citrix (the credentials entered when adding the hosting connection) has required permissions not just at hypervisor role level, but also on the new storage unit.
  • It can be useful to compare permissions on existing working storage and compare with the new to see if they match. 
  • The permissions required by DaaS on VMware are documented here: https://docs.citrix.com/en-us/citrix-daas/install-configure/connections/connection-vmware-virtualization-environments.html

Problem Cause

  • Missing required permissions on storage.

Additional Information