Skip to content

Commit 3f2966e

Browse files
author
RoseHJM
committed
Moved Access operation logs and error details section & images to an includes file & folder.
1 parent 85777c8 commit 3f2966e

File tree

10 files changed

+37
-79
lines changed

10 files changed

+37
-79
lines changed

articles/deployment-environments/how-to-configure-extensibility-bicep-container-image.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -231,32 +231,7 @@ runner: "{YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}"
231231
232232
## Access operation logs and error details
233233
234-
ADE stores error details for a failed deployment the *$ADE_ERROR_LOG* file.
235-
236-
To troubleshoot a failed deployment:
237-
238-
1. Sign in to the [Developer Portal](https://devportal.microsoft.com/).
239-
1. Identify the environment that failed to deploy, and select **See details**.
240-
241-
:::image type="content" source="media/how-to-configure-extensibility-bicep-container-image/failed-deployment-card.png" alt-text="Screenshot showing failed deployment error details, specifically an invalid name for a storage account." lightbox="media/how-to-configure-extensibility-bicep-container-image/failed-deployment-card.png":::
242-
243-
1. Review the error details in the **Error Details** section.
244-
245-
:::image type="content" source="media/how-to-configure-extensibility-bicep-container-image/deployment-error-details.png" alt-text="Screenshot showing a failed deployment of an environment with the See Details button displayed." lightbox="media/how-to-configure-extensibility-bicep-container-image/deployment-error-details.png":::
246-
247-
Additionally, you can use the Azure CLI to view an environment's error details using the following command:
248-
```bash
249-
az devcenter dev environment show --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
250-
```
251-
252-
To view the operation logs for an environment deployment or deletion, use the Azure CLI to retrieve the latest operation for your environment, and then view the logs for that operation ID.
253-
254-
```bash
255-
# Get list of operations on the environment, choose the latest operation
256-
az devcenter dev environment list-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
257-
# Using the latest operation ID, view the operation logs
258-
az devcenter dev environment show-logs-by-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME} --operation-id {LATEST_OPERATION_ID}
259-
```
234+
[!INCLUDE [custom-image-logs-errors](includes/custom-image-logs-errors.md)]
260235
261236
## Related content
262237

articles/deployment-environments/how-to-configure-extensibility-generic-container-image.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -127,32 +127,7 @@ runner: "{YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}"
127127
128128
## Access operation logs and error details
129129
130-
ADE stores error details for a failed deployment in the *$ADE_ERROR_LOG* file within the container.
131-
132-
To troubleshoot a failed deployment:
133-
134-
1. Sign in to the [Developer Portal](https://devportal.microsoft.com/).
135-
1. Identify the environment that failed to deploy, and select **See details**.
136-
137-
:::image type="content" source="media/how-to-configure-extensibility-generic-container-image/failed-deployment-card.png" alt-text="Screenshot showing failed deployment error details, specifically an invalid name for a storage account." lightbox="media/how-to-configure-extensibility-generic-container-image/failed-deployment-card.png":::
138-
139-
1. Review the error details in the **Error Details** section.
140-
141-
:::image type="content" source="media/how-to-configure-extensibility-generic-container-image/deployment-error-details.png" alt-text="Screenshot showing a failed deployment of an environment with the See Details button displayed." lightbox="media/how-to-configure-extensibility-generic-container-image/deployment-error-details.png":::
142-
143-
Additionally, you can use the Azure CLI to view an environment's error details using the following command:
144-
```bash
145-
az devcenter dev environment show --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
146-
```
147-
148-
To view the operation logs for an environment deployment or deletion, use the Azure CLI to retrieve the latest operation for your environment, and then view the logs for that operation ID.
149-
150-
```bash
151-
# Get list of operations on the environment, choose the latest operation
152-
az devcenter dev environment list-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
153-
# Using the latest operation ID, view the operation logs
154-
az devcenter dev environment show-logs-by-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME} --operation-id {LATEST_OPERATION_ID}
155-
```
130+
[!INCLUDE [custom-image-logs-errors](includes/custom-image-logs-errors.md)]
156131
157132
## Related content
158133

articles/deployment-environments/how-to-configure-extensibility-terraform-container-image.md

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -204,33 +204,7 @@ runner: "{YOUR_REGISTRY}.azurecr.io/{YOUR_REPOSITORY}:{YOUR_TAG}"
204204
205205
## Access operation logs and error details
206206
207-
ADE stores error details for a failed deployment the *$ADE_ERROR_LOG* file.
208-
209-
To troubleshoot a failed deployment:
210-
211-
1. Sign in to the [Developer Portal](https://devportal.microsoft.com/).
212-
1. Identify the environment that failed to deploy, and select **See details**.
213-
214-
:::image type="content" source="media/how-to-configure-extensibility-terraform-container-image/failed-deployment-card.png" alt-text="Screenshot showing failed deployment error details, specifically an invalid name for a storage account." lightbox="media/how-to-configure-extensibility-terraform-container-image/failed-deployment-card.png":::
215-
216-
1. Review the error details in the **Error Details** section.
217-
218-
:::image type="content" source="media/how-to-configure-extensibility-terraform-container-image/deployment-error-details.png" alt-text="Screenshot showing a failed deployment of an environment with the See Details button displayed." lightbox="media/how-to-configure-extensibility-terraform-container-image/deployment-error-details.png":::
219-
220-
Additionally, you can use the Azure CLI to view an environment's error details using the following command:
221-
```bash
222-
az devcenter dev environment show --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
223-
```
224-
225-
To view the operation logs for an environment deployment or deletion, use the Azure CLI to retrieve the latest operation for your environment, and then view the logs for that operation ID.
226-
227-
```bash
228-
# Get list of operations on the environment, choose the latest operation
229-
az devcenter dev environment list-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
230-
# Using the latest operation ID, view the operation logs
231-
az devcenter dev environment show-logs-by-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME} --operation-id {LATEST_OPERATION_ID}
232-
```
233-
207+
[!INCLUDE [custom-image-logs-errors](includes/custom-image-logs-errors.md)]
234208
235209
## Related content
236210
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
ms.service: deployment-environments
3+
ms.topic: include
4+
author: RoseHJM
5+
ms.author: rosemalcolm
6+
ms.date: 05/03/2024
7+
---
8+
9+
ADE stores error details for a failed deployment in the *$ADE_ERROR_LOG* file within the container.
10+
11+
To troubleshoot a failed deployment:
12+
13+
1. Sign in to the [Developer Portal](https://devportal.microsoft.com/).
14+
1. Identify the environment that failed to deploy, and select **See details**.
15+
16+
:::image type="content" source="media/custom-image-logs-errors-include/failed-deployment-card.png" alt-text="Screenshot showing failed deployment error details, specifically an invalid name for a storage account." lightbox="media/custom-image-logs-errors-include/failed-deployment-card.png":::
17+
18+
1. Review the error details in the **Error Details** section.
19+
20+
:::image type="content" source="media/custom-image-logs-errors-include/deployment-error-details.png" alt-text="Screenshot showing a failed deployment of an environment with the See Details button displayed." lightbox="media/custom-image-logs-errors-include/deployment-error-details.png":::
21+
22+
Additionally, you can use the Azure CLI to view an environment's error details using the following command:
23+
```bash
24+
az devcenter dev environment show --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
25+
```
26+
27+
To view the operation logs for an environment deployment or deletion, use the Azure CLI to retrieve the latest operation for your environment, and then view the logs for that operation ID.
28+
29+
```bash
30+
# Get list of operations on the environment, choose the latest operation
31+
az devcenter dev environment list-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME}
32+
# Using the latest operation ID, view the operation logs
33+
az devcenter dev environment show-logs-by-operation --environment-name {YOUR_ENVIRONMENT_NAME} --project {YOUR_PROJECT_NAME} --operation-id {LATEST_OPERATION_ID}
34+
```

0 commit comments

Comments
 (0)