Web UI not working after joining cluster

nerdynetworking

New Member
Oct 13, 2022
3
0
1
Hello,

I have two Proxmox VE servers on the same version (the newest right now) Proxmox VE 7.2 they both were working independently today and for a while. But now I joined server A to server B in this example server A no longer loads the web UI anymore but SSH is working.

Server B where the cluster was made on web ui and ssh still works on it and you can see in the server B inside the UI host a is listed there but with an RED X indicating an issue.

I probably broke the server because I followed forums post to use SSH to join the host into a cluster that already has VMs on it using these steps:

On node1 (with guests)
Create a new cluster or get join information.

On node2 (with guests)
scp -r /etc/pve/nodes/* to node1:/etc/pve/nodes
rm -r /etc/pve/nodes/*
Join cluster.

I suppose I am reaching out to find out how to reverse this change so I can get host A back up and running. I dont even care if its still in the cluster at this point.

I've physically rebooted the server using iDrac 2 times already and still get nowhere.
 
Also tried this:
root@nerdyhost1:~# pvecm nodes

Membership information
----------------------
Nodeid Votes Name
2 1 nerdyhost1 (local)
root@nerdyhost1:~# pvecm delnode nerdyhost1
Cannot delete myself from cluster!
root@nerdyhost1:~#
 
Update:

using this command on the affected host A fixed the web UI: pvecm updatecerts

So maybe just a cert issue it was but now all my LXC and VMs are gone but the storage is still there. How do I persay re-register them like I would in like VMWare equivalent?
 
Hi,
So maybe just a cert issue it was but now all my LXC and VMs are gone but the storage is still there. How do I persay re-register them like I would in like VMWare equivalent?
not sure why the guest configuration files got lost. I don't think that should happen. What is the output of pvecm status now and ls /etc/pve/nodes/*/*/*.conf?

If you have any backups, you can use the Show configuration button and copy it back. Otherwise, I'm afraid you need to re-create the configuration files with IDs matching the IDs of the disks manually. One way would be to create dummy VMs/LXCs with the matching ID and then manually edit the disk settings in the .conf file. For VMs you can even choose to not create any new disks during creation, for LXCs that's not possible, so you'd need to take care of the unwanted rootfs volume.
 
Add my experience here, it's the joining server's cert issue for me.
I have both server1 and server2 on tailscale, and I've been using tailscale dns to access both server UI.
After server2 joining server1 cluster, the tailscale generated ns for server2 stops working.
The appearance is
* After accessing server2 on browser, I can login, but it shows "connection error"

reading the thread, I realize I can ssh to the server correctly, and web UI works with ip address.
So that means it's the server2's cert has problem
 
Hello Guys, i have the same problem. the problem im into at the moment :
i have 2 proxmomx instalation in 2 different locations. I used tailscale to join them into cluster. copied the the conf files from the guest node and backed it up. joined the cluster using ssh, afterwards i ran on both proxmox
Code:
pvecm updatecerts --force
. the cluster shows but the storage and vm's not also the webui always times out.
on a seperate note:
- i edited both corosync.conf files manually to point to tailscale ip.
- update /etc hosts files the the tailscale ip addresses.
- i have to run pvecm expected 1 to be able to edit the corosync file.
 
i have 2 proxmomx instalation in 2 different locations.
What is the ping? Is it below 5 ms? If it is higher, you won't get a stable cluster (see Network Requirements [1]).

Why are you trying to make a cluster?
There is a new Proxmox Datacenter Manager (Alpha version was just released). Eventually it will give you a new GUI to migrate VMs between clusters/standalone nodes and other features.

[1] https://pve.proxmox.com/wiki/Cluster_Manager#_cluster_network