Can't add node (already exists)

NickTheGreat

New Member
Dec 22, 2015
6
0
1
43
I have a cluster running, and I am trying to add a new node but receive the following error

root@vhost05:/etc/pve# pvecm add vhost13
detected the following error(s):
* authentication key '/etc/corosync/authkey' already exists
* cluster config '/etc/pve/corosync.conf' already exists
* this host already contains virtual guests
* corosync is already running, is this node already in a cluster?!
root@vhost05:/etc/pve#
So then I tried pvecm add vhost13 -force and got the following:

root@vhost05:/etc/pve# pvecm add vhost13 -force
invalid corosync config - unable to read version
unable to add node: command failed (ssh vhost13 -o BatchMode=yes pvecm addnode vhost05 --force 1)
root@vhost05:/etc/pve#
vhost13, which is the new server I am trying to add to the cluster is a fresh install of proxmox, which has been updated. It does NOT have any guests running on it. I presume at some point there has been a vhost13 in the cluster, but I would like to keep that hostname to keep naming consistent with rack location.
 
Hello all. I have this same problem, I triyed to add in both server but I keep the same problem.

root@vs1:~# pvecm add vs2 -force
Please enter superuser (root) password for 'vs2': *******
detected the following error(s):
* authentication key '/etc/corosync/authkey' already exists
* corosync is already running, is this node already in a cluster?!

WARNING : detected error but forced to continue!
 
Hi,
Hello all. I have this same problem, I triyed to add in both server but I keep the same problem.

root@vs1:~# pvecm add vs2 -force
Please enter superuser (root) password for 'vs2': *******
detected the following error(s):
* authentication key '/etc/corosync/authkey' already exists
* corosync is already running, is this node already in a cluster?!

WARNING : detected error but forced to continue!
this most likely means that the node is already in a cluster, and thus you can't join it to another cluster. To set up a cluster, you create it on one node and have other nodes join it. See also: https://pve.proxmox.com/pve-docs/chapter-pvecm.html
 
Hi,

this most likely means that the node is already in a cluster, and thus you can't join it to another cluster. To set up a cluster, you create it on one node and have other nodes join it. See also: https://pve.proxmox.com/pve-docs/chapter-pvecm.html
Thank you Fiona, but I deleted the old cluster in that server and removed the old keys, removed old vm but I still having the same problem.

root@vs1:~# pvecm add 10.4.12.99
Please enter superuser (root) password for '10.4.12.99': *******
detected the following error(s):
* authentication key '/etc/corosync/authkey' already exists
* corosync is already running, is this node already in a cluster?!
Check if node may join a cluster failed!
 
The error says that /etc/corosync/authkey exists on the node 10.4.12.99. Are you sure you cleaned up everything from the old cluster? The supported way is to re-install the node before joining to a new cluster.
 
The error says that /etc/corosync/authkey exists on the node 10.4.12.99. Are you sure you cleaned up everything from the old cluster? The supported way is to re-install the node before joining to a new cluster.
Thank you I just cleaned at the master server and it's working.
 

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!