harvester / harvester

Open source hyperconverged infrastructure (HCI) software
https://harvesterhci.io/
Apache License 2.0
3.72k stars 311 forks source link

[BUG]harvester cluster cannot start up after I change server's IP #1228

Open wonleing opened 2 years ago

wonleing commented 2 years ago

Describe the bug harvester cluster cannot start up after I change server's IP

To Reproduce Steps to reproduce the behavior:

  1. Setup harvester and make it up
  2. change harvester server IP section (say from 192.168.0.x to 192.168.1.x)

Expected behavior harvester can start up, and a service restart or reboot

Environment:

Additional context Is there any method to fix the cluster instead of re-install the whole harvester server?

guangbochen commented 2 years ago

Harvester is built on k8s so the management IP can't be changed after the installation as it is saved to the ETCD to form a distributed cluster, and the IP is one of the most important identities. What I would suggest is either delete and rejoin the node or add an additional IP to a preferred NIC if needed.

wonleing commented 2 years ago

Could you explain how to "delete and rejoin the node"? I have only 1 harvester, running stand alone. I don't want to re-install the whole harvester server :(

guangbochen commented 2 years ago

the easiest solution for now is probably adding the original IP back to the management NIC that u have selected during the ISO installation. And also remember to add the route accordingly.