ARM fails to reference image version in shared image gallery?
Hi everyone,
First time I am seeing this issue. It looks like I cannot provision new session hosts because Azure cannot find a deployment template for my image version in my shared image gallery. Here's the full error
{"details":[{"code":"InvalidTemplateDeployment","message":"{\"error\":{\"code\":\"InvalidTemplateDeployment\",\"details\":[{\"code\":\"InvalidParameter\",\"target\":\"imageReference\",\"message\":\"In region centralus, the following list of Shared Image Gallery images referenced from the deployment template were not found: /subscriptions/subscription id/resourceGroups/resource group/providers/Microsoft.Compute/galleries/shared image gallery/images/image definition/versions/22.2.22. Please check that at least one image has been replicated to centralus or that the ‘exclude from latest’ flag is set to false.
Please refer to https://learn.microsoft.com/en-us/azure/virtual-machines/windows/shared-image-galleries for instructions on creating and deleting such images.\"}],\"message\":\"The template deployment 'AddVMsToHostPool-335e21e1-9768-4e85-8a64-ad27bd8070a5-deployment' is not valid according to the validation procedure. The tracking id is 'e100a21b-619f-4cf7-af51-0f3f9c375f4c'. See inner errors for details.\"},\"details\":{\"code\":\"InvalidTemplateDeployment\",\"message\":\"The template deployment 'AddVMsToHostPool-335e21e1-9768-4e85-8a64-ad27bd8070a5-deployment' is not valid according to the validation procedure. The tracking id is 'e100a21b-619f-4cf7-af51-0f3f9c375f4c'. See inner errors for details.\",\"details\":[{\"code\":\"InvalidParameter\",\"target\":\"imageReference\",\"message\":\"In region centralus, the following list of Shared Image Gallery images referenced from the deployment template were not found: /subscriptions/subscription id/resourceGroups/resource group/providers/Microsoft.Compute/galleries/shared image gallery/images/image definition/versions/22.2.22. Please check that at least one image has been replicated to centralus or that the ‘exclude from latest’ flag is set to false. Please refer to https://learn.microsoft.com/en-us/azure/virtual-machines/windows/shared-image-galleries for instructions on creating and deleting such images.\"}]}}","target":null}]}
I have confirmed that exclude from latest is not set, and I have used this image definition many times in the past. Is this a service issue?