Azure based Citrix Cloud VDAs are not powering ON

Azure based Citrix Cloud VDAs are not powering ON

book

Article ID: CTX339922

calendar_today

Updated On:

Description

-- VDAs are not powering ON from any catalogs
-- Manually powering On the VDAs do not help on the issue as we do not see any action on the azure

 

Resolution

Issue with Azure Resource Tag

It's an azure issue. They have tags set on the VDAs that MCS will persist then they have a conflicting policy to assign tags to the VDAs from Azure

If they remove/modify the policy in Azure it will all the the VMs to boot

Refer : https://docs.citrix.com/en-us/citrix-virtual-apps-desktops-service/install-configure/resource-location/azure-resource-manager.html

NOTE:

After you create the catalog, you can view the configurations that the image inherits from the machine profile. On the Machine Catalogs node, select the catalog to view its details in the lower pane. Then, click the Template Properties tab to view machine profile properties. The Tags section displays up to three tags. To view all tags placed on the VM

Microsoft Azure Resource Manager cloud environments

Follow the guidance in this article when using the Microsoft Azure Resource Manager to provision virtual machines in your Citrix Virtual Apps or Citrix Virtual Desktops service deployment.


Problem Cause

Cause: Machine power state action failed. Found conflicting policies that modify the same field

Additional Information

On splunk when we check for affected for VDA names we see "

EventName: HypervisorPowerActionSent

Message: HypervisorPowerActionSent: connectionId = 15a4e7d8-7773-455f-b131-cc078d26fb9b, brokerIp = '######', actionId = 812,868, machineSid = '#######', machineHypId = '#####', actionType = 'TurnOn', actionSource = 'Admin'

 

TaskName: HypervisorPowerActionSent
ActionSource: Admin
ActionType: TurnOn

--------------------

Message: [AzPv]: [a9b93f29861e] VirtualMachineManager.DeleteIfExists: Entry virtualMachine: $$$$$ virtualMachine.Id: #####

ProcessId: 5836

ServiceName: Citrix.MachineCreation

--------------------------------------------

Message: [AzPv]: [a9b93f29861e] VirtualMachineManager.DeleteIfExists: Exit virtualMachine: ##### : ###### duration: 00:00:00.1168754

  ProcessId: 5836

 ServiceName: Citrix.MachineCreation

 ServiceName: Citrix.MachineCreation

StatusCode: Error: Machine power state action failed. Found conflicting policies that modify the same field. Fields: 'tags['Administrator'],tags['Business Owner'],tags['Business Name'],tags['Contact'],tags['Cost Centre'],tags['Description'],tags['Environment'],tags['Review Date'],tags['Technical Owner']' Policy identifiers: '[{"policyAssignment":{"name":"RSA Azure Tags Initiative for #####","id":"/providers/Microsoft.Management/managementGroups/#####/providers/Microsoft.Authorization/policyAssignments/b2a6bf8358c9486c96b020b1"},"policyDefinition":{"name":"RSA Azure Tags for Resources","id":"/providers/Microsoft.Management/managementGroups/#####/providers/Microsoft.Authorization/policyDefinitions/######"},"policySetDefinition":{"name":"RSA Azure Tags Initiative","id":"/providers/Microsoft.Management/managementGroups/AZ-MGMT-RSACloud/providers/Microsoft.Authorization/policySetDefinitions/#######"},"policyDefinitionReferenceId":"XXXXX"},{"policyAssignment":{"name":"RSA Azure Tags for Resources","id":"/providers/Microsoft.Management/managementGroups/AZ-MGMT-RSACloud/providers/Microsoft.Authorization/policyAssignments/#######"},"policyDefinition":{"name":"RSA Azure Tags for Resources","id":"/providers/Microsoft.Management/managementGroups/AZ-MGMT-RSACloud/providers/Microsoft.Authorization/policyDefinitions/######"}}]'. Please contact the subscription administrator to update the policies.

 

span.name: ActionCompleteCallback/TurnOn/Admin

ServiceName: BrokerService

 MachineName: N49017-30-1

Message: HypervisorConnection[#####]:MarkPowerActionFailed(PowerAction[#812868,OPD\#####,Admin,TurnOn]): Reason: Citrix.Cds.HostingManagement.McsMachineManagementException: Error: Machine power state action failed. Found conflicting policies that modify the same field.