From: Jonas Sterr <jsterr@proxforge.de>
To: pve-devel@lists.proxmox.com
Cc: Jonas Sterr <jsterr@proxforge.de>
Subject: [PATCH manager] report: add HA resource and rule configuration
Date: Mon, 30 Nov 2026 12:32:40 +0100 [thread overview]
Message-ID: <20261130113240.143899-1-jsterr@proxforge.de> (raw)
The HA status only shows the current state of the resources, not why
the HA stack places, restarts or relocates them. That is decided by
settings like failback, max_restart, max_relocate and the requested
state, as well as by the node and resource affinity rules. Today,
support has to ask for each of them separately. With HA groups being
migrated to rules in Proxmox VE 9, mistakes from that migration are
also only visible in the configuration.
The fencing configuration is left out, as it can contain credentials
for the fence devices.
Signed-off-by: Jonas Sterr <jsterr@proxforge.de>
---
Tested on Proxmox VE 9.3.1:
- three-node cluster with HA VM resources and a node affinity rule:
both files show up after 'ha-manager status', including failback,
max_restart, max_relocate and comment of a resource, which
'ha-manager status' does not show
- single node without HA: 'No such file or directory' for both, like
for jobs.cfg and replication.cfg
This is my first contribution, the signed individual CLA has been sent
to office@proxmox.com.
PVE/Report.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/Report.pm b/PVE/Report.pm
index c4b2ca11..1157eba9 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -169,6 +169,8 @@ my $init_report_cmds = sub {
'pvecm status',
'cat /etc/pve/corosync.conf 2>/dev/null',
'ha-manager status',
+ 'cat /etc/pve/ha/resources.cfg',
+ 'cat /etc/pve/ha/rules.cfg',
'cat /etc/pve/datacenter.cfg',
],
},
--
2.56.1
reply other threads:[~2026-12-01 9:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130113240.143899-1-jsterr@proxforge.de \
--to=jsterr@proxforge.de \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox