* [PATCH manager] report: add HA resource and rule configuration
@ 2026-11-30 11:32 Jonas Sterr
0 siblings, 0 replies; only message in thread
From: Jonas Sterr @ 2026-11-30 11:32 UTC (permalink / raw)
To: pve-devel; +Cc: Jonas Sterr
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 11:32 [PATCH manager] report: add HA resource and rule configuration Jonas Sterr
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.