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
+42-23Lines changed: 42 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.date: 08/21/2024
14
14
15
15
This article provides guidance on how to troubleshoot deployment validation issues experienced during the deployment of your Azure Stack HCI cluster via the Azure portal.
16
16
17
-
## Error - deployment vaildation failure with not a valid IPv4 address
17
+
## Error - deployment vaildation failure
18
18
19
19
When deploying Azure Stack HCI, version 23H2 via the Azure portal, you might encounter a deployment validation failure.
20
20
The "Azure Stack HCI Network - Check network requirements" validation task fail with the following error:
@@ -27,7 +27,7 @@ found error at deploymentdata.physicalnodes[0].ipv4address: The specified for
27
27
Example: 192.168.0.1 or 192.168.0.1","Target":null,"Details":null}].
28
28
```
29
29
30
-
If you go to the **Networking** tab in Azure portal deployment, within the **Network Intent** configuration, you could see the following error:
30
+
If you go to the **Networking** tab in Azure portal deployment, within the **Network Intent** configuration, you could see the following error:
31
31
32
32
```
33
33
The selected physical network adapter is not binded to the management virtual Switch.
@@ -105,15 +105,18 @@ With the lock removed, follow these steps to remove the validation error.
105
105
106
106
After the VM switch on the device is removed, clean up the Edge Device ARM resource containing the incorrect VM switch information via the Azure CLI.
107
107
108
-
1. On a machine that the customer uses with access to Azure, verify install or install AZ CLI: [Install Azure CLI on Windows](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli)
108
+
1. On a client that can access to Azure, verify install or install AZ CLI: [Install Azure CLI on Windows](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli)
109
109
- You can verify install by running: `az`
110
110
- If installed, this will output a `"Welcome to Azure CLI!"` message with available commands.
111
-
- Note: Though I have not tested it, from what I can tell, az cli can be leveraged from Azure Cloud Shell if the customer has that configured and is comfortable with it.
112
-
1. Login to Azure with az cli, leverage the following command: `az login`
113
-
- This command has a lot of options available depending on how/where the customer would like to authenticate
114
-
- The command I used to verify these steps internally included the following parameters:
- The available options are documented here: [Sign in interactively with Azure CLI](https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-interactively)
111
+
112
+
1. Sign in to Azure with az cli. Run the following command:
113
+
114
+
```AzureCLI
115
+
az login --tenant <tenantGUID> --use-device-code
116
+
```
117
+
118
+
For more information, [Sign in interactively with Azure CLI](/cli/azure/authenticate-azure-cli-interactively)
119
+
117
120
1. To set a specific subscription, run the following command:
118
121
119
122
```azurecli
@@ -128,30 +131,46 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
128
131
```
129
132
130
133
Replace the values in the above example command with the appropriate values for:`<subGUID>`, `<resourceGROUPNAME>`, and `<machineNAME>`.
131
-
- **MY INTERNAL REPRO EXAMPLE** command was as follows: `az resource show --ids "/subscriptions/d41eb627-825d-4419-a14d-c6ad485f4110/resourceGroups/EDGECI-REGISTRATION-rr1n26r1512-kXOKQuGV/providers/Microsoft.HybridCompute/machines/ASRR1N26R15U33/providers/Microsoft.AzureStackHCI/edgeDevices/default"`
132
-
- **Note:** The output of this command will show quite a bit of detail about the <machineNAME> used in the command. Near the bottom of the output, you will see 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 was not detected by the DeviceManagementExtension and updated cloud-side):
134
+
135
+
Here is an example output:
136
+
137
+
```output
138
+
az resource show --ids "/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.HybridCompute/machines/ASRR1N26R15U33/providers/Microsoft.AzureStackHCI/edgeDevices/default"
139
+
```
140
+
141
+
The output of this command will show quite a bit of detail about the <machineNAME> used in the command. Near the bottom of the output, you will see 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 was not 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
+
136
147
1. Delete the `edgeDevices` resource which has the incorrectly stored VM Switch information with the following command:
- **NOTICE:** Replace the values (remember to remove the "<>" characters as well) in the above example command with the appropriate values for:
149
+
150
+
Replace the values (remember to remove the "<>" characters as well) in the above example command with the appropriate values for:
139
151
`<subGUID>`
140
152
`<resourceGROUPNAME>`
141
153
`<machineNAME>`
142
-
- **Note:** This is the same resource `--ids` from the `show`, so you can just leverage that same string. In fact, you could just "up arrow" in the console and replace `show` with `delete`.
143
-
- **MY INTERNAL REPRO EXAMPLE** command was as follows: `az resource delete --ids "/subscriptions/d41eb627-825d-4419-a14d-c6ad485f4110/resourceGroups/EDGECI-REGISTRATION-rr1n26r1512-kXOKQuGV/providers/Microsoft.HybridCompute/machines/ASRR1N26R15U33/providers/Microsoft.AzureStackHCI/edgeDevices/default"`
154
+
155
+
This is the same resource `--ids` from the `show`, so you can just leverage that same string. In fact, you could just "up arrow" in the console and replace `show` with `delete`.
- **Note:** Run just like this, there will be no output from this command, it will either work and return the command prompt, or present an error. It should not present an error, if it does, that will require additional troubleshooting.
145
-
1. Verify the deletion of the resource by running the `show` command again. If all goes as planned, this will output something like:
146
-
```
147
-
(ResourceNotFound) The resource 'Microsoft.HybridCompute/machines/<machineNAME>/providers/Microsoft.AzureStackHCI/edgeDevices/default' could not be found.
148
-
Code: ResourceNotFound
149
-
Message: The resource 'Microsoft.HybridCompute/machines/<machineNAME>/providers/Microsoft.AzureStackHCI/edgeDevices/default' could not be found.
150
-
```
163
+
1. Verify the deletion of the resource by running the `show` command again. Here is an example output:
164
+
165
+
```Output
166
+
(ResourceNotFound) The resource 'Microsoft.HybridCompute/machines/<machineNAME>/providers/Microsoft.AzureStackHCI/edgeDevices/default' could not be found.
167
+
Code: ResourceNotFound
168
+
Message: The resource 'Microsoft.HybridCompute/machines/<machineNAME>/providers/Microsoft.AzureStackHCI/edgeDevices/default' could not be found.
169
+
```
151
170
152
171
### Refresh the cloud `edgeDevices` data
153
172
154
-
With the ARM resource and all the unintentional VM switches removed, refresh the cloud-side `edgeDevices` data again.
173
+
With the ARM resource and all the unintentional VM switches removed, refresh the cloud-side `edgeDevices` data again.
155
174
156
175
Follow these steps to refresh the cloud data:
157
176
@@ -179,8 +198,8 @@ Follow these steps in the Azure portal:
179
198
1. Revalidate the reselected nodes.
180
199
181
200
1. Confirm the information on the subsequent pages. You should see the following changes:
182
-
- On the **Network** page, you should no longer see the `"The selected physical network adapter is no binded to the management virtual Switch"` error that might have been seen previously.
183
-
- On the **Validation** page at the end, if you are past the original issue, the `"deploymentdata.physicalnodes[0].ipv4address is not a valid IPv4 address"` error won't be displayed.
201
+
- On the **Networking** page, you should no longer see the `The selected physical network adapter is not binded to the management virtual Switch` error that might have been seen previously.
202
+
- On the **Validation** page at the end, if you are past the original issue, the `deploymentdata.physicalnodes[0].ipv4address is not a valid IPv4 address` error won't be displayed.
184
203
185
204
1. If no other validation issues occur, start the deployment.
0 commit comments