-
Related issues: #2665 [BUG] reinstall 1st node
-
Related issues: #2892 [BUG] rancher-system-agent keeps showing error on a new node in an upgraded cluster
Category:
- Host
Verification Steps
Test Plan 1: Reinstall management node and agent node in a upgraded cluster
-
Create a 4-node v1.0.3 cluster.
-
Upgrade the master branch:
-
Check the spec content in
provisioning.cattle.io/v1/clusters -> fleet-local
-
Check the iface content in
helm.cattle.io/v1/helmchartconfigs -> rke2-canal
spec: │ │ valuesContent: |- │ │ flannel: │ │ iface: ""
-
Remove the agent node and 1 management node. Remove agent node (node 4)
-
Remove management node (node 3)
-
After the node is removed, provision a new node.
-
Check the node can join the cluster and can be promoted as a management node.
-
After we have 3 management nodes, provision a new node and check if it can join the cluster.
Test Plan 2: Reinstall management node and agent node in a new Harvester cluster
-
Create a 4-node v1.0.3 cluster.
-
Upgrade to the v1.1.0-rc3
-
Remove the agent node and the first management node
-
Remove agent node (node 4)
-
Remove management node (node 1)
-
After the node is removed, provision a new node.
-
Check the node can join the cluster and can be promoted as a management node. (node 1)
-
After we have 3 management nodes, provision a new node and check if it can join the cluster. (node 4)
Expected Results
-
Can successfully re-join the management node after upgrade
-
Can successfully re-join the agent node after upgrade
-
Verified after upgrading from v1.0.3 to
v1.1.0-rc3
,we can rejoin the management node and agent node back correctly. -
Successfully re-join the management node after upgrade
-
Successfully re-join the agent node after upgrade