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/lab-services/how-to-use-shared-image-gallery.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Use an Azure compute gallery in Azure Lab Services
3
3
description: Learn how to use an Azure compute gallery in a lab plan. A compute gallery lets you share a VM image, which can be reused to create new labs.
4
4
ms.topic: how-to
5
-
ms.date: 12/15/2022
5
+
ms.date: 03/06/2022
6
6
author: ntrogh
7
7
ms.author: nicktrog
8
8
---
@@ -57,7 +57,7 @@ After you save the image to the compute gallery, you can use that image from the
57
57
58
58
## Use a custom image from the compute gallery
59
59
60
-
An educator can pick a custom image available in the compute gallery for the template VM when creating a new lab. Educators can create a template VM based on both **generalized** and **specialized** images in Azure Lab Services.
60
+
An educator can pick a custom image available in the compute gallery for the template VM when creating a new lab. Educators can create a template VM based on both **generalized** and **specialized** images in Azure Lab Services.
61
61
62
62
:::image type="content" source="./media/how-to-use-shared-image-gallery/use-shared-image.png" alt-text="Screenshot that shows the list of virtual machine images in the Create a new lab page.":::
63
63
@@ -71,14 +71,30 @@ For more information about replicating images, see [replication in Azure Comput
71
71
72
72
### Resave a custom image to compute gallery
73
73
74
-
After you've created a lab from a custom image in a compute gallery, you can make changes to the image using the template VM and reexport the image to compute gallery. When you reexport, you can either create a new image or update the original image.
74
+
After you've created a lab from a custom image in a compute gallery, you can make changes to the image using the template VM and reexport the image to compute gallery. When you reexport, you can either create a new image or update the original image.
75
75
76
-
If you choose **Create new image**, a new [image definition](../virtual-machines/shared-image-galleries.md#image-definitions) is created. Creating a new image allows you to save an entirely new custom image without changing the original custom image that already exists in compute gallery.
76
+
If you choose **Create new image**, a new [image definition](../virtual-machines/shared-image-galleries.md#image-definitions) is created. Creating a new image allows you to save an entirely new custom image without changing the original custom image that already exists in compute gallery.
77
77
78
-
If instead you choose **Update existing image**, the original custom image's definition is updated with a new [version](../virtual-machines/shared-image-galleries.md#image-versions). Lab Services automatically will use the most recent version the next time a lab is created using the custom image.
78
+
If instead you choose **Update existing image**, the original custom image's definition is updated with a new [version](../virtual-machines/shared-image-galleries.md#image-versions). Lab Services automatically will use the most recent version the next time a lab is created using the custom image.
79
79
80
80
## Troubleshooting
81
81
82
+
### Unable to save image to the Azure Compute Gallery
83
+
84
+
Ensure the image name provided during the Export to Azure Compute Gallery request is valid. The virtual machine image name must consist of alpha-numeric characters, hyphens, and periods and no longer than 80 characters.
85
+
86
+
:::image type="content" source="./media/how-to-use-shared-image-gallery/unable-to-save-image-error.png" alt-text="Screenshot that shows the error message 'Unable to save the image because an error has occurred.'":::
87
+
88
+
### Export to gallery not supported across regions
89
+
90
+
Verify that the lab and lab plan are located in the same region. An image can only be exported from a lab that's located in the same region as the lab plan.
91
+
92
+
:::image type="content" source="./media/how-to-use-shared-image-gallery/export-image-cross-region-error.png" alt-text="Screenshot that shows the error message 'Exporting to a gallery doesn't currently support region mismatches between the lab and the lab plan. Deploy them in the same regions to use this feature.'" lightbox="./media/how-to-use-shared-image-gallery/export-image-cross-region-error.png":::
93
+
94
+
### Unable to see images from gallery
95
+
96
+
Images aren't listed in Azure Lab Services unless the appropriate permissions are assigned on an attached compute gallery. Ensure sufficient permissions are configured on an [existing compute gallery](how-to-attach-detach-shared-image-gallery.md#attach-an-existing-compute-gallery-to-a-lab-plan).
97
+
82
98
### Unable to login with the credentials you used for creating the lab
83
99
84
100
When you create a new lab from an exported lab VM image, perform the following steps:
0 commit comments