none
Creating RDS Virtual Desktops failed with no error RRS feed

  • Question

  • Hello guys.

    From unknown time on production farm creating a pool collection start failed with no error.
    https://prnt.sc/pwddy1

    Hosts Hyper-v servers in Failover Cluster with CSV. HA configured with database on remote mssql server. Error comes out right after exporting template. However the template appears in the selected for exporting directory.

    CB,Hosts - windows server 2016 with last updates.

    Template - i tryied several, even with templated which works in another pool. Windows10pro1806,Windows10pro1903

    On CB rdms-ui-operational says, that collection created successfully https://prnt.sc/pwfv57

    rdms-ui-admin says, that collection creation failed https://prnt.sc/pwfvqa

    on vm-host export was successfull https://prnt.sc/pwfxkn

    C:\Windows\System32\tssesdir\*.xml there is no job associated with this task

    https://support.microsoft.com/en-sg/help/2747656/introduction-to-log-files-that-are-useful-for-troubleshooting-rds-issu

    doesnt not help, no such file on connection broker even after add reg params

    IN CB Databases i have some more interesting picture:

    SELECT *
      FROM [DBCBSRV].[rds].[Pool]

    gives https://prnt.sc/pwg294 , where vdi3 is pool, but it works normally.

    SELECT *
      FROM [DBCBSRV].[rds].[ErrorLog]
      WHERE DATEADD(dd, 0, DATEDIFF(dd, 0, TimeStamp)) = DATEADD(dd, 0, DATEDIFF(dd, 0, GETDATE()))

    gives https://prnt.sc/pwg48n

    any suggestions?

    Wednesday, November 13, 2019 3:00 PM

All replies

  • >Get-RDVirtualDesktopCollection -CollectionName VDI2 CollectionName Type Size PercentInUse -------------- ---- ---- ------------ VDI2 PooledManaged 0 0 > Get-RDVirtualDesktopCollectionJobStatus -CollectionName VDI2 Get-RDVirtualDesktopCollectionJobStatus : The job status of a virtual desktop collection cannot be retrieved. Error: Exception calling "GetInt32Proper ty" : "" At line:1 char:1 + Get-RDVirtualDesktopCollectionJobStatus -CollectionName VDI2 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDVirtualDesktopCollectionJobStatus > Get-RDVirtualDesktopCollectionConfiguration -CollectionName VDI2 | select * CollectionDescription : CollectionType : PooledManaged AutoAssignPersonalDesktop : False SaveDelayMinutes : 0 CustomRdpProperty :

    >  Get-RDVirtualDesktopCollectionConfiguration -Client -CollectionName VDI2
    Get-RDVirtualDesktopCollectionConfiguration : Failed to retrieve client properties: Exception calling "GetInt32Property" : ""
    At line:1 char:1
    + Get-RDVirtualDesktopCollectionConfiguration -Client -CollectionName V ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDVirtualDesktopCollectionConfiguration

    > Get-RDVirtualDesktopCollectionConfiguration -CollectionName VDI2 -VirtualDesktopConfiguration

    Domain OU StorageType       VirtualDesktopNamePrefix CentralStoragePath VirtualDesktopTemplateExportPath
    ------ -- -----------       ------------------------ ------------------ --------------------------------
              CentralSanStorage    

    its powershell output
    Wednesday, November 13, 2019 3:32 PM
  • HI
    1 could you please detail explain your RDS environment ?
    2 have you create guest vm template successfully on RDVH ?
    3 do you have other RDVH collection are also using this vm template ?

    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, November 14, 2019 10:06 AM
    Moderator
  • Hello.

    1. Here is:

    Two connection brokers (on vm vmware), guest winsrv2016 datacenter, in ha configuration, mssql server 2016

    Six physical hosts, winsrv2016 datacenter with roles: hyper-v, rdsvh.

    RDSVhosts in failover cluster, with one csv lun. On this lun another pool collection near, and it works

    2.Thats it. I guess task failed right before or right on creation vm on rdvh, but i did not find any logs

    3. This template i used on another pool before, but i just update with windows update. I tried to create blank vm and sysprep. Results same

    Thursday, November 14, 2019 12:49 PM
  • HI
    4 "Two connection brokers (on vm vmware), guest winsrv2016 datacenter, in ha configuration, mssql server 2016"
    4.1do you mean there are 2 RDCB guest vm on EXSI vmware platform ?
    4.2are RDCB servers and RDVH servers in the same network segment ?
    4.3do you manually create virtual switch on hpyer-v host for vms or create virutal switch by selecting "create a new virtual switch on the select servers" like picture ?
    there is document for your reference
    Pooled VDI can't create virtual machine from template Vm
    https://social.technet.microsoft.com/Forums/en-US/209fd32e-8c62-4383-9d57-e6a0bc08614e/pooled-vdi-cant-create-virtual-machine-from-template-vm?forum=winserverTS

    Best Regards
    Andy YOU
    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Wednesday, November 20, 2019 8:14 AM
    Moderator