Jump to content
Welcome to our new Citrix community!
  • 0

MCS Failed to copy disk


Martijn Kools

Question

Hello,

 

Trying to create a new machine catalog for MCS, but it always fails with this error message. Any idea? CVAD 1912. Host is XenServer 8.0

 

Error Id: XDDS:8D0568C3

Exception:
    domain\NLBRPXD03$ : [domain\NLBRPXD03$, Could not locate the master disk image; XSTMPL10.vm/Citrix_XD_MC-NLBRPXDW10PRD.snapshot/Citrix_XD_MC-NLBRPW10PRD.snapshot to create the virtual machine; domain\NLBRPXD03$.
    Error Details
    MachineFailure
     : domain\NLBRPXD03$Inner Error:
    Failed to copy disk. Reason : SR_BACKEND_FAILURE_79 : VDI Invalid size : Volume size is larger than the availiable extra allocated memory. Requested: 85899345920. Availiable: 8589934592.
    Error Details
    ErrorID
     : PluginUtilities.Exceptions.ManagedMachineGeneralExceptionTaskErrorInformation
     : PluginUtilities.Exceptions.ManagedMachineGeneralException: Failed to copy disk. Reason : SR_BACKEND_FAILURE_79 : VDI Invalid size : Volume size is larger than the availiable extra allocated memory. Requested: 85899345920. Availiable: 8589934592.  ---> PluginUtilities.Exceptions.ManagedMachineGeneralException: Failed to copy disk. Reason : SR_BACKEND_FAILURE_79 : VDI Invalid size : Volume size is larger than the availiable extra allocated memory. Requested: 85899345920. Availiable: 8589934592. 
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.CopyVdi(XenRef`1 vdiRef, XenRef`1 srRef, Action`1 reportPercentComplete)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.CopyDisk(String diskID, String storageID, String name, Action`1 reportPercentComplete)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenHypervisor.<>c__DisplayClass117_0.<BeginCopyDiskInternal>b__0(XenMachineManager manager)
       at Citrix.HypervisorCommunicationsLibrary.TaskRunItem`2.Run(T manager)
       at HypervisorsCommon.HCL.TaskRunner`1.Run()
       --- End of inner exception stack trace ---
    
    Server stack trace: 
       at HypervisorsCommon.HCL.TaskScheduler`1.CompleteTask(IAsyncResult result)
       at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenHypervisor.EndCopyDiskInternal(IHostingUnitDetails hostingUnit, IAsyncResult result)
       at Citrix.HypervisorCommunicationsLibrary.AddInSideAdapter.IHypervisor_AddInViewToContractAdapter.EndCopyDisk(IHostingUnitDetailsContract hostingUnit, IAsyncResult result)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Citrix.HypervisorCommunicationsLibrary.Contracts.IHypervisorContract.EndCopyDisk(IHostingUnitDetailsContract hostingUnit, IAsyncResult result)
       at Citrix.HypervisorCommunicationsLibrary.HostSideAdapter.IHypervisor_ContractToHostViewAdapter.EndCopyDisk(IHostingUnitDetails hostingUnit, IAsyncResult result)
       at RemoteHCLClient.Hypervisor.LoggedHypervisor.<>c__DisplayClass22_0.<EndCopyDisk>b__0()
       at RemoteHCLClient.AbstractHclMethodLogger.ExecuteFunction[T](Func`1 function, String methodName, IFmaLog internalLog, Stopwatch watch)
       at RemoteHCLClient.AbstractHclMethodLogger.ExecuteWithStopwatch[T](Func`1 function, String methodName, IFmaLog internalLog, Stopwatch& watch)
       at RemoteHCLClient.AbstractHclMethodLogger.ExecuteMethodWithLogging[T](Func`1 function, PropertiesCollection parameters, String methodName, Func`2 resultMapper, IFmaLog internalLog)
       at RemoteHCLClient.AbstractHclMethodLogger.ExecuteMethodWithLogger[T](Func`1 function, PropertiesCollection parameters, String methodName, Func`2 resultMapper, IFmaLog loggerToUse)
       at RemoteHCLClient.AbstractHclMethodLogger.ExecuteMethod[T](Func`1 function, PropertiesCollection parameters, String methodName, Func`2 resultMapper)
       at RemoteHCLClient.Hypervisor.LoggedHypervisor.EndCopyDisk(IHostingUnitDetails hostingUnit, IAsyncResult result)
       at Citrix.MachineCreation.NewProvVMSupport.NewProvVMLogic.<>c__DisplayClass6_1.<CopyDiskAsync>b__1(IAsyncResult result)
       at Citrix.MachineCreation.NewProvVMSupport.NewProvVMLogic.SharedCallback(IAsyncResult result, String message1, String message2, Func`2 label)
    ]
    DesktopStudio_PowerShellHistory : Create Machine Catalog 'MC-NLBRPW10PRD'
    8/03/2020 18:31:12
    
    Get-LogSite  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ********
    Start-LogHighLevelOperation  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -Source "Studio" -StartTime "8/03/2020 17:21:30" -Text "Create Machine Catalog `'MC-NLBRPW10PRD`'"
    New-BrokerCatalog  -AdminAddress "be-ddc01.domain.int:80" -AllocationType "Random" -BearerToken ******** -IsRemotePC $False -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -MinimumFunctionalLevel "L7_20" -Name "MC-NLBRPW10PRD" -PersistUserChanges "Discard" -ProvisioningType "MCS" -Scope @() -SessionSupport "SingleSession" -ZoneUid "711d5af7-f590-4199-b98e-8681fcde137a"
    New-AcctIdentityPool  -AdminAddress "be-ddc01.domain.int:80" -AllowUnicode -BearerToken ******** -Domain "domain.int" -IdentityPoolName "MC-NLBRPW10PRD" -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -NamingScheme "NLBRPXD##" -NamingSchemeType "Numeric" -OU "OU=XenDesktop,OU=BRP,OU=Citrix,DC=domain,DC=int" -Scope @() -ZoneUid "711d5af7-f590-4199-b98e-8681fcde137a"
    Set-BrokerCatalogMetadata  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -CatalogId 46 -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -Name "Citrix_DesktopStudio_IdentityPoolUid" -Value "d49e39e6-4008-4938-92aa-d81db3d7300f"
    New-HypVMSnapshot  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -LiteralPath "XDHyp:\HostingUnits\domain_new_res\XSTMPL10.vm" -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -SnapshotName "Citrix_XD_MC-NLBRPW10PRD"
    Test-ProvSchemeNameAvailable  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -ProvisioningSchemeName @("MC-NLBRPW10PRD")
    New-ProvScheme  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -CleanOnBoot -CustomProperties "<CustomProperties xmlns=`"http://schemas.citrix.com/2014/xd/machinecreation`" xmlns:xsi=`"http://www.w3.org/2001/XMLSchema-instance`"><Property xsi:type=`"StringProperty`" Name=`"UseManagedDisks`" Value=`"true`" /></CustomProperties>" -HostingUnitName "domain_new_res" -IdentityPoolName "MC-NLBRPW10PRD" -InitialBatchSizeHint 1 -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -MasterImageVM "XDHyp:\HostingUnits\domain_new_res\XSTMPL10.vm\Citrix_XD_MC-NLBRPXDW10PRD.snapshot\Citrix_XD_MC-NLBRPW10PRD.snapshot" -NetworkMapping @{"0"="XDHyp:\HostingUnits\domain_new_res\LAN.network"} -ProvisioningSchemeName "MC-NLBRPW10PRD" -RunAsynchronously -Scope @() -UseWriteBackCache -VMCpuCount 4 -VMMemoryMB 8192 -WriteBackCacheDiskSize 10 -WriteBackCacheMemorySize 0
    Get-ProvTask  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -MaxRecordCount 2147483647 -TaskId "e86122f2-bf1a-4b75-97c4-652fa876cb96"
    Remove-ProvTask  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -TaskId "e86122f2-bf1a-4b75-97c4-652fa876cb96"
    Set-BrokerCatalog  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -Name "MC-NLBRPW10PRD" -ProvisioningSchemeId "7a126818-360b-4aaf-b794-2c1e031e57e5"
    Add-ProvSchemeControllerAddress  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -ControllerAddress @("BE-DDC01.domain.int","BE-DDC02.domain.int") -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -ProvisioningSchemeName "MC-NLBRPW10PRD"
    Get-AcctADAccount  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -IdentityPoolUid "d49e39e6-4008-4938-92aa-d81db3d7300f" -Lock $False -MaxRecordCount 2147483647 -State "Available"
    New-AcctADAccount  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -Count 1 -IdentityPoolUid "d49e39e6-4008-4938-92aa-d81db3d7300f" -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2"
    Get-ProvScheme  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -MaxRecordCount 2147483647 -ProvisioningSchemeName "MC-NLBRPW10PRD"
    New-ProvVM  -ADAccountName @("domain\NLBRPXD03$") -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -ProvisioningSchemeName "MC-NLBRPW10PRD" -RunAsynchronously
    Remove-ProvTask  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -LoggingId "83107c0c-9131-4306-92db-69c3d46351d2" -TaskId "82f8e58b-cac9-428c-8dd8-e0b85d2678f5"
    Stop-LogHighLevelOperation  -AdminAddress "be-ddc01.domain.int:80" -BearerToken ******** -EndTime "8/03/2020 17:31:12" -HighLevelOperationId "83107c0c-9131-4306-92db-69c3d46351d2" -IsSuccessful $False
    
    Error Source : Citrix Studio
    
    StackTrace: Citrix.Orchestration.Base.LogicModels.Tasks.TaskTerminatedException Could not locate the master disk image; XSTMPL10.vm/Citrix_XD_MC-NLBRPXDW10PRD.snapshot/Citrix_XD_MC-NLBRPW10PRD.snapshot to create the virtual machine; domain\NLBRPXD03$.
       at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.AnalyzeMachineProvisioningResultsTask.RunTask()
       at Citrix.Orchestration.Base.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()
       at Citrix.Orchestration.Base.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.RunSubTasks()
       at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.BackgroundTasks.McsMachineCreationTask.RunTask()
       at Citrix.Orchestration.Base.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()
       at Citrix.Orchestration.Base.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.RunSubTasks()
       at Citrix.Orchestration.Base.PowerShellSdk.BackgroundTaskService.BackgroundTask.Task.Run()
       at Citrix.Orchestration.Base.PowerShellSdk.ProvisioningSchemeService.Scripts.CreateMcsBasedDesktopCatalogScript.BackgroundCatalogCreation(McsCatalogCreationTask catalogCreationTask)
       at Citrix.Orchestration.Base.PowerShellInteraction.PowerShellScript`1.<>c__DisplayClass81_1.<StartBackgroundOperation>b__0(Object o)
    

 

Link to comment

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...