Proxmox: local node address: cannot use IP

Page content

In thist post I will show you how to sold the problem local node address: cannot use IP at cluster join.

The problem

When I tryed to join a new member to my proxmox cluster I get the fallowing error:

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

TASK ERROR: Check if node may join a cluster failed!

But the intresting is that the ip 192.168.1.162 is not the correct ip on my host. That is 192.168.10.162. First I could not figure out where the proxmox fint that wrong ip.

The solution

You need to edit your /etc/hosts file:

127.0.0.1 localhost.localdomain localhost
192.168.1.162 proxmox162.mydomain.intra proxmox162

# The following lines are desirable for IPv6 capable hosts

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts