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: azure-stack/hci/manage/troubleshoot-deployment.md
+14-11Lines changed: 14 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ The selected physical network adapter is not binded to the management virtual sw
35
35
36
36
## Cause
37
37
38
-
This issue occurs on deployments triggered after August 6. The issue only happens if the deployment validation was triggered on the cluster and the validation result was a failure, with subsequent validation retries.
38
+
This issue occurs on deployments triggered after August 6. The issue happens if the deployment validation was triggered on the cluster and the validation result was a failure, with subsequent validation retries.
39
39
40
40
The issue occurs for the following reason:
41
41
@@ -50,7 +50,7 @@ The multi-step resolution process includes the following steps:
50
50
-[Remove the validation error](#remove-the-validation-error)
51
51
-[Clean up the Edge Device Azure Resource with incorrect VM switch information](#clean-up-the-edge-device-azure-resource-with-incorrect-vm-switch-information)
52
52
-[Refresh the cloud data](#refresh-the-cloud-edgedevices-data)
53
-
-[Redo the deployment via Azure portal](#redo-the-deployment-via-azure-portal)
53
+
-[Restart the deployment via Azure portal](#restart-the-deployment-via-azure-portal)
54
54
-[Recreate the lock on the seed node resource](#recreate-the-lock-on-the-seed-node-resource)
55
55
56
56
> [!NOTE]
@@ -99,7 +99,7 @@ With the lock removed, follow these steps to remove the validation error.
99
99
100
100
Make sure to use the VM switch name from the `Get-VMSwitch` command. If you didn't intentionally create a VM switch, the `Get-VMSwitch` command has no results. The failure occurs because the Network Validation Step cleaned up the VM switch, but the `DeviceManagementExtension` didn't detect the cleanup.
101
101
102
-
1. Confirm the device cleanup and wait for the cleanup to complete.
102
+
Continue with the cleanup steps.
103
103
104
104
### Clean up the Edge Device Azure Resource with incorrect VM switch information
105
105
@@ -109,21 +109,21 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
109
109
- You can verify install by running: `az`
110
110
- If installed, this outputs a `"Welcome to Azure CLI!"` message with available commands.
111
111
112
-
1. Sign in to Azure with az cli. Run the following command:
112
+
1. Sign in to Azure with Azure CLI. Run the following command:
113
113
114
114
```AzureCLI
115
-
az login --tenant <tenantGUID> --use-device-code
115
+
az login --tenant <tenant ID> --use-device-code
116
116
```
117
117
118
118
For more information, [Sign in interactively with Azure CLI](/cli/azure/authenticate-azure-cli-interactively)
119
119
120
120
1. To set a specific subscription, run the following command:
121
121
122
122
```AzureCLI
123
-
az account set --subscription "<subGUID>"
123
+
az account set --subscription "<Subscription ID>"
124
124
```
125
125
126
-
Replace the value in the above example command with the appropriate value for `<subGUID>`.
126
+
Replace the value in the above example command with the appropriate value for `<Subscription ID>`.
127
127
128
128
1. Output the data stored within the `edgeDevices` resource that has the incorrectly stored VM Switch information. Run the following command:
129
129
@@ -139,11 +139,14 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
139
139
az resource show --ids "/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.HybridCompute/machines/ASRR1N26R15U33/providers/Microsoft.AzureStackHCI/edgeDevices/default"
140
140
```
141
141
142
-
The output of this command shows quite a bit of detail about the \<Machine Name\> used in the command. Near the bottom of the output, there is a section for `"switchDetails"`, which will more than likely show the following (which is the Validation VM Switch that was created and cleaned up on the device, but wasn't detected by the DeviceManagementExtension and updated cloud-side):
142
+
The output of this command shows quite a bit of detail about the \<Machine Name\> used in the command. Near the bottom of the output, there's a section for `"switchDetails"`, which will more than likely show the following (which is the Validation VM Switch that was created and cleaned up on the device, but wasn't detected by the DeviceManagementExtension and updated cloud-side):
1. After confirming the `show` command worked by outputting the `edgeDevices` data, and likely confirming the `"switchDetails"`, it is time to `delete` the resource from ARM so it can be refreshed appropriately from the device.
146
+
1. After confirming the `show` command worked by outputting the `edgeDevices` data, and likely confirming the `"switchDetails"`, it is time to `delete` the resource from ARM so it can be refreshed appropriately from the seed node.
147
+
148
+
> [!NOTE]
149
+
> Deleting the `edgeDevices` data is a safe action to perform, but it should only be performed when explicitly stated. Do not perform this action unless advised to do so.
147
150
148
151
1. Delete the `edgeDevices` resource, which has the incorrectly stored VM switch information. Run the following command:
149
152
@@ -163,7 +166,7 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
163
166
```Output
164
167
`az resource delete --ids "/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.HybridCompute/machines/<Machine Name>/providers/Microsoft.AzureStackHCI/edgeDevices/default"
165
168
```
166
-
When run, there is no output from this command. The command works and returns the command prompt, or presents an error. It shouldn't present an error, if it does, that will require more troubleshooting.
169
+
When run, there's no output from this command. The command works and returns the command prompt, or presents an error. It shouldn't present an error, but if it does, that will require more troubleshooting.
167
170
168
171
1. Verify the deletion of the resource by running the `show` command again. Here's an example output:
169
172
@@ -190,7 +193,7 @@ Follow these steps to refresh the cloud data:
With device and cloud data now back in sync, you can go to the Azure portal and provide the deployment inputs. The previous step prevents any cached information from previous attempts.
0 commit comments