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: AKS-Arc/tsg-upgrade-issues.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ This article describes how to fix an issue in which your Azure Kubernetes Servic
15
15
16
16
## Symptoms
17
17
18
-
When you try to upgrade an AKS Arc cluster, you notice that the **Current state** property of the cluster remains in the **Upgrading** state.
18
+
When you try to upgrade an AKS Arc cluster, you notice that the `currentState` property of the cluster remains in the **Upgrading** state.
19
19
20
20
```azurecli
21
21
az aksarc upgrade --name "cluster-name" --resource-group "rg-name"
@@ -49,14 +49,14 @@ Upgrading the AKSArc cluster. This operation might take a while...
49
49
## Cause
50
50
51
51
- The root cause is a recent change introduced in Azure Local version 2503. Under certain conditions, if there are transient or intermittent failures during the Kubernetes upgrade process, they're not correctly detected or recovered from. This can cause the cluster state to remain in the **Upgrading** state.
52
-
- You see this issue if the AKS Arc extension on your custom location - the `hybridaksextension` extension version is 2.1.211 or 2.1.223. You can run the following command to check the extension version on your cluster:
52
+
- You see this issue if the AKS Arc custom location extension `hybridaksextension` version is 2.1.211 or 2.1.223. You can run the following command to check the extension version on your cluster:
53
53
54
-
```azurecli
55
-
az login --use-device-code --tenant <Azure tenant ID>
56
-
az account set -s <subscription ID>
57
-
$res=get-archcimgmt
58
-
az k8s-extension show -g $res.HybridaksExtension.resourceGroup -c $res.ResourceBridge.name --cluster-type appliances --name hybridaksextension
59
-
```
54
+
```azurecli
55
+
az login --use-device-code --tenant <Azure tenant ID>
56
+
az account set -s <subscription ID>
57
+
$res=get-archcimgmt
58
+
az k8s-extension show -g $res.HybridaksExtension.resourceGroup -c $res.ResourceBridge.name --cluster-type appliances --name hybridaksextension
az aksarc update --enable-nfs-driver -g <resource_group_name> -n <cluster_name>
90
90
```
91
91
92
-
Running the `aksarc update` command should resolve the issue and the `Current state` parameter of the cluster should now show as **Succeeded**. Once the status is updated, if you don't want to retain the drivers as enabled, you can revert this action by running the following commands:
92
+
Running the `aksarc update` command should resolve the issue and the `currentState` property of the cluster should now show as **Succeeded**. Once the status is updated, if you don't want to retain the drivers as enabled, you can revert this action by running one of the following commands:
93
93
94
94
```azurecli
95
95
az aksarc update --disable-smb-driver -g <resource_group_name> -n <cluster_name>
96
96
az aksarc update --disable-nfs-driver -g <resource_group_name> -n <cluster_name>
97
97
```
98
98
99
-
If both drivers are already enabled on your cluster, you can disable the one that is not in use. If you require both drivers to remain enabled, contact Microsoft Support for further assistance.
99
+
If both drivers are already enabled on your cluster, you can disable the one that's not in use. If you require both drivers to remain enabled, contact Microsoft Support for further assistance.
100
100
101
101
## Verification
102
102
103
-
To confirm the K8s version upgrade is complete, run the following command and check that the `Current State` parameter in the JSON output is set to `Succeeded`.
103
+
To confirm the K8s version upgrade is complete, run the following command and check that the `currentState` property in the JSON output is set to `Succeeded`.
104
104
105
105
```azurecli
106
106
az aksarc show -g <resource_group> -n <cluster_name>
0 commit comments