pvecm nodes does not match (IP or FQDN) for last added node

mailinglists

Well-Known Member
Mar 14, 2012
454
41
48
I think that pvecm add should result in adding a node with IP or FQDN consistently across all cluster nodes, not add it with IP on some and with FQDN on others.

I also checked hosts file on all nodes, and there are no entries except for local node names, I checked my DNS from all nodes and they all resolve the same way and use the same DNS server.

I think this might be a bug.
 

mailinglists

Well-Known Member
Mar 14, 2012
454
41
48
To answer my last question, restarting corosync made output of povecm nodes as expected and in sync.
 

mailinglists

Well-Known Member
Mar 14, 2012
454
41
48
I think this still is strange. Today i added another node and pvecm nodes has shown node by its FQDN on some nodes and as IP on others. Restarting corosync set it to IP on all nodes:

Example:
Code:
root@p29:~# pvecm nodes

Membership information
----------------------
    Nodeid      Votes Name
         1          1 p24
         2          1 10.31.1.25
         4          1 p27
         5          1 10.31.1.28
         6          1 10.31.1.29 (local)
         7          1 10.31.1.30
         8          1 10.31.1.31
         9          1 p32.c.mydomain
root@p29:~# systemctl restart corosync.service
root@p29:~# pvecm nodes

Membership information
----------------------
    Nodeid      Votes Name
         1          1 p24
         2          1 10.31.1.25
         4          1 p27
         5          1 10.31.1.28
         6          1 10.31.1.29 (local)
         7          1 10.31.1.30
         8          1 10.31.1.31
         9          1 10.31.1.32
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!