Removed host and still visible in web console

rebootnz

Member
Nov 27, 2022
7
4
8
I had a host that had issues so i removed it from Cluster PVECM delnode promox2
Remove OK pvcem nodes only shows

Membership information
----------------------
Nodeid Votes Name
1 1 Proxmox1
3 1 proxmox3 (local)
But Webconsole still shows the node. (didn't notice this untill i rebuilt and rejoined host. Now I have 2 hoses i need to remove. Eg Proxmox2 and proxmox2


1669545743201.png
I can see the old server is still listed in /etc/pve/nodes. IS this causing the issue?
How do i remove it?
root@proxmox3:~# ls -al /etc/pve/nodes
total 0
dr-xr-xr-x 2 root www-data 0 Oct 11 19:33 .
drwxr-xr-x 2 root www-data 0 Jan 1 1970 ..
dr-xr-xr-x 2 root www-data 0 Oct 11 19:33 Proxmox1
dr-xr-xr-x 2 root www-data 0 Nov 27 20:10 proxmox2
dr-xr-xr-x 2 root www-data 0 Oct 21 12:40 proxmox3


All systems are running
Kernel Version

Linux 5.15.74-1-pve #1 SMP PVE 5.15.74-1


Any help here is great full.
 
Do it at your own risk


Remove the data

Code:
mkdir /backup_delnode/

pvecm delnode Proxmox2
pvecm delnode proxmox2

mv -f /etc/pve/nodes/Proxmox2 /backup_delnode/
mv -f /etc/pve/nodes/proxmox2 /backup_delnode/

Restart the services

Code:
systemctl restart pve-cluster
systemctl restart corosync
systemctl restart pveproxy
systemctl restart pvestatd
 
  • Like
Reactions: ein1
Thanks for your response.

It fixed the issue. :)


the folders had already gone by the time i got to run this
But the old host still showed :(
Restarting all the Services solved the issue.

A big thank you for this.