Completely removing node from cluster

mschau

New Member
Mar 21, 2018
17
0
1
44
Hi!

I've removed a node from our testcluster via "pvecm delnode ..." and reinstalled that node.
When re-adding that node (with the same name) via "pvecm add ..." I get following errors:

Code:
root@node2:/etc/pve/nodes# pvecm add nodename -force
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?!
Please enter superuser (root) password for 'nodename':
                                                        Password for root@nodename: *******
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?!
Etablishing API connection with host 'nodename'
The authenticity of host 'nodename' can't be established.
X509 SHA256 key fingerprint is 20:16:18:AD:6C:80:0A:E9:C9:FE:39:F3:AD:DA:62:04:BC:57:77:E2:D4:72:72:D4:CF:0D:85:36:54:FB:CC:48.
Are you sure you want to continue connecting (yes/no)? yes
Login succeeded.
Request addition of this node
500 invalid corosync config: unable to read config version

I fear that I missed to migrate a Test-VM from that node before deleting it - so some configs still remain.
Any hint where to look?
 
you have to run 'pvecm add ...' on the node which is not currently in the cluster
 

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!