project-pegaprox icon indicating copy to clipboard operation
project-pegaprox copied to clipboard

[Bug] Singlenodes Show "Quorum verloren"

Open proxforge opened this issue 7 months ago • 2 comments

Describe the bug

Singlenodes Show "Quorum verloren". A Singlenode has no quorum, because no corosync is active on a singlenode. The button should not show up:

Image

Steps to Reproduce

  1. Add a singlenode to pegaprox
  2. use corporate design
  3. see the button "Quorum verloren"

Expected behavior

Show "OK" or any other indicator, that the node is fine or dont show that button at all when it is a singlenode.

Environment

  • PegaProx Version: 0.9.6 BETA
  • Installation Method: install script from website
  • OS: debian13
  • Browser: Firefox 149.0.2 (64-Bit)
  • Behind Reverse Proxy? yes but added via local ip not dns
    • UI? Corporate

Screenshots

Image

Checklist

  • [x] I have searched existing issues to make sure this is not a duplicate
  • [x] I am using the latest version of PegaProx

proxforge avatar Apr 18 '26 19:04 proxforge

Hey @proxforge,

yep, can confirm this. I added PR #327 that should fix this. Not quite sure about "how". I think a green bubble with quorum ok would be technically ok-ish, but could lead into a wrong assumption for users (especially beginners). So, I decided to add new state in orange with "No quorum possible". Unfortunately, I've recently seen to many wrong assumptions that made me think that this might be a good way. However, happy to head feedback about this.

Image

Cheers, gyptazy

gyptazy avatar Apr 19 '26 09:04 gyptazy

Hey @gyptazy, thanks a lot for jumping in and the PR on this — much appreciated!

We ended up landing a fix for this in 0.9.7 (commit d68a399) already, with a slightly different visual: for standalone nodes the cluster-services bar now shows a neutral blue "Standalone" badge instead of either the red "Quorum verloren" or a green "Quorum OK". Rationale is basically the same as yours — a green badge on a node that has no corosync would be misleading, and "No quorum possible" in orange felt a bit too much like a warning for a perfectly-fine single-node setup. The blue tone matches what the Datacenter status tile already does for single-node installs, so the whole UI stays consistent.

Since the behavior is now covered, I'll close this one and the corresponding PR #327 with thanks. If you feel the badge wording should be stronger (e.g. "No quorum possible" instead of "Standalone") I'm happy to reopen — just ping me.

Cheers, Marcus

mkellermann97 avatar Apr 19 '26 19:04 mkellermann97