Skip to content

Commit e75e81a

Browse files
authored
Merge pull request #268028 from modularity/troubleshoot-labs-cg
Compute gallery scenarios with Azure Labs
2 parents b6b17d6 + 7393406 commit e75e81a

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

articles/lab-services/how-to-use-shared-image-gallery.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use an Azure compute gallery in Azure Lab Services
33
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.
44
ms.topic: how-to
5-
ms.date: 12/15/2022
5+
ms.date: 03/06/2022
66
author: ntrogh
77
ms.author: nicktrog
88
---
@@ -57,7 +57,7 @@ After you save the image to the compute gallery, you can use that image from the
5757
5858
## Use a custom image from the compute gallery
5959

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.
6161

6262
:::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.":::
6363

@@ -71,14 +71,30 @@ For more information about replicating images, see [replication in Azure Comput
7171

7272
### Resave a custom image to compute gallery
7373

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.
7575

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.
7777

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.
7979

8080
## Troubleshooting
8181

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+
8298
### Unable to login with the credentials you used for creating the lab
8399

84100
When you create a new lab from an exported lab VM image, perform the following steps:
32.7 KB
Loading
23.1 KB
Loading

0 commit comments

Comments
 (0)