[SOLVED] Join Cluster failed IP not found on local node

nhasian

Renowned Member
Aug 25, 2016
14
7
68
48
Hello,

I created a cluster on PVE1, and I'm trying to join PVE2 to it.

Code:
PVE1:
eno1 (Ethernet connected to gigabit switch)
enp4s0f0 (fiber directly connected to PVE2)
vmbr0 192.168.2.10/24 (port eno1)
vmbr1 10.100.0.2/29 (port enp4s0f0)

PVE2:
eno1 (Ethernet connected to gigabit switch)
enp4s0f1 (fiber directly connected to PVE1)
vmbr0 192.168.2.12/24 (port eno1)
vmbr1 10.100.0.3/29 (port enp4s0f1)

When attempting to join the cluster, I receive the following error:

Code:
detected the following error(s):
* local node address: cannot use IP '192.168.2.11', not found on local node!

TASK ERROR: Check if node may join a cluster failed!
 
I solved the issue. Initially when I installed Proxmox on PVE2, I had used the IP address 192.168.2.11 but then quickly realized that IP was already in use. I subsequently changed it to 192.168.2.12 but it still had my hostname pve2 set to the old IP address in /etc/hosts. Once I fixed my /etc/hosts file with the current IP address then I was able to join the cluster on PVE1.