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/devtest-labs/devtest-lab-troubleshoot-apply-artifacts.md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,13 @@ If an artifact isn't successfully applying to your lab VM, you can start by inve
25
25
26
26
### Check VM status
27
27
28
-
Follow these steps to check the VM state in the Azure portal:
28
+
Check the VM state in the Azure portal by following these steps:
29
29
30
30
1. Browse to the **Overview** page for the DevTest Labs lab VM and confirm the machine is _Running_:
31
31
32
32
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/check-lab-machine.png" border="false" alt-text="Screenshot that shows how to confirm the DevTest Labs virtual machine is running." lightbox="media/devtest-lab-troubleshoot-apply-artifacts/check-lab-machine-large.png":::
33
33
34
-
1. Select **Artifacts** and open the **Artifacts** list for the lab VM:
34
+
1. Select **Artifacts** and open the artifacts list for the lab VM:
35
35
36
36
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/open-artifacts-list.png" alt-text="Screenshot that shows how to open the Artifacts list for the lab virtual machine.":::
An artifact can stop responding and eventually show as **Failed** in the **Artifacts** list for the lab VM.
65
+
An artifact can stop responding and eventually show as _Failed_ in the artifacts list for the lab VM.
66
66
67
67
Investigate failed artifacts by following these steps:
68
68
69
-
1. Browse to the **Artifacts** list for the lab VM, and select the artifact with the **Failed** status:
69
+
1. Browse to the **Artifacts** list page for the lab VM, and select the artifact with the _Failed_ status:
70
70
71
71
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/failed-artifact.png" alt-text="Screenshot that shows how to locate and select the failed artifact for the lab virtual machine.":::
72
72
73
-
1. The **Artifact** details view for the artifact opens. The details include the **Deployment message** and **Extension message** information about the artifact failure:
73
+
1. The **Artifact** details view opens. The details include the **Deployment Message** and **Extension Message** information about the artifact failure:
74
74
75
75
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/failed-artifact-details.png" alt-text="Screenshot of the details for the failed artifact, including deployment and extension message information." lightbox="media/devtest-lab-troubleshoot-apply-artifacts/failed-artifact-details-large.png":::
76
76
@@ -83,7 +83,7 @@ To install artifacts, DevTest Labs creates and deploys an Azure Resource Manager
83
83
84
84
Inspect the Activity log entries for failures related to installation or application of the artifact on the lab VM with these steps:
85
85
86
-
1. Browse to the **Activity log** page for the lab VM and locate the artifact with the **Failed** status:
86
+
1. Browse to the **Activity log** page for the lab VM and locate the artifact with the _Failed_ status:
87
87
88
88
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/select-failed-artifact-entry.png" alt-text="Screenshot that shows how to locate the Activity log entry for a failed artifact on the lab VM." lightbox="media/devtest-lab-troubleshoot-apply-artifacts/select-failed-artifact-entry-large.png":::
89
89
@@ -115,7 +115,7 @@ By default, DevTest Labs has access to the DevTest Labs [public Artifact reposit
115
115
CSE Error: Failed to download all specified files. Exiting. Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (403) Forbidden. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
116
116
```
117
117
118
-
A scenario where you might encounter this error is when traffic is blocked from the VM to the Azure Storage service. The error appears in the **Activity log** of the resource group for the lab VM.
118
+
A scenario where you might encounter this error is when traffic is blocked from the VM to the Azure Storage service. The error appears in the Activity log of the resource group for the lab VM.
119
119
120
120
Identify repository connection issues to the Azure Storage account with these steps:
121
121
@@ -135,21 +135,21 @@ Identify repository connection issues to the Azure Storage account with these st
135
135
136
136
1. In the diagram, locate the **Storage account** that has a name that matches the described naming convention, `a<labname>#`.
137
137
138
-
1.In the popup menu for the storage account resource, select **View**:
138
+
1.Select the **Storage account** resource to see the popup menu, and then select **View**:
139
139
140
140
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/select-storage-account.png" alt-text="Screenshot that shows how to select the View option for the storage account for a DevTest Labs lab resource." lightbox="media/devtest-lab-troubleshoot-apply-artifacts/select-storage-account-large.png":::
141
141
142
-
1. On the storage account **Overview** page, expand the **Settings** section on the left menu, and select **Networking**:
142
+
1. On the storage account **Overview** page, expand the **Security + networking** section on the left menu, and select **Networking**:
143
143
144
144
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/storage-account-networking.png" alt-text="Screenshot that shows how to view the Networking configuration for the storage account for a DevTest Labs lab resource." lightbox="media/devtest-lab-troubleshoot-apply-artifacts/storage-account-networking-large.png":::
145
145
146
146
1. On the **Firewalls and virtual networks** tab, check the configuration for the **Public network access** option:
147
147
148
-
1. If **Enabled from selected virtual networks and IP addresses** is selected, confirm the lab's virtual networks used to create lab VMs are in the list of allowed IP addresses:
148
+
1. If **Enabled from selected virtual networks and IP addresses** is selected, confirm the list of allowed IP addresses shows the lab's virtual networks that can be used to create lab VMs:
149
149
150
150
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/enable-networks-addresses.png" alt-text="Screenshot that shows the Enabled from selected virtual networks and IP addresses selection for the lab resource storage account.":::
151
151
152
-
1. Otherwise, confirm **Enabled from all networks** is selected.
152
+
1. Otherwise, confirm **Enabled from all networks** is selected:
153
153
154
154
:::image type="content" source="media/devtest-lab-troubleshoot-apply-artifacts/enable-all-networks.png" alt-text="Screenshot that shows the Enabled from all networks selection for the lab resource storage account.":::
155
155
@@ -173,7 +173,7 @@ View the Custom Script Extension (CSE) log file for a Windows VM by following th
173
173
174
174
For instructions on finding the log files on a **Linux** VM, see [Use the Azure Custom Script Extension Version 2 with Linux virtual machines](../virtual-machines/extensions/custom-script-linux.md#troubleshooting).
175
175
176
-
### Check VM Agent
176
+
### Check Azure Virtual Machine Agent
177
177
178
178
Ensure the [Azure Virtual Machine Agent (VM Agent)](../virtual-machines/extensions/agent-windows.md) for your lab VM is installed and ready.
179
179
@@ -205,11 +205,11 @@ For general information about Azure extensions, see [Azure virtual machine exten
205
205
206
206
### Investigate script issues
207
207
208
-
The artifact installation might fail because of the way the artifact installation script is authored.
208
+
Another reason the artifact installation might fail is due to the way the artifact installation script is authored.
209
209
210
210
Here are some examples of potential script issues:
211
211
212
-
-**The script has mandatory parameters, but an expected value isn't passed.** This scenario can happen if the user is allowed to leave an expected parameter blank and a default value isn't specified in the _artifactfile.json_ definition file. As a result, the script stops responding because it's waiting for user input. When the script requires parameter values, it's a good practice to define defaults and require the user to enter a value.
212
+
-**The script has mandatory parameters, but an expected value isn't passed during script execution.** This scenario can happen if the user is allowed to leave an expected parameter blank and a default value isn't specified in the _artifactfile.json_ definition file. As a result, the script stops responding because it's waiting for user input. When the script requires parameter values, it's a good practice to define defaults and require the user to enter a value.
213
213
214
214
-**The script requires user action during script execution.** This scenario can happen if there's a long delay in script execution while waiting for the user to take action. It's a good practice to author scripts that can work silently without requiring user intervention.
215
215
@@ -219,19 +219,19 @@ Determine whether the script is causing the artifact to stop responding by follo
219
219
220
220
1. Open a **File Explorer** window.
221
221
222
-
1. Go to the **Download** folder that has artifact installation script for your VM, such as _C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\\<CSE version>\\Downloads\\_. An example _\<CSE version>_ is `1.10.12`.
222
+
1. Go to the **Download** folder that has the artifact installation script for your VM, such as _C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\\<CSE version>\\Downloads\\_. An example _\<CSE version>_ is `1.10.12`.
223
223
224
224
For the subsequent steps, you can work with the script in this folder, or copy the script to a working folder on your VM.
225
225
226
-
1. Open a Command window with administrative privileges on your VM.
226
+
1. Open a Command Prompt window with administrative privileges on your VM.
227
227
228
-
1. Run the artifact installation script in the Command window.
228
+
1. Run the artifact installation script in the Command Prompt window.
229
229
230
-
Follow the script prompts and enter the parameter values that you suspect caused the issue. If you suspect lack of user input or delayed user action is an issue, attempt to reproduce that behavior.
230
+
Follow the script prompts and enter the required parameter values. To investigate whether lack of user input or delayed user action causes an issue, try to reproduce the specific behavior.
231
231
232
232
1. Determine if the script demonstrates unexpected or problematic behavior.
233
233
234
-
1.If you require changes to the script, correct the script on your lab VM and run the process again.
234
+
1.As needed, correct the script on your lab VM, and run the script again to confirm the issues are resolved.
235
235
236
236
#### Check artifact structure
237
237
@@ -249,7 +249,7 @@ You can submit proposed script corrections for artifacts hosted in the DevTest L
249
249
250
250
If you need more help, try one of the following support channels:
251
251
252
-
- Search the [Microsoft Community](https://azure.microsoft.com/support/forums/) website resources for information about Azure DevTest Labs and access posts on Stack Overflow.
252
+
- Search the [Microsoft Community](https://azure.microsoft.com/en-us/support/community/) website resources for information about Azure DevTest Labs and access posts on Stack Overflow.
253
253
254
254
- Connect with [@AzureSupport](https://x.com/azuresupport), the official Microsoft Azure account for improving customer experience. Azure Support connects the Azure community to answers, support, and experts.
0 commit comments