Skip to content

Commit 4b3f1e2

Browse files
committed
More changes
1 parent 33e3e51 commit 4b3f1e2

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

azure-stack/hci/manage/troubleshoot-deployment.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The selected physical network adapter is not binded to the management virtual sw
3535

3636
## Cause
3737

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

4040
The issue occurs for the following reason:
4141

@@ -50,7 +50,7 @@ The multi-step resolution process includes the following steps:
5050
- [Remove the validation error](#remove-the-validation-error)
5151
- [Clean up the Edge Device Azure Resource with incorrect VM switch information](#clean-up-the-edge-device-azure-resource-with-incorrect-vm-switch-information)
5252
- [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)
5454
- [Recreate the lock on the seed node resource](#recreate-the-lock-on-the-seed-node-resource)
5555

5656
> [!NOTE]
@@ -99,7 +99,7 @@ With the lock removed, follow these steps to remove the validation error.
9999
100100
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.
101101
102-
1. Confirm the device cleanup and wait for the cleanup to complete.
102+
Continue with the cleanup steps.
103103
104104
### Clean up the Edge Device Azure Resource with incorrect VM switch information
105105
@@ -109,21 +109,21 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
109109
- You can verify install by running: `az`
110110
- If installed, this outputs a `"Welcome to Azure CLI!"` message with available commands.
111111
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:
113113
114114
```AzureCLI
115-
az login --tenant <tenantGUID> --use-device-code
115+
az login --tenant <tenant ID> --use-device-code
116116
```
117117
118118
For more information, [Sign in interactively with Azure CLI](/cli/azure/authenticate-azure-cli-interactively)
119119
120120
1. To set a specific subscription, run the following command:
121121
122122
```AzureCLI
123-
az account set --subscription "<subGUID>"
123+
az account set --subscription "<Subscription ID>"
124124
```
125125
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>`.
127127
128128
1. Output the data stored within the `edgeDevices` resource that has the incorrectly stored VM Switch information. Run the following command:
129129
@@ -139,11 +139,14 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
139139
az resource show --ids "/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.HybridCompute/machines/ASRR1N26R15U33/providers/Microsoft.AzureStackHCI/edgeDevices/default"
140140
```
141141
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):
143143
`"switchName": "ConvergedSwitch(managementcompute)",`
144144
`"switchType": "External"`
145145
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 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.
147150
148151
1. Delete the `edgeDevices` resource, which has the incorrectly stored VM switch information. Run the following command:
149152
@@ -163,7 +166,7 @@ After the VM switch on the device is removed, clean up the Edge Device ARM resou
163166
```Output
164167
`az resource delete --ids "/subscriptions/<Subscription ID>/resourceGroups/<Resource Group Name>/providers/Microsoft.HybridCompute/machines/<Machine Name>/providers/Microsoft.AzureStackHCI/edgeDevices/default"
165168
```
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.
167170
168171
1. Verify the deletion of the resource by running the `show` command again. Here's an example output:
169172
@@ -190,7 +193,7 @@ Follow these steps to refresh the cloud data:
190193
`"switchName": "ConvergedSwitch(managementcompute)",`
191194
`"switchType": "External"`
192195
193-
### Redo the deployment via Azure portal
196+
### Restart the deployment via Azure portal
194197
195198
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.
196199

azure-stack/hci/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,8 @@ items:
477477
items:
478478
- name: Collect logs
479479
href: manage/collect-logs.md
480+
- name: Troubleshoot deployment validation issues
481+
href: manage/troubleshoot-deployment.md
480482
- name: Get support for deployment issues
481483
href: manage/get-support-for-deployment-issues.md
482484
- name: Get support for Azure Stack HCI

0 commit comments

Comments
 (0)