Node Stuck on GUI Cant Remove

Sep 15, 2022
7
1
8
hey all!

I was trying to add another box to my clusters but I messed up the addressing and caused it to fail but now i cant remove it.

Is this something that can be manually removed?

Thank you !

1719930308241.png
 
Ahhh. That phantom node will probably be showing up due to still having a structure for it under /etc/pve/nodes/.

It's fairly standard for that to happen when deleting a node from a cluster.

If you've already removed the node from the cluster fully (ie pvecm delnode flash-pve-a), then you can delete the flash-pve-a directory from under /etc/pve/nodes, then reload your web interface.

It should be gone at that point. Hmm... actually, you might need to log out of the web interface and then back in. (It's been a while since I last needed to do it.)



Note that if you haven't deleted the node first using pvecm delnode, then something else is going on so deleting stuff from /etc/pve/nodes is probably not the right direction to take.
 
Last edited:
  • Like
Reactions: DICKHILL
Sorry for late reply.

So From the GUI if I click the node i get

1722215172900.png

When I'm data center level and have clicked cluster it see this

/etc/pve/nodes/flash-pve-a/pve-ssl.pem' does not exist! (500)


1722215287610.png

I did mess up for adding the right IP address. prolly messed up.
 
In the GUI, if you open up a shell session (specifically in the GUI), then run ping flash-pve-a does it seem to correctly find an address and ping it, or does it give an error message?

Hmmm, might be better to screenshot the output and paste it here?
 
  • Like
Reactions: Epicstockmedia
This is from the flash A - looks like the file etc/pve/corosync.conf is empty.

1722216569893.png

This is one from node 2in the cluster.
1722216503693.png


When i try to connect to the node. i cant get to the shell in gui of the Cluster I tried adding the node too.
1722216787160.png


Also For clarity.. I would 100% want to remove flashA node this cluster. Would i need to remove them from the etc/pve/corosync.conf on each node?
 
k, so that pvecm status command that you ran on flash-pve-a is a decent idea, and it shows that it's not part of any cluster. The /etc/pve/corosync.conf file gets created as part of the process of creating or joining a Proxmox cluster.

Now, lets back to the previous thing to try. On the prox-clus-1 node, please start a gui shell and run ping -c 3 flash-pve-a then paste the output here.

What that should do is let us know if prox-clus-1 is able to resolve the "flash-pve-a" name. It sounds like it probably can't.

It's probably a decent idea to run ip a on both prox-clus-1 and flash-pve-a and paste the output from them here as well. It's ok to run that via ssh, it doesn't have to be done via the gui shell thing.

The ip a command will show us the ip address configuration you're using for both of those hosts, which could be useful just in case there's something unexpected/weird with the ip addressing.
 
Oh. Just now it sunk in that you have the IP addresses already showing in corosync.conf from node 2.

So:
  • flash-pve-a : 10.0.2.88
  • prox-clus-1 : 10.0.99.91
  • prox-clus-2 : 10.0.99.92
  • prox-clus-3 : 10.0.99.93
From that, my first guess is there's probably something wrong with the netmask or CIDR for your network nodes. It's probably 255.255.255.0 (also known as /24), when it should be 255.255.0.0 (also known as /16) for the above addressing to work.

That's just a first guess though. The ip a output from both flash-pve-a and prox-clus-1 would tell us for sure. :)
 
Would i need to remove them from the etc/pve/corosync.conf on each node?

As a data point, the entire /etc/pve directory on the cluster nodes is a special type of thing. Any changes made in that directory get automatically pushed to the other cluster nodes.

So if you change that file on one node, then it'll automatically be pushed to the other nodes within a second or so. ie. you only need to change it on one node for them to all have it

To remove the broken entry from the cluster configuration, you're probably best to run pvecm delnode flash-pve-a first and see if that works.

Manually mucking around with that file can be done later on, if the command doesn't work. ;)
 
Last edited:
Awesome! Sounds like things are good again now. :D

For adding that flash-pve-a node again at some point, I'd probably try setting its ip address to be in the 10.0.99.x network range to minimise potential problems. Maybe 10.0.99.94, depending on whether that's already taken or not. :)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!