Proxmox 5 - Cannot join a cluster node

Apr 12, 2018
31
2
13
37
Hi, y tried to join two nodes :

root@proxmox2:~# pvecm add 10.16.2.254
Please enter superuser (root) password for '10.16.2.254':
Password for root@10.16.2.254: *********
Etablishing API connection with host '10.16.2.254'
The authenticity of host '10.16.2.254' can't be established.
X509 SHA256 key fingerprint is 3C:A2:78:3E:AA:EC:4C:54:09:0C:59:02:AF:75:49:E2:7F:8C:C5:AE:A7:A5:53:7C:F5:89:98:12:78:7B:1D:FE.
Are you sure you want to continue connecting (yes/no)? yes
Login succeeded.
Request addition of this node
Join request OK, finishing setup locally
stopping pve-cluster service
backup old database to '/var/lib/pve-cluster/backup/config-1531992166.sql.gz'
Job for corosync.service failed because the control process exited with error code.
starting pve-cluster failed: See "systemctl status corosync.service" and "journalctl -xe" for details.



root@proxmox2:~# journalctl -xe
Jul 19 11:24:38 proxmox2 corosync[2861]: [SERV ] Service engine loaded: corosync profile loading service [4]
Jul 19 11:24:38 proxmox2 corosync[2861]: [SERV ] Service engine loaded: corosync resource monitoring service [6]
Jul 19 11:24:38 proxmox2 corosync[2861]: [WD ] Watchdog /dev/watchdog exists but couldn't be opened.
Jul 19 11:24:38 proxmox2 corosync[2861]: [WD ] resource load_15min missing a recovery key.
Jul 19 11:24:38 proxmox2 corosync[2861]: [WD ] resource memory_used missing a recovery key.
Jul 19 11:24:38 proxmox2 systemd[1]: corosync.service: Main process exited, code=exited, status=20/n/a
Jul 19 11:24:38 proxmox2 corosync[2861]: [WD ] no resources configured.
Jul 19 11:24:38 proxmox2 corosync[2861]: [SERV ] Service engine loaded: corosync watchdog service [7]
Jul 19 11:24:38 proxmox2 corosync[2861]: [QUORUM] Using quorum provider corosync_votequorum
Jul 19 11:24:38 proxmox2 corosync[2861]: [QUORUM] Quorum provider: corosync_votequorum failed to initialize.
Jul 19 11:24:38 proxmox2 systemd[1]: Failed to start Corosync Cluster Engine.
-- Subject: Unit corosync.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit corosync.service has failed.
--
-- The result is failed.
Jul 19 11:24:38 proxmox2 corosync[2861]: [SERV ] Service engine 'corosync_quorum' failed to load for reason 'configuration error: nodelist or quorum.expected_votes must be configured!'
Jul 19 11:24:38 proxmox2 systemd[1]: corosync.service: Unit entered failed state.
Jul 19 11:24:38 proxmox2 corosync[2861]: [MAIN ] Corosync Cluster Engine exiting with status 20 at service.c:356.
Jul 19 11:24:38 proxmox2 systemd[1]: corosync.service: Failed with result 'exit-code'.

On node1:
root@proxmox:/etc/pve# cat corosync.conf
logging {
debug: off
to_syslog: yes
}

nodelist {
node {
name: proxmox
nodeid: 1
quorum_votes: 1
ring0_addr: 10.16.2.254
}
node {
name: proxmox2
nodeid: 2
quorum_votes: 1
ring0_addr: 10.17.2.100
}
}

quorum {
provider: corosync_votequorum
}

totem {
cluster_name: clustername
config_version: 22
interface {
bindnetaddr: 10.16.2.254
ringnumber: 0
}
ip_version: ipv4
secauth: on
transport: udpu
version: 2
}

root@proxmox:/etc/pve# pvecm status
Quorum information
------------------
Date: Thu Jul 19 11:26:50 2018
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1/2376
Quorate: Yes

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

Membership information
----------------------
Nodeid Votes Name
0x00000001 1 10.16.2.254 (local)
root@proxmox:/etc/pve#

How to fix ?
Thanks
 

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!