[SOLVED] Cluster Node with wrong IP

gtrovato

Active Member
May 16, 2019
29
2
43
56
Hi All,

I'm not able to create a cluster with Proxmox 6.2-12.
I've the first node running:

root@pve-AI-1:~# pvecm status
Cluster information
-------------------
Name: test01
Config Version: 1
Transport: knet
Secure auth: on

Quorum information
------------------
Date: Wed Oct 21 15:35:29 2020
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1.f
Quorate: Yes

Votequorum information
----------------------
Expected votes: 1
Highest expected: 1
Total votes: 1
Quorum: 1
Flags: Quorate

Membership information
----------------------
Nodeid Votes Name
0x00000001 1 172.16.1.231 (local)


When a try to add a node to it, I have:

root@pve-AI-1:~# pvecm add 172.16.1.223
Please enter superuser (root) password for '172.16.1.223': ***********
detected the following error(s):
* local node address: cannot use IP '172.16.1.231', not found on local node!

Check if node may join a cluster failed!


The node ID is wrong, since the IP of the first node is 172.16.1.223, and I'm not able to find where the IP 172.16.1.231 comes from!
I've the same issue using the WEB UI.

Thank you!
 
hi,

what are the contents of /etc/hosts on both machines?
 
  • Like
Reactions: ndelregno
Solved!

The problem was the host name.
It's a testing environment nested on Proxmox; I've cloned the VMs, so they had the same name!

Thank you very much Oguz!
 
hi,

what are the contents of /etc/hosts on both machines?
I ran into the same issue. I changed the /etc/hosts file on all of the machines but one. Made the change and now it has joined the cluster.

Thanks oguz!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!