same here: in a cluster of 2 nodes, if one's gone, I cannot login in webgui of the another node. using "pvecm expected 1" solved the problem. But it is totally unacceptable because i set up the cluster of 2 for failsafe.
root@proxmox:~# pvecm status
Cluster information
-------------------
Name: BHB
Config Version: 2
Transport: knet
Secure auth: on
Quorum information
------------------
Date: Tue Mar 29 10:32:43 2022
Quorum provider: corosync_votequorum
Nodes: 1
Node ID: 0x00000001
Ring ID: 1.95
Quorate: No
Votequorum information
----------------------
Expected votes: 2
Highest expected: 2
Total votes: 1
Quorum: 2 Activity blocked
Flags:
Membership information
----------------------
Nodeid Votes Name
0x00000001 1 192.168.3.5 (local)
pvecm expected <val>
to the number of still active nodes.pvecm expected 1
did not allow me to log back into the host via web GUI. I think it was because I had configured a QDevice, although I could not remove the QDevice either because of the error:root@pve1:~# pvecm qdevice remove
All nodes must be online! Node pve2 is offline, aborting.
After all that, I'm back in business, without any downtime on any VM/CT's.Code:systemctl stop pve-cluster corosync pmxcfs -l rm -rf /etc/corosync/* rm /etc/pve/corosync.conf killall pmxcfs systemctl start pve-cluster
pvecm updatecerts
So if I have understood this right, if I have a total of two active nodes, and one goes down, I can solve this issue by connecting through SSH and setting the expected value to 1?Authentication via the GUI requires access to /etc/pve because of auth keys. If they need rotation, access is required. It might work for a few minutes or even hours after loss of quorum, but there's no guaranteed time.
If you're using TFA, access to /etc/pve is ALWAYS required.
So if you need to shut down half or more nodes of your cluster, and you still need access to the GUI, connect via SSH and setpvecm expected <val>
to the number of still active nodes.
Only require write-access (quorum) to TFA config for recovery keys.
All other TFA methods only need read-access to the config. This makes it possible to login to a node, which is not in the quorate partition, even if your user has TFA configured.
Hello, I am having the same problem also running 2 fresh install nodes on PVE 7.3-3. After one of them turned off this solution in PVE 7.3 didn't help me, couldn't log in to GUI and i still had to use "pvecm expected 1".Yes, that's how to do it generally. But PVE 7.3 has a solution for this now [0]:
Code:Only require write-access (quorum) to TFA config for recovery keys. All other TFA methods only need read-access to the config. This makes it possible to login to a node, which is not in the quorate partition, even if your user has TFA configured.
[0] https://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_7.3