I cannot rejoin a node to the cluster

Aug 3, 2020
11
1
8
47
I removed a node from the cluster with the pmgcm delete 5 command.
Now when running pmgcm status on the master node everything is fine.

NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
mx002xxxx(1) xxx.xxx.x.188 master A 11 days 07:01 5.66 28% 66%
mx003xxxx(3) xxx.xxx.x.189 node A 59 days 14:45 5.03 25% 72%

But the node that was removed still remains:

NAME(CID)--------------IPADDRESS----ROLE-STATE---------UPTIME---LOAD----MEM---DISK
mx001XXX(5) XXX.XXX.X.187 node S 00:21 0.00 30% 46%
mx002XXX(1) XXX.XXX.X.188 master A 11 days 07:03 6.15 25% 65%
mx003XXX(3) XXX.XXX.X.189 node A 59 days 14:47 5.32 26% 72%

So when I try to rejoin this node in the Cluster I get
cluster join failed: cluster already defined

Anything to be done?
 
If possible simply setup your node fresh and then join it to the cluster - this is the cleanest solution.

Else (without trying it explicitly) try removing /etc/pmg/cluster.conf from the node you try to re-add to the cluster .... this could work

I hope this helps!
 

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!