question

JohnStephen-1176 avatar image
0 Votes"
JohnStephen-1176 asked AmitaMenon-3691 edited

Spring 2020 Azure Windows Virtual Desktop and Availability Sets

In the Spring 2020 version of Azure Windows Virtual Desktop, you are forced to deploy vms in Availability Sets which prevents you from being able to change the sizing of the vms in your pools. Fall 2019 Classic allows for this type of change if needed after deployment. Is there a way to deploy/expand host pools without having to use availability sets? I've used the portal deployment tool and templates here, https://github.com/Azure/RDS-Templates/tree/master/ARM-wvd-templates, but unless I use a availability set it fails deploying 100% of the time.

azure-virtual-desktop
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@JohnStephen-1176

Apologies for the delay in responding here and any inconvenience this issue may have caused.

From your query, If you update the template and not use availability sets it fails? Reason could be that you are removing instead of setting it to No?

Can you please confirm on this.

0 Votes 0 ·

Correct, if I choose no to AvSets the deployment fails immediately referencing that. There are no options via the portal to not choose an AvSet. Here is what an error message looks like when I choose no to AvSets. This is for 3 vms in a current hostpool. I've removed any identifying info.

{
"status": "Failed",
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "NotFound",
"message": "{\r\n \"error\": {\r\n \"code\": \"NotFound\",\r\n \"message\": \"The Availability Set '/subscriptions/#/resourceGroups/rg/providers/Microsoft.Compute/availabilitySets/hostpool--availabilitySet-eastus' cannot be found.\"\r\n }\r\n}"
}

0 Votes 0 ·

@JohnStephen-1176

The workaround at this time is to edit both the main ARM template file, and also the nested template. Here is a sample, based on the original github repository for your reference.


0 Votes 0 ·
JohnStephen-1176 avatar image
0 Votes"
JohnStephen-1176 answered

I wanted to update this to say that the option to deploy without Availability Sets is now an option.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

vipullag-MSFT avatar image
0 Votes"
vipullag-MSFT answered JohnStephen-1176 commented

@JohnStephen-1176

I checked with internal team on the Portal part, team is working on feature to allow enable/disable Availability Sets in the Portal UI.
Also, you can see similar issue with AV set reported here. The workaround currently is to remove it as mentioned below:

42797-rds-avset-bug.jpg


The product team will update on the issue fix on the github issue shared above. Request you to check that for updates.

Please 'Accept as answer' if it helped, so that it can help others in the community looking for help on similar topics.


rds-avset-bug.jpg (48.1 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, I will be trying this soon and I will report back.

0 Votes 0 ·