Azure / avdaccelerator

AVD Accelerator deployment automation to simplify the setup of AVD (Azure Virtual Desktop) based on best practices
MIT License
324 stars 207 forks source link

Bicep session host template specifies explicit disk size of 128 GB #523

Closed SvenAelterman closed 7 months ago

SvenAelterman commented 10 months ago

What happened? Provide a clear and concise description of the bug, including deployment details.

Deployment with a customer's custom image failed because the custom image size was 256 GB.

Please provide the correlation id associated with your error or bug.

dcbaf73f-6566-41a6-bad5-4406062143a4

What was the expected outcome?

No response

Relevant log output

{
    "status": "Failed",
    "error": {
        "code": "OperationNotAllowed",
        "target": "osDisk.diskSizeGB",
        "message": "The specified disk size 128 GB is smaller than the size of the corresponding disk in the VM image: 256 GB. This is not allowed. Please choose equal or greater size or do not specify an explicit size."
    }
}
moisesjgomez commented 10 months ago

@SvenAelterman thanks for reporting this bug. We are investigating the issue

danycontre commented 10 months ago

@SvenAelterman good catch, SH disk size should be a dynamic variable based on the image properties or a parameter.

Will work on it.

danycontre commented 7 months ago

@SvenAelterman we are adding this to our backlog to work on it internally.

@swathibhat1 please help us creating a backlog item.

@moisesjgomez