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
- <ETCD_LAST_ROTATION_DATE>: Control plane etcd credential last rotation date
57
-
- <ETCD_ROTATION_DAYS>: Control plane etcd credential next rotation period
58
56
- <BMM_ISSUE_LIST>: List of BMM with provisioning issues after Cluster upgrade is complete
59
57
60
58
## Pre-Checks
61
59
62
-
1. On each control-plane Bare Metal Machine (BMM), verify the next rotation date on `etcd credential` doesn't occur during the upgrade:
63
-
- Check in Azure portal from the following path: `Clusters` -> <CLUSTER_NAME> -> `Resources` -> `Bare Metal Machines`
64
-
- Select each BMM with `control-plane` under the `Role`: <CLUSTER_CONTROL_BMM> -> `JSON View`
65
-
- Validate the `lastRotationTime` and `rotationPeriodDays` under the `etcd credential` section:
66
-
```
67
-
{
68
-
"lastRotationTime": "<ETCD_LAST_ROTATION_DATE>",
69
-
"rotationPeriodDays": <ETCD_ROTATION_DAYS>,
70
-
"secretType": "etcd credential"
71
-
}
72
-
```
73
-
74
-
>[!Important]
75
-
> If the upgrade will occur within three days of the next `etcd credential` rotation (<ETCD_LAST_ROTATION_DATE> + <ETCD_ROTATION_DAYS>), contact Miscrosoft Support to complete a manual rotation before starting the upgrade.
76
-
77
-
2. Validate the provisioning and detailed status for the CM and Cluster.
60
+
1. Validate the provisioning and detailed status for the CM and Cluster.
78
61
79
62
Set up the subscription, CM, and Cluster parameters:
80
63
```
@@ -102,7 +85,7 @@ Runtime changes are categorized as follows:
102
85
>[!Note]
103
86
> If CM `Provisioning state` isn't `Succeeded` and Cluster `Detailed status` isn't `Running` stop the upgrade until issues are resolved.
104
87
105
-
3. Check the Bare Metal Machine status `Detailed status` is `Running`:
88
+
2. Check the Bare Metal Machine status `Detailed status` is `Running`:
106
89
```
107
90
az networkcloud baremetalmachine list -g $CLUSTER_MRG --subscription $SUBSCRIPTION_ID --query "sort_by([].{name:name,kubernetesNodeName:kubernetesNodeName,location:location,readyState:readyState,provisioningState:provisioningState,detailedStatus:detailedStatus,detailedStatusMessage:detailedStatusMessage,cordonStatus:cordonStatus,powerState:powerState,kubernetesVersion:kubernetesVersion,machineClusterVersion:machineClusterVersion,machineRoles:machineRoles| join(', ', @),createdAt:systemData.createdAt}, &name)" -o table
108
91
```
@@ -114,14 +97,14 @@ Runtime changes are categorized as follows:
114
97
- CordonStatus: Uncordoned
115
98
- PowerState: On
116
99
117
-
4. Collect a profile of the tenant workloads:
100
+
3. Collect a profile of the tenant workloads:
118
101
```
119
102
az networkcloud clustermanager show -g $CM_RG --resource-name $CM_NAME --subscription $SUBSCRIPTION_ID -o table
120
103
az networkcloud virtualmachine list --sub $SUBSCRIPTION_ID --query "reverse(sort_by([?clusterId=='$CLUSTER_RID'].{name:name, createdAt:systemData.createdAt, resourceGroup:resourceGroup, powerState:powerState, provisioningState:provisioningState, detailedStatus:detailedStatus,bareMetalMachineId:bareMetalMachineIdi,CPUCount:cpuCores, EmulatorStatus:isolateEmulatorThread}, &createdAt))" -o table
121
104
az networkcloud kubernetescluster list --sub $SUBSCRIPTION_ID --query "[?clusterId=='$CLUSTER_RID'].{name:name, resourceGroup:resourceGroup, provisioningState:provisioningState, detailedStatus:detailedStatus, detailedStatusMessage:detailedStatusMessage, createdAt:systemData.createdAt, kubernetesVersion:kubernetesVersion}" -o table
122
105
```
123
106
124
-
5. Review Operator Nexus Release notes for required checks and configuration updates not included in this document.
107
+
4. Review Operator Nexus Release notes for required checks and configuration updates not included in this document.
125
108
126
109
## Send notification to Operations of upgrade schedule for the Cluster.
127
110
@@ -296,6 +279,14 @@ Run the following commands to check the status of the CM, Cluster, and BMM:
296
279
- CordonStatus: Uncordoned
297
280
- PowerState: On
298
281
282
+
>[!Note]
283
+
> One control-plane BMM is labeled as a spare with the following BMM status profile:
284
+
> - ReadyState: False
285
+
> - ProvisioningState: Succeeded
286
+
> - DetailedStatus: Available
287
+
> - CordonStatus: Uncordoned
288
+
> - PowerState: Off
289
+
299
290
4. Collect a profile of the tenant workloads:
300
291
```
301
292
az networkcloud clustermanager show -g $CM_RG --resource-name $CM_NAME --subscription $SUBSCRIPTION_ID -o table
0 commit comments