Rancher import harvester enhancement

  • Related issues: #1330 Http proxy setting download image

Category:

  • Rancher Integration

Environment setup

  1. Install the latest rancher from docker command
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:v2.6.3

Verification Steps

  1. Installed a 3 nodes harvester cluster
  2. Import harvester to rancher in virtualization management
  3. Enable node driver and create cloud credential
  4. Provision a RKE2 cluster in rancher
  5. Confirm RKE2 cluster is fully operated, can explore it image.png
  6. Shutdown all 3 nodes server machine image.png
  7. Wait for 10 minutes
  8. Power on all harvester nodes server machines
  9. Confirm harvester is fully operated
  10. Confirm RKE2 vm is back to running image.png
  11. Check the RKE2 cluster status in rancher

Expected Results

The RKE2 cluster in rancher should turn back to Running with no error after harvester server node machine is fully power off and power on.