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

unable to create machine catalog


Michele Azimonti

Question

hello all,

in need of help please. scenario: home lab, hypervisor 8.2 licensed and attached to a LUN on the nas (thin provisioning on SSD), citrix studio 2003 installed on windows server 2019, everything joined to the local domain.

one single virtual desktop license properly installed on the license server.

if you need additional info let me know.

 

i'm rebuilding the lab with new hardware and what always worked doesn't anymore. so...

I am trying to deploy a machine catalog from Citrix Studio 2003, static provisionig, one machine only, full copy from the master.

citrix studio starts correctly but keeps creating base disks until the nas (200gb) is filled and then crashes. it never worked like this. I can't delete these disks, the button is grayed out.

 

image.thumb.png.89a2e6c47b6757bc08a50296f5036cd1.png

...and growing

image.thumb.png.685bbe2d5dac03259b6cd0f9efcb8884.png

 

citrix studio is stuck on 'creating machines'. the account is correctly created on AD.

from within citrix studio i only see this:

Master image: XDHyp:\HostingUnits\StnNetwork\WIN10X-Master.vm\Citrix_XD_W10X.snapshot
Requested machine count: 1
AD account action: Create accounts
Successful accounts: 1
Successful machines: 0

 

when I look at the logs I get this.


2022-08-17 14:08:14,809 INFO  XenAPI.Session [24] - Invoking JSON-RPC method 'secret.get_by_uuid'
2022-08-17 14:08:14,856 INFO  XenAPI.Session [24] - Invoking JSON-RPC method 'secret.get_value'
2022-08-17 14:08:14,902 INFO  Audit [24] - Operation success: GetHealthCheckAnalysisResultAction: VDIXEN01: Pool b4994d5e-7012-717b-677c-c78fc94c974e (VDIXEN01): Failed to get the analysis result
2022-08-17 14:41:41,985 INFO  Audit [Main program thread] - Operation started: SrRefreshAction: VDIXEN01: Pool b4994d5e-7012-717b-677c-c78fc94c974e (VDIXEN01):
2022-08-17 14:41:41,985 INFO  XenAPI.Session [18] - Invoking JSON-RPC method 'SR.scan'
2022-08-17 14:41:53,376 INFO  Audit [18] - Operation success: SrRefreshAction: VDIXEN01: Pool b4994d5e-7012-717b-677c-c78fc94c974e (VDIXEN01): Completed
2022-08-17 15:08:14,606 INFO  Audit [Main program thread] - Operation started: GetHealthCheckAnalysisResultAction: VDIXEN01: Pool b4994d5e-7012-717b-677c-c78fc94c974e (VDIXEN01): Getting the analysis result
 

any idea please?

thanks!

Link to comment

3 answers to this question

Recommended Posts

  • 0

edit: after several hours, the operation has finally failed (timeout).

I'm not very good at reading logs, but I can't seem to find anything that helps understand *why* it has failed, except a generic hresult 2146233079 which seems to be a generic failure error. any idea please?

here is the log:

 

Inner Error:
The operation has timed out

ErrorID : PluginUtilities.Exceptions.WrappedPluginException
TaskErrorInformation : System.Net.WebException: The operation has timed out

===== Original (plugin-side) exception details =====
System.Net.WebException: The operation has timed out ---> System.Net.WebException: The operation has timed out
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenServerSession.CallAndRetry[T](Func`2 xenServerCommandDelegate)
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.CreateClone(String vmId, IDiskImage parentDisk, Int32 diskIndex, Boolean persistent, Boolean isFullClone, Boolean useLocalSrCaching, Boolean indexCanChange)
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.CreateVM(String name, IVMMetadata metadata, Int32 cpuCount, Int32 memory, String networkId, Boolean enableNetwork, Boolean tagVms, Boolean useLocalStorageCaching, IList`1 disks, String storageId, Boolean useSparseUpload, INetworkInterfaceDetails networkInterfaceDetails, IHypGpuType[] gpuGroup)
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenHypervisor.<>c__DisplayClass40_1.<BeginCreateCompleteVM>b__0(XenMachineManager 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.XenEnterprise.XenHypervisor.EndCreateCompleteVM(IHostingUnitDetails hostingUnit, IAsyncResult result)
   at Citrix.HypervisorCommunicationsLibrary.AddInSideAdapter.IHypervisor_AddInViewToContractAdapter.EndCreateCompleteVM(IHostingUnitDetailsContract hostingUnit, IAsyncResult result)

===== Original (plugin-side) exception properties (count 3) =====
'Status' = 'UnknownError'
'Source' = 'HypervisorsCommon'
'HResult' = '-2146233079'

===== WrappedPluginException (parent-side) details =====
PluginUtilities.Exceptions.WrappedPluginException: The operation has timed out ---> PluginUtilities.Exceptions.WrappedPluginException: The operation has timed out

   --- End of inner exception stack trace ---

Server stack trace:
   at Citrix.HypervisorCommunicationsLibrary.AddInSideAdapter.IHypervisor_AddInViewToContractAdapter.EndCreateCompleteVM(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.EndCreateCompleteVM(IHostingUnitDetailsContract hostingUnit, IAsyncResult result)
   at Citrix.HypervisorCommunicationsLibrary.HostSideAdapter.IHypervisor_ContractToHostViewAdapter.EndCreateCompleteVM(IHostingUnitDetails hostingUnit, IAsyncResult result)
   at Citrix.MachineCreation.NewProvVMSupport.NewProvVMLogic.CreateVmCallback(IAsyncResult result)

 

 

 

Link to comment
  • 0

edit: after several hours, the operation has finally failed (timeout).

I'm not very good at reading logs, but I can't seem to find anything that helps understand *why* it has failed, except a generic

'Status' = 'UnknownError'
'Source' = 'HypervisorsCommon'
'HResult' = '-2146233079'

which seems to be a generic failure error. any idea please?

here is the log:

 

Inner Error:
The operation has timed out

ErrorID : PluginUtilities.Exceptions.WrappedPluginException
TaskErrorInformation : System.Net.WebException: The operation has timed out

===== Original (plugin-side) exception details =====
System.Net.WebException: The operation has timed out ---> System.Net.WebException: The operation has timed out
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenServerSession.CallAndRetry[T](Func`2 xenServerCommandDelegate)
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.CreateClone(String vmId, IDiskImage parentDisk, Int32 diskIndex, Boolean persistent, Boolean isFullClone, Boolean useLocalSrCaching, Boolean indexCanChange)
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenMachineManager.CreateVM(String name, IVMMetadata metadata, Int32 cpuCount, Int32 memory, String networkId, Boolean enableNetwork, Boolean tagVms, Boolean useLocalStorageCaching, IList`1 disks, String storageId, Boolean useSparseUpload, INetworkInterfaceDetails networkInterfaceDetails, IHypGpuType[] gpuGroup)
   at Citrix.PoolManagement.VMManager.VmmImplementation.XenEnterprise.XenHypervisor.<>c__DisplayClass40_1.<BeginCreateCompleteVM>b__0(XenMachineManager 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.XenEnterprise.XenHypervisor.EndCreateCompleteVM(IHostingUnitDetails hostingUnit, IAsyncResult result)
   at Citrix.HypervisorCommunicationsLibrary.AddInSideAdapter.IHypervisor_AddInViewToContractAdapter.EndCreateCompleteVM(IHostingUnitDetailsContract hostingUnit, IAsyncResult result)

===== Original (plugin-side) exception properties (count 3) =====
'Status' = 'UnknownError'
'Source' = 'HypervisorsCommon'
'HResult' = '-2146233079'

===== WrappedPluginException (parent-side) details =====
PluginUtilities.Exceptions.WrappedPluginException: The operation has timed out ---> PluginUtilities.Exceptions.WrappedPluginException: The operation has timed out

   --- End of inner exception stack trace ---

Server stack trace:
   at Citrix.HypervisorCommunicationsLibrary.AddInSideAdapter.IHypervisor_AddInViewToContractAdapter.EndCreateCompleteVM(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.EndCreateCompleteVM(IHostingUnitDetailsContract hostingUnit, IAsyncResult result)
   at Citrix.HypervisorCommunicationsLibrary.HostSideAdapter.IHypervisor_ContractToHostViewAdapter.EndCreateCompleteVM(IHostingUnitDetails hostingUnit, IAsyncResult result)
   at Citrix.MachineCreation.NewProvVMSupport.NewProvVMLogic.CreateVmCallback(IAsyncResult result)

 

 

 

Link to comment

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