From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id DB5D41FF0BC for ; Wed, 02 Dec 2026 15:22:09 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 6CE9721884; Wed, 02 Dec 2026 15:22:07 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 02 Dec 2026 15:21:55 +0100 Message-Id: To: "Jonas Sterr" , Subject: Re: [PATCH manager] report: add HA resource and rule configuration From: "Dominik Rusovac" X-Mailer: aerc 0.20.0 References: <20261130113240.143899-1-jsterr@proxforge.de> In-Reply-To: <20261130113240.143899-1-jsterr@proxforge.de> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1796221315532 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.018 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: WE4UIAHAPYULHFPDDJ5Z5XFEVU53HWRN X-Message-ID-Hash: WE4UIAHAPYULHFPDDJ5Z5XFEVU53HWRN X-MailFrom: d.rusovac@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: thanks for the contribution! noticed nothing off while testing lgtm, consider as: Reviewed-by: Dominik Rusovac Tested-by: Dominik Rusovac On Mon Nov 30, 2026 at 12:32 PM CET, Jonas Sterr wrote: > 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 > --- > 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 =3D 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', > ], > },