Citrix MCS Provisioning Failure

Yesterday, I ran into an issue with MCS on 7.15 CU4, that I had not experienced before. When attempting to provision a new Machine Catalog via Citrix Studio, the following error was thrown after the file copy operation completed.

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 : 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. 

   at System.Net.HttpWebRequest.GetResponse() 

   at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.UploadFile(Stream diskStream, Int64 fileLength, String name, String dataCenterName, String datastoreName, String targetFolder) 

HCL-VMware: WebException in UploadFile (attempt 1). System.Net.WebException: The remote server returned an error: (404) Not Found. 

   at System.Net.HttpWebRequest.GetResponse() 

   at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.UploadFile(Stream diskStream, Int64 fileLength, String name, String dataCenterName, String datastoreName, String targetFolder) 

HCL-VMware: WebException in UploadFile (attempt 2). System.Net.WebException: The remote server returned an error: (404) Not Found. 

   at System.Net.HttpWebRequest.GetResponse() 

   at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.UploadFile(Stream diskStream, Int64 fileLength, String name, String dataCenterName, String datastoreName, String targetFolder) 

HCL-VMware: WebException in UploadFile (attempt 3). System.Net.WebException: The remote server returned an error: (404) Not Found. 

   at System.Net.HttpWebRequest.GetResponse() 

   at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.UploadFile(Stream diskStream, Int64 fileLength, String name, String dataCenterName, String datastoreName, String targetFolder) 

HCL-VMware: WebException in UploadFile (attempt 4). System.Net.WebException: The remote server returned an error: (404) Not Found. 

   at System.Net.HttpWebRequest.GetResponse() 

   at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.UploadFile(Stream diskStream, Int64 fileLength, String name, String dataCenterName, String datastoreName, String targetFolder) 

At first glance, it looks like a bunch of gibberish, however if you take the time to read through it, there is something that stands out.

Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager.UploadFile(Stream diskStream, Int64 fileLength, String name, String dataCenterName, String datastoreName, String targetFolder)

Something is up with the datacenter. In my environment, it is a VMWare hypervisor, so let’s take a look. The datacenter name that was having issues, strayed from my normal naming convention - this one included a slash in the data center name. Removing the dash, and retrying to MCS operation allowed me to create the catalog as expected.

Citrix does have a KB article out about this, however it is listed under a different error code (XDDS:02C84D06)

Did u check the connection to the hyper visor is fine. Because we ran into similar issues while updating machines!! And found that the connection between DDC and Hypervisor failed

@Rohitgattu Yup - that was the first thing that we checked. It was %100 an issue with the name of the data center as defined on the VMWare hypervisor