[SOLVED] after add new node -> error: no such node

fips

Renowned Member
May 5, 2014
175
9
83
Hi,

I am running a 4 node cluster with pve 4.4, cluster worked fine so far.
Now I wanted to add a 5. node, but after adding the node only from 1 node (that one with the ip from the command: pvecm add EXISTING-IP).
The other 3 nodes can't see the 5. one...

/etc/pve/.members just show the old 4 nodes.

What can I do to get it all synced again?
 
you have to add the node to the cluster so for example
your cluster has nodes pve01 - pve04 and you want to add a 5th node pve05
you have to do
Code:
pvecm add <ip of any of pve01 - pve04>
on pve05
 
exactly,
lets say pve03 has the ip 192.168.1.3.
So I executed pvecm add 192.168.1.3

and only on pve03 I can see all 5 nodes.
Output cat /etc/pve.members
Code:
{

"nodename": "pve03",

"version": 13,

"cluster": { "name": "mycluster", "version": 5, "nodes": 5, "quorate": 1 },

"nodelist": {

  "pve02": { "id": 2, "online": 1, "ip": "192.168.1.2"},

  "pve01": { "id": 1, "online": 1, "ip": "192.168.1.1"},

  "pve04": { "id": 3, "online": 1, "ip": "192.168.1.4"},

  "pve05": { "id": 5, "online": 1, "ip": "192.168.1.5"},

  "pve03": { "id": 4, "online": 1, "ip": "192.168.1.3"}

  }

}

Output of /etc/pve/.members on the other 3 (old) nodes:
Code:
{

"nodename": "pve01",

"version": 13,

"cluster": { "name": "mycluster", "version": 4, "nodes": 4, "quorate": 1 },

"nodelist": {

  "pve02": { "id": 2, "online": 1, "ip": "192.168.1.2"},

  "pve01": { "id": 1, "online": 1, "ip": "192.168.1.1"},

  "pve04": { "id": 3, "online": 1, "ip": "192.168.1.4"},

  "pve03": { "id": 4, "online": 1, "ip": "192.168.1.3"}

  }

}

Do I have to restart services to sync that .members files?
 
normally not but you can try on one node to restart corosync and pve-cluster to see if that helps