[Bug] 'Maintenance Mode' for the Proxmox nodes will be deleted during the update
Describe the bug
'Maintenance Mode' for the Proxmox VE nodes will be deleted during the update
Steps to Reproduce
- Select 'Enter Maintenance Mode' for 1 or more Proxmox VE in a cluster
- Install the offered update
- After the re-login the Proxmox VEs are no longer in Maintenance Mode.
Expected behavior
Keep the 'Maintenance Mode' settings. This issue exists in earlier versions too (not a new one).
Environment
- PegaProx Version: PegaProx 1.1.1
- Installation Method: Manual (git clone)
- OS: Debian 13.6
- Browser: Firefox 155.0.1
- Behind Reverse Proxy? No
- UI? Corporate Layout
Logs
Screenshots
Checklist
- [X] I have searched existing issues to make sure this is not a duplicate
- [X] I am using the latest version of PegaProx
Hi, maintenance state should survive a restart since 1.1.0 — we persist it and repopulate before the first poll. But that only covers the soft kind we set ourselves; if the node went into maintenance via native HA we deliberately do not store it, because that state gets re-read from PVE instead.
So two questions: does your cluster have HA configured, and right after the update does the PVE web UI itself still show the node as in maintenance? That tells us which of the two paths is dropping it.
Small tip jar if it is worth it to you: https://opencollective.com/pegaprox
— MK
This is fixed in 1.2.0, which went out yesterday.
When I answered you in September I said the soft maintenance we set ourselves survives a restart, but maintenance that came from native HA deliberately was not stored — we expected to re-derive it from Proxmox on the first poll after startup. That re-derivation turned out to be unreliable on PVE 9, which is why yours kept vanishing.
Both kinds are persisted now and restored before the first poll, and the native-HA flag is carried along so exiting maintenance still clears it upstream. Credit to @hugobugomugo, who tracked it down and sent the patch.
Marcus
ps. if PegaProx is useful to you, we are entirely sponsor-funded: https://opencollective.com/pegaprox