How to get rid of ghost nodes on the proxmox Gui

May you can use CLI and goto folder /etc/pve/nodes and delete those directories name as your ghost node. But remember, don't delete the directory name as the current node you are login!
Following is an example: (I'm login into tech-pve1 and want to delete node tech-pve2)
Bash:
root@tech-pve1:~# cd /etc/pve/nodes
root@tech-pve1:/etc/pve/nodes# ls
tech-pve1  tech-pve2
root@tech-pve1:/etc/pve/nodes# ls -l tech-pve2
total 3
-rw-r----- 1 root www-data  180 May  9  2020 config
-rw-r----- 1 root www-data  262 Nov 27  2020 host.fw
-rw-r----- 1 root www-data   83 Jun  9 14:26 lrm_status
drwxr-xr-x 2 root www-data    0 Mar  6  2020 lxc
drwxr-xr-x 2 root www-data    0 Mar  6  2020 openvz
drwx------ 2 root www-data    0 Mar  6  2020 priv
-rw-r----- 1 root www-data 1679 Mar  6  2020 pve-ssl.key
-rw-r----- 1 root www-data 1724 Mar  6  2020 pve-ssl.pem
drwxr-xr-x 2 root www-data    0 Mar  6  2020 qemu-server
root@tech-pve1:/etc/pve/nodes# rm -rf tech-pve2
 
  • Like
Reactions: UdoB
rm -rf tech-pve2
To beginners I always recommend to move the content and delete it some days later. mv tech-pve2 /root/ gives you a chance to "undo" potentially harmful commands...
 
  • Like
Reactions: david_tao