You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/troubleshooting-shared-images.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,18 +100,19 @@ If you have problems performing any operations on Azure Compute Gallery (formerl
100
100
101
101
## Creating or updating a VM or scale sets from an image version ##
102
102
103
-
| Error Message | Cause | Mitigation |
104
-
| :-------------| :-----| :----------|
105
-
| There is no latest image version exists for "\<imageDefinitionResourceID\>" | The image definition you used to deploy the virtual machine does not contain any image versions that are included in latest | Ensure that there is at least one image version that has 'Exclude from latest' set to False |
106
-
| The gallery image /subscriptions/\<subscriptionID\>/resourceGroups/\<resourceGroup\>/providers/Microsoft.Compute/galleries/\<galleryName\>/images/\<imageName\>/versions/\<versionNumber\> is not available in \<region\> region. Please contact image owner to replicate to this region, or change your requested region. | The version selected for deployment does not exist or does not have a replica in the indicated region | Ensure that the name of the image resource is correct and that there is at least one replica in the indicated region |
107
-
| The gallery image /subscriptions/\<subscriptionID\>/resourceGroups/\<resourceGroup\>/providers/Microsoft.Compute/galleries/\<galleryName\>/images/\<imageName\> is not available in \<region\> region. Please contact image owner to replicate to this region, or change your requested region | The image definition selected for deployment does not have any image versions that are included in latest and also in the indicated region | Ensure that there is at least one image version in the region that has 'Exclude from latest' set to False |
108
-
| The client has permission to perform action 'Microsoft.Compute/galleries/images/versions/read' on scope \<resourceID\>, however the current tenant \<tenantID\> is not authorized to access linked subscription \<subscriptionID\>| The virtual machine or scale set was created through a gallery image in another tenant. You've tried to make a change to the virtual machine or scale set, but you don't have access to the subscription that owns the image | Contact the owner of the subscription of the image version to grant read access to the image version |
109
-
| The gallery image \<resourceID\> is not available in \<region\> region. Please contact image owner to replicate to this region, or change your requested region. | The VM is being created in a region that's not among the list of published regions for the gallery image. | Either replicate the image to the region or create a VM in one of the regions in the gallery image's publishing regions |
110
-
| Parameter 'osProfile' is not allowed | Admin username, password, or SSH keys were provided for a VM that was created from a specialized image version | Don't include the admin username, password, or SSH keys if you intend to create a VM from that image. Otherwise, use a generalized image version and supply the admin username, password, or SSH keys |
111
-
| Required parameter 'osProfile' is missing (null) | The VM is created from a generalized image, and it's missing the admin username, password, or SSH keys. Because generalized images don't retain the admin username, password, or SSH keys, these fields must be specified during creation of a VM or scale set | Specify the admin username, password, or SSH keys, or use a specialized image version |
112
-
| Cannot update Virtual Machine Scale Set \<vmssName\> as the current OS state of the VM Scale Set is Generalized which is different from the updated gallery image OS state which is Specialized | The current source image for the scale set is a generalized source image, but it's being updated with a source image that is specialized. The current source image and the new source image for a scale set must be of the same state | To update the scale set, use a generalized image version. | Use the same subscription for the image version and disk encryption set |
113
-
| The resource with id \<vmID\> has a different plan ['{\"name\":\"\<name\>\",\"publisher\":\"\<publisher\>\",\"product\":\"\<product\>\",\"promotionCode\":\"\<promotionCode\>\"}'] than the parent gallery image plan ['null']| The parent image definition for the image version being deployed does not have a purchase plan information | Create an image definition with the same purchase plan details from the error message and create the image version within the image definition |
114
-
| The VM or virtual machine scale set creation takes a long time | NA | Verify that the **OSType** of the image version that you're trying to create the VM or virtual machine scale set from has the same **OSType** of the source that you used to create the image version
103
+
> [!div class="mx-tdBreakAll"]
104
+
> | Error Message | Cause | Mitigation |
105
+
> | :-------------| :-----| :----------|
106
+
> | There is no latest image version exists for "\<imageDefinitionResourceID\>" | The image definition you used to deploy the virtual machine does not contain any image versions that are included in latest | Ensure that there is at least one image version that has 'Exclude from latest' set to False |
107
+
> | The gallery image /subscriptions/\<subscriptionID\>/resourceGroups/\<resourceGroup\>/providers/Microsoft.Compute/galleries/\<galleryName\>/images/\<imageName\>/versions/\<versionNumber\> is not available in \<region\> region. Please contact image owner to replicate to this region, or change your requested region. | The version selected for deployment does not exist or does not have a replica in the indicated region | Ensure that the name of the image resource is correct and that there is at least one replica in the indicated region |
108
+
> | The gallery image /subscriptions/\<subscriptionID\>/resourceGroups/\<resourceGroup\>/providers/Microsoft.Compute/galleries/\<galleryName\>/images/\<imageName\> is not available in \<region\> region. Please contact image owner to replicate to this region, or change your requested region | The image definition selected for deployment does not have any image versions that are included in latest and also in the indicated region | Ensure that there is at least one image version in the region that has 'Exclude from latest' set to False |
109
+
> | The client has permission to perform action 'Microsoft.Compute/galleries/images/versions/read' on scope \<resourceID\>, however the current tenant \<tenantID\> is not authorized to access linked subscription \<subscriptionID\>| The virtual machine or scale set was created through a gallery image in another tenant. You've tried to make a change to the virtual machine or scale set, but you don't have access to the subscription that owns the image | Contact the owner of the subscription of the image version to grant read access to the image version |
110
+
> | The gallery image \<resourceID\> is not available in \<region\> region. Please contact image owner to replicate to this region, or change your requested region. | The VM is being created in a region that's not among the list of published regions for the gallery image. | Either replicate the image to the region or create a VM in one of the regions in the gallery image's publishing regions |
111
+
> | Parameter 'osProfile' is not allowed | Admin username, password, or SSH keys were provided for a VM that was created from a specialized image version | Don't include the admin username, password, or SSH keys if you intend to create a VM from that image. Otherwise, use a generalized image version and supply the admin username, password, or SSH keys |
112
+
> | Required parameter 'osProfile' is missing (null) | The VM is created from a generalized image, and it's missing the admin username, password, or SSH keys. Because generalized images don't retain the admin username, password, or SSH keys, these fields must be specified during creation of a VM or scale set | Specify the admin username, password, or SSH keys, or use a specialized image version |
113
+
> | Cannot update Virtual Machine Scale Set \<vmssName\> as the current OS state of the VM Scale Set is Generalized which is different from the updated gallery image OS state which is Specialized | The current source image for the scale set is a generalized source image, but it's being updated with a source image that is specialized. The current source image and the new source image for a scale set must be of the same state | To update the scale set, use a generalized image version. | Use the same subscription for the image version and disk encryption set |
114
+
> | The resource with id \<vmID\> has a different plan ['{\"name\":\"\<name\>\",\"publisher\":\"\<publisher\>\",\"product\":\"\<product\>\",\"promotionCode\":\"\<promotionCode\>\"}'] than the parent gallery image plan ['null']| The parent image definition for the image version being deployed does not have a purchase plan information | Create an image definition with the same purchase plan details from the error message and create the image version within the image definition |
115
+
> | The VM or virtual machine scale set creation takes a long time | NA | Verify that the **OSType** of the image version that you're trying to create the VM or virtual machine scale set from has the same **OSType** of the source that you used to create the image version
0 commit comments