rejoin node to cluster

stefek143

Member
Aug 30, 2019
8
1
8
41
Hello,
I was adding one host to proxmox cluster. Unfortunatly I didn't write a proper IP address in /etc/hosts to this node and during join to cluster corosync took bad IP. I powered off this node and all back to good condition but how can I rejoin this node to cluster?
I wanted delete this node from cluster but how to do it safety when no membership information name to this node (should be node7)
In GUI I see this host with red cross icon.

Code:
pvecm status:

Cluster information
-------------------
Name:             cluster
Config Version:   8
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Wed Jun  2 15:30:15 2021
Quorum provider:  corosync_votequorum
Nodes:            6
Node ID:          0x00000001
Ring ID:          1.10b3
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   7
Highest expected: 7
Total votes:      6
Quorum:           4
Flags:            Quorate

Membership information
----------------------
    Nodeid      Votes Name
0x00000001          1 node1 (local)
0x00000002          1 node2
0x00000003          1 node3
0x00000004          1 node4
0x00000005          1 node5
0x00000006          1 node6


Link 0 has bad IP in node7

Screen Shot 2021-06-03 at 00.01.46.png
 
Thank you for answer,
I did
Code:
pvecm delnode node7
and it disapear from GUI and now I see 6 nodes in cluster information but an error occurred while deleting:

Code:
Could not kill node (error = CS_ERR_NOT_EXIST)
Killing node 7
error during cfs-locked 'file-corosync_conf' operation: command 'corosync-cfgtool -k 7' failed: exit code 1

commad ls -l /etc/pve/nodes/ shows me that node7 in this folder exists and contain:

Code:
lrm_status   lxc/         openvz/      priv/        pve-ssl.key  pve-ssl.pem  qemu-server/

Do I have to delete manually this folder on all active nodes?
 
looks like node 7 has already been dropped . In file /etc/pve/corosync.conf I see only 6 nodes.
OK, I will not delete folder node7 in this folder /etc/pve/nodes/ but If I will try to connect node once again to cluster with the same name then it will not be a problem?