Citrix Cloud - Creation of MCS catalog fails with the error "Failed to create the provisioning scheme"

book

Article ID: CTX695175

calendar_today

Updated On:

Description

While creating a new MCS catalog, administrators may see  "Failed to create the provisioning scheme" error at Step 5 ( Copying the Master Image). The detailed error message shows the following failure stack:

Failed to create the provisioning scheme.
Stack Trace:
   at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeTask.ThrowOnTerminatingError(SdkProvisioningSchemeAction sdkProvisioningSchemeAction)
   at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeTask.WaitForProvisioningSchemeActionCompletion(Guid taskId, Action`1 actionResultsObtained)
   at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeCreationTask.StartProvisioningAction()
   at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeCreationTask.RunTask()
   at Citrix.Orchestration.Base.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()

StudioErrorId : ProvisioningTaskError
ErrorCategory : NotSpecified
TaskState : FailedToCreateImagePreparationVm
TaskStateInformation : Terminated
ErrorId : FailedToCreateImagePreparationVm
Operation : PreparingMasterImage
ErrorMessage : Error while copying content to a stream.

Just before the failure, administrators may see that the Preparation VM created on the hypervisor is waiting for user inputs prompting for Bitlocker decryption key.

Note: After the default timeout (20 mins), the preparation VM will be shutdown and deleted. So the hypervisor needs to be constantly monitored for the Preparation VM and it's state to validate if it is stuck on the Bitlocker decryption key prompt screen.

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Cause

MCS does not support Bitlocker encryption of the image as of CVAD 2402. This may change in the future versions.

Resolution

Disabling Bitlocker encryption of the image resolved the problem.

Click on Start > Privacy Security > Device Encryption
Click on Turn Off Bitlocker option

image.png

Issue/Introduction

While creating a new MCS catalog, administrators may see  "Failed to create the provisioning scheme" error at Step 5 ( Copying the Master Image)

image.png

Additional Information

For more information on Bitlocker Encryption settings, refer to the following Microsoft article:

https://support.microsoft.com/en-us/windows/device-encryption-in-windows-cf7e2b6f-3e70-4882-9532-18633605b7df

Refer to the following article for other possible configurations that can result in MCS Catalog creation task failure:

https://support.citrix.com/external/article/202656/catalog-creation-mcs-preparation-of-mast.html