Pages

Thursday, February 26, 2015

Error deplying a new XenApp 7.6 Machine Catalog using Citrix Machine Creation Services (MCS) with VMware vSphere

Problem

You’re attempting to create a new XenApp 7.6 Machine Catalog using Citrix Machine Creation Services (MCS):

image

image

Completing the wizard starts the process of cloning the XenApp application server’s master image but you notice that the process does not complete and you are presented with the following error:

An error occurred while preparing the image.

image

Clicking on the View error details button displays the following error details:

Error Id: XDDS:0DAA3833

Exception:

Citrix.Console.Models.Exceptions.ProvisioningTaskException An error occurred while preparing the image.

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeTask.CheckForTerminatingError(SdkProvisioningSchemeAction sdkProvisioningSchemeAction)

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeTask.WaitForProvisioningSchemeActionCompletion(Guid taskId, Action`1 actionResultsObtained)

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeCreationTask.StartProvisioningAction()

at Citrix.Console.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.ProvisioningSchemeCreationTask.RunTask()

at Citrix.Console.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()

DesktopStudio_ErrorId : UnknownError

ErrorCategory : NotSpecified

ErrorID : FailedToCreateImagePreparationVm

TaskErrorInformation : Terminated

InternalErrorMessage : Either the account is not granted sufficient privilege or disabled or username/password is incorrect

image

Reviewing the Recent Tasks pane in vCenter shows that the create folder task never begins:

image

Solution

This problem is most likely caused by missing permissions for the service account used by Citrix Studio to connect and execute operations in your vSphere environment. In this particular case, the missing permission was the Advanced permission under Configuration:

image

The cloning and deployment of the XenApp application server completed successfully once the permission was granted:

image

image

No comments: