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

[Support] PegaProx 1.5.0 - Qdevice config

Open jostrasser opened this issue 3 weeks ago • 8 comments

Describe the bug

I can see my qdevice directly in my cluster but can read in the release notes that there are some new specific ways to set it up.

I cannot see any Echo Reply value and I cannot find a setting in the UI (under Cluster HA settings) how to review the config of the Qdevice if there is something missing.

  • What is the recommended way?
  • Should I remove the qdevice and add it again with the described way in the 1.5.0 release notes / documentation?

Thanks for your help!

Steps to reproduce

  • review my screenshots

Environment

  • PegaProx Version: 1.5.0
  • Installation Method: Docker
  • OS: Debian
  • Browser: Chrome latest
  • Behind Reverse Proxy? No
  • UI? Corporate

Logs

none

Screenshots

image

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
  • [X] I've put enough in here that someone can start on it without asking me three questions first
  • [X] I understand PegaProx is maintained by volunteers in their free time. Nobody is on call, and writing URGENT doesn't get anyone out of bed 🪄

jostrasser avatar Nov 15 '26 07:11 jostrasser

👋 Thanks for reporting a bug!

Unfortunately, it looks like some required information is missing.

Please provide:

  • [ ] Steps to Reproduce

Why? We are volunteers maintaining PegaProx in our free time. Complete bug reports help us fix issues faster. 🐾

Closing for now — please reopen with the required details or open a new issue.

This is an automated message.

github-actions[bot] avatar Nov 15 '26 07:11 github-actions[bot]

@MrMasterbay unable to reopen

jostrasser avatar Nov 15 '26 07:11 jostrasser

@jostrasser indeed you can set them up when there is only a two node cluster.

We can't change qdevice settings directly over pegaprox as proxmox simple offers no option for that.

MrMasterbay avatar Nov 15 '26 09:11 MrMasterbay

@jostrasser indeed you can set them up when there is only a two node cluster.

We can't change qdevice settings directly over pegaprox as proxmox simple offers no option for that.

Understood, so an option would be to remove the actual qdev and set it up via PegaProx from scratch, correct?

jostrasser avatar Nov 15 '26 09:11 jostrasser

Hey, no need to tear it down. A QDevice made with pvecm qdevice setup is the same thing PegaProx sets up (it writes exactly what pvecm writes), PegaProx reads it from corosync either way and rolling updates count its vote. Redoing it through the wizard is only worth it if you want PegaProx to handle the QNetd side for you too (the helper, the firewall rules). In that case pvecm qdevice remove first, then run the setup. Background is in https://github.com/PegaProx/project-pegaprox/blob/main/docs/qdevice.md

Sorry the bot closed this on you btw. And if PegaProx saves you some time, a coffee via https://opencollective.com/pegaprox is always welcome.

Marcus

mkellermann97 avatar Nov 15 '26 09:11 mkellermann97

Many thanks for the explanation!

One last question @mkellermann97 😀 would it be possible to run the docker sidecar image on an external docker host on a third side even when PegaProx is running on one of the two primary workload sites?

A coffee is on the way 😜

BR/JO

jostrasser avatar Nov 15 '26 11:11 jostrasser

Not as a sidecar, no. The sidecar talks to PegaProx through a Unix socket in a volume both containers share, so it has to sit on the same Docker host as PegaProx. For a QNetd at a third site, add that machine as Linux host over SSH instead (root or passwordless sudo): PegaProx puts its helper and corosync-qnetd on it itself, no container needed. A third site is the right place for it anyway, see https://docs.pegaprox.com/backup-ha-dr/qdevice/#where-the-qnetd-runs

And thanks a lot for the coffee ☕

Marcus

mkellermann97 avatar Nov 15 '26 12:11 mkellermann97

Got it, many thanks @mkellermann97 !!

jostrasser avatar Nov 15 '26 12:11 jostrasser