Rejoin node machine after Harvester upgrade

  • Related issues: #2655 [BUG] reinstall 1st node

Category:

  • Upgrade Harvester

Environment requirement

  1. Network environment has available VLAN id setup on DHCP server
  2. DHCP server has setup the IP range can allocate to above VLAN id
  3. Harvester node can route to DHCP server through VLAN id to retrieve IP address
  4. Network has at least two NICs
  5. Suggest not to use SMR type HDD disk

Verification Steps

  1. Create a 3 nodes v1.0.3 Harvester cluster.

  2. Upgrade the master branch:

  3. Remove the agent node and 1 management node.

    • Remove agent node (node 4) image image

    • Remove management node (node 3) image image image

  4. After the node is removed, provision a new node.

  5. Check the node can join the cluster and can be promoted as a management node.

  6. After we have 3 management nodes, provision a new node and check if it can join the cluster.

Expected Results

  1. Verify after Harvester upgrade complete, we can rejoin the management node and agent node back correctly.

  2. Can re-join the management node after upgrade image

  3. Can re-join the agent node after upgrade image

  4. Can create new vms on the newly joined node.

  5. Can restore vms/migrate on the newly joined node.