[SOLVED] Deleting Clusternode

Aug 18, 2020
20
3
23
37
Hallo,

after deleting a Cluster note it still appears in the Webgui. The name from the node was pve04. Here are the Terminal commands we have used:

Code:
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Sep 10 08:18:16 2021 from 10.1.5.101
root@pve01:~# pvecm nodes

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
         1          1    A,V,NMW pve01 (local)
         2          1    A,V,NMW pve02
         3          1    A,V,NMW pve03
         4          1    A,V,NMW pve00
         0          1            Qdevice
root@pve01:~# pvecm delnode pve04
Killing node 5
Could not kill node (error = CS_ERR_NOT_EXIST)
command 'corosync-cfgtool -k 5' failed: exit code 1
root@pve01:~# pvecm delnode pve04
Node/IP: pve04 is not a known host of the cluster.
root@pve01:~# pvecm nodes

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
         1          1    A,V,NMW pve01 (local)
         2          1    A,V,NMW pve02
         3          1    A,V,NMW pve03
         4          1    A,V,NMW pve00
         0          1            Qdevice
root@pve01:~# pvecm status
Cluster information
-------------------
Name:             LehaProduction
Config Version:   9
Transport:        knet
Secure auth:      on

Quorum information
------------------
Date:             Fri Sep 17 09:35:48 2021
Quorum provider:  corosync_votequorum
Nodes:            4
Node ID:          0x00000001
Ring ID:          1.75d
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   5
Highest expected: 5
Total votes:      5
Quorum:           3 
Flags:            Quorate Qdevice

Membership information
----------------------
    Nodeid      Votes    Qdevice Name
0x00000001          1    A,V,NMW 10.1.5.71 (local)
0x00000002          1    A,V,NMW 10.1.5.72
0x00000003          1    A,V,NMW 10.1.5.73
0x00000004          1    A,V,NMW 10.1.5.70
0x00000000          1            Qdevice
root@pve01:~#

Take a look at the Screenshot from the GUI. How do we get rid of pve04?
 

Attachments

  • Bildschirmfoto 2021-09-17 um 09.43.20.png
    Bildschirmfoto 2021-09-17 um 09.43.20.png
    66.3 KB · Views: 4
Last edited by a moderator:
Hi,
Take a look at the Screenshot from the GUI. How do we get rid of pve04?
Does it still has guests configured? I.e., in the lxc or qemu-server directories inside /etc/pve/nodes/pve04? As then the GUI will always create the node entry to map those "ghost" CT/VM configs.
 
Hi,

Does it still has guests configured? I.e., in the lxc or qemu-server directories inside /etc/pve/nodes/pve04? As then the GUI will always create the node entry to map those "ghost" CT/VM configs.
Hi Thomas,

you are right. There was a .conf File in the qemu-server directory. As soon as i delete this the ghost entry went away.