[SOLVED] TASK ERROR: command '/usr/bin/termproxy 5900 --path /nodes/... /bin/login -f root' failed: exit code 1

tempacc375924

Member
Nov 18, 2023
103
11
18
UPON LOST QUORUM (not indicated in the GUI), the attempt to access the node's OWN console ends up in generic:

Code:
failed waiting for client: timed out
TASK ERROR: command '/usr/bin/termproxy 5900 --path /nodes/pve7 --perm Sys.Console -- /bin/login -f root' failed: exit code 1

This is clearly desired behaviour for VMs running on a node that lost quorum, however GUI provides no indication that there is a lost quorum situation, the natural progression of troubleshooting is then to get the node's root console (of which the GUI is being accessed), this however results in the above error just as well.

The only temporary way to get a root shell is to log in NOT through the GUI (tty or ssh), this is even if one needs to continue with the documented "pvecm expected $count" to artificially get the node to accept manual intervention.

Posting it here so that others can find it when troubleshooting, will file Bugzilla reports later on. I believe it would be highly beneficial to show:
1) Lost quorum in GUI
2) Allow console access to the same node of which GUI is accessed in such situation
 

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!