XenDesktop error 07E48AB2 when using Machine Creation Services

When using Machine Creation Service to create virtual desktops within XenDesktop 7 the following error can occur:

image

And this is the output of the log:

Error Id: XDDS:07E48AB2

Exception:

Citrix.Console.Models.Exceptions.ScriptException Failed to copy the snapshot image /mtd1.vm/base.snapshot/MCS Ready.snapshot to the storage referenced by the Resources Hyper-V1.

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

DesktopStudio_PowerShellHistory : Create Machine Catalog ‘XenDesktop Pooled Dynamic MCS’

27.08.2013 10:31:25

Get-ConfigServiceStatus -AdminAddress ‘ddc1:80’

Get-LogSite -AdminAddress ‘ddc1:80’

Start-LogHighLevelOperation -AdminAddress ‘ddc1:80’ -Source ‘Studio’ -StartTime 27.08.2013 08:31:25 -Text ‘Create Machine Catalog `’XenDesktop Pooled Dynamic MCS`”

New-BrokerCatalog -AdminAddress ‘ddc1:80’ -AllocationType ‘Random’ -Description ‘XenDesktop Pooled Dynamic MCS’ -IsRemotePC $False -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -MinimumFunctionalLevel ‘L7’ -Name ‘XenDesktop Pooled Dynamic MCS’ -PersistUserChanges ‘Discard’ -ProvisioningType ‘MCS’ -Scope @() -SessionSupport ‘SingleSession’

New-AcctIdentityPool -AdminAddress ‘ddc1:80’ -AllowUnicode -Domain ‘testad.uibk.ac.at’ -IdentityPoolName ‘XenDesktop Pooled Dynamic MCS’ -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -NamingScheme ‘ZVDI-P02-C1##’ -NamingSchemeType ‘Numeric’ -OU ‘OU=stateless,OU=Computer,OU=VDI,OU=OUhosting,DC=testad’ -Scope @()

Set-BrokerCatalogMetadata -AdminAddress ‘ddc1:80’ -CatalogId 10 -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -Name ‘Citrix_DesktopStudio_IdentityPoolUid’ -Value ’35b78302-a071-4e91-956a-e264b3e3764c’

Test-ProvSchemeNameAvailable -AdminAddress ‘ddc1:80’ -ProvisioningSchemeName @(‘XenDesktop Pooled Dynamic MCS’)

New-ProvScheme -AdminAddress ‘ddc1:80’ -CleanOnBoot -HostingUnitName ‘Hyper-V1’ -IdentityPoolName ‘XenDesktop Pooled Dynamic MCS’ -LoggingId 793dedc8-c3a4-441a-b763-6fc8a441e76b -MasterImageVM ‘XDHyp:\hostingunits\Hyper-V1\mtd1.vm\base.snapshot\MCS Ready.snapshot’ -NetworkMapping @{0=’xdhyp:\hostingunits\Hyper-V1\\VLAN_260.network’;1=’xdhyp:\hostingunits\Hyper-V1\\VLAN_260.network’} -ProvisioningSchemeName ‘XenDesktop Pooled Dynamic MCS’ -RunAsynchronously -Scope @() -VMCpuCount 2 -VMMemoryMB 1024

 

To fix this issue do the following:

1. On all the Desktop Delivery Controllers (DDC) open a Administrative PowerShell window and enter: Enable-wsmancredssp -Role Client –DelegateComputer *

2. On the Hyper-V host enter: Enable-wsmancredssp -Role Client –DelegateComputer *

3. Go to Citrix Studio and go to Configuration and click on Hosting, click on Test Resources

image

The tests now run successful and the Machine Creation Wizard can be started.

Also see Citrix article http://support.citrix.com/article/CTX137465 for more background information.

 

Can’t get the solution to work? Contact me and let me do the trick.

 

 

 

Advertisements
This entry was posted in Citrix XenDesktop and tagged . Bookmark the permalink.

4 Responses to XenDesktop error 07E48AB2 when using Machine Creation Services

  1. w3tower says:

    I got the same error 07E48AB2, but my message is different:

    Exception:
    Citrix.Console.Models.Exceptions.ScriptException Creation of Image Preparation VM Failed, message Citrix.ManagedMachineAPI.ManagedMachineException: No hosts available. —> Citrix.ManagedMachineAPI.ManagedMachineException: No hosts available.
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.Connection.CreateVM(String vmName, ScvmmMetaData scvmmMetadata, String storageLocation, IEnumerable vmHosts, NetworkInterfaceDetails nics, Int32 memory, Int32 cpuCount, PSObject cpuType, Boolean enableNetwork, Runspace runspace)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.SCVMMConnector.c__DisplayClass18.b__17(Runspace runspace, Connection connectionToUse)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.SCVMMConnector.Call[T](Func`2 worker)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.SCVMMConnector.CallAndRetry[T](Func`3 worker)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.MicrosoftVMManager.CreateVm(String vmName, IVMMetadata metadata, Int32 cpuCount, Int32 memory, String storageId, String rootPath, NetworkInterfaceDetails nics, Boolean enableNetwork, Boolean tagVms)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.MicrosoftVMManager.CreateCompleteVm(String name, IVMMetadata metadata, Int32 cpuCount, Int32 memory, String storageId, String rootPath, NetworkInterfaceDetails nics, Boolean enableNetwork, Boolean tagVms, IList`1 disks)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.SCVMMHypervisor.c__DisplayClass16.b__14(MicrosoftVMManager manager)
    at Citrix.HypervisorCommunicationsLibrary.TaskRunItem`2.Run(T manager)
    at HypervisorsCommon.HCL.TaskRunner`1.Run()
    — End of inner exception stack trace —
    at HypervisorsCommon.HCL.TaskScheduler`1.CompleteTask(IAsyncResult result)
    at Citrix.PoolManagement.VMManager.VmmImplementation.MicrosoftScvmmProvider.SCVMMHypervisor.EndCreateCompleteVM(IHostingUnitConnector hostingUnit, IAsyncResult result)
    at Citrix.MachineCreation.NewProvisioningSchemeSupport.NewProvisioningSchemeLogic.CreateVmCallback(IAsyncResult result)
    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 : InvalidOperationException
    DesktopStudio_PowerShellHistory : Create Machine Catalog ‘w8’
    8/30/2013 1:13:41 PM

    Get-ConfigServiceStatus -AdminAddress ‘s2012.ic.office:80’
    Get-LogSite -AdminAddress ‘s2012.ic.office:80’
    Start-LogHighLevelOperation -AdminAddress ‘s2012.ic.office:80’ -Source ‘Studio’ -StartTime 8/30/2013 8:04:42 PM -Text ‘Create Machine Catalog `’w8`”
    New-BrokerCatalog -AdminAddress ‘s2012.ic.office:80’ -AllocationType ‘Random’ -Description ‘w-8’ -IsRemotePC $False -LoggingId 0234f285-0988-4773-8592-8ff7cd817d3e -MinimumFunctionalLevel ‘L7’ -Name ‘w8’ -PersistUserChanges ‘Discard’ -ProvisioningType ‘MCS’ -Scope @() -SessionSupport ‘SingleSession’
    New-AcctIdentityPool -AdminAddress ‘s2012.ic.office:80’ -IdentityPoolName ‘w8’ -LoggingId 0234f285-0988-4773-8592-8ff7cd817d3e -Scope @()
    Set-BrokerCatalogMetadata -AdminAddress ‘s2012.ic.office:80’ -CatalogId 2 -LoggingId 0234f285-0988-4773-8592-8ff7cd817d3e -Name ‘Citrix_DesktopStudio_IdentityPoolUid’ -Value ‘bab3d745-8e90-4c89-9f80-d122c9f1eb74’
    New-HypVMSnapshot -AdminAddress ‘s2012.ic.office:80’ -LiteralPath ‘XDHyp:\hostingunits\ic\i_vmhd_8-ic.vm’ -LoggingId 0234f285-0988-4773-8592-8ff7cd817d3e -SnapshotName ‘Citrix_XD_w8’
    Test-ProvSchemeNameAvailable -AdminAddress ‘s2012.ic.office:80’ -ProvisioningSchemeName @(‘w8’)
    New-ProvScheme -AdminAddress ‘s2012.ic.office:80’ -CleanOnBoot -HostingUnitName ‘ic’ -IdentityPoolName ‘w8’ -LoggingId 0234f285-0988-4773-8592-8ff7cd817d3e -MasterImageVM ‘XDHyp:\hostingunits\ic\i_vmhd_8-ic.vm\Citrix_XD_win8.snapshot\Citrix_XD_w8.snapshot’ -NetworkMapping @{0=’xdhyp:\hostingunits\ic\\aspeedtech.network’} -ProvisioningSchemeName ‘w8’ -RunAsynchronously -Scope @() -VMCpuCount 2 -VMMemoryMB 1024
    Stop-LogHighLevelOperation -AdminAddress ‘s2012.ic.office:80’ -EndTime 8/30/2013 8:13:41 PM -HighLevelOperationId ‘0234f285-0988-4773-8592-8ff7cd817d3e’ -IsSuccessful $False

  2. gri says:

    How did you resolve it

  3. VDI_Tech says:

    I am getting the same message with VMWare 5.1 as host, Any idea how to resolve it?

  4. Adam Shapiro says:

    I’m running into the same problem using vSphere 5.1. VDI_Tech did you ever get the resolution?

    Thanks,
    Adam

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s