From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id DD4C61FF09F for ; Tue, 01 Dec 2026 10:16:18 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 4383F20ACE; Tue, 01 Dec 2026 10:16:18 +0100 (CET) DKIM-Signature: v=1; a=ed25519-sha256; s=v1-ed25519-20260627; d=proxforge.de; c=relaxed/relaxed; r=y; h=Message-ID:Date:Subject:To:From; t=1796038366; bh=ElIvznPiNRz4r++XqN93dUW 7g7JZhWvKINikMg8n9FM=; b=xE4cyXUSDjF/0nJ8QpTFwcDdhsLS6eLbZ7bjF5WsaUZWl5S0ut yYSGS0u99tYBGGjmTGNiYTFfIyjOZ9CJKwAw==; DKIM-Signature: v=1; a=rsa-sha256; s=v1-rsa-20260627; d=proxforge.de; c=relaxed/relaxed; r=y; h=Message-ID:Date:Subject:To:From; t=1796038366; bh=ElIvznPiNRz4r++XqN93dUW 7g7JZhWvKINikMg8n9FM=; b=xgr7Dy/5i1mYCcdBa+5ka/TLQlBSKEVJkskAp6z+PDWGAYA9M/ 6cfktqxGHBV1c5eVu8FwY0AENMRlppzLQeZAEXUumYOFiafpn7gwcTTc/qe1tsd/UNWJboeP2yY Xz4WxbSNPVYYBgjPtJRErTHDEOg6EnPHQriPE1xMiUXirC/VPHtWtC9wa/HkMAl9gmBSQbK+8kE NhHksopcm0tGrqSTdUVdoKf06tvJLUaa+WSZqbDA3VsGEJNjXCqcZkY5sJ/lCVolB46y3oYO3KQ nh2LWiuD3m9P6e3Ug8bt9h6WRXIvQUnV3bOUswMRL3uLL2uw36rifpEAkpzIYVrwqVQ==; From: Jonas Sterr To: pve-devel@lists.proxmox.com Subject: [PATCH manager] report: add HA resource and rule configuration Date: Mon, 30 Nov 2026 12:32:40 +0100 Message-ID: <20261130113240.143899-1-jsterr@proxforge.de> X-Mailer: git-send-email 2.56.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.711 Adjusted score from AWL reputation of From: address DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: jsterr@proxforge.de X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: JGLPHTYWHNXVVQY4ZCRN3U7RML2S3M4W X-Message-ID-Hash: JGLPHTYWHNXVVQY4ZCRN3U7RML2S3M4W X-Mailman-Approved-At: Tue, 01 Dec 2026 10:16:16 +0100 CC: Jonas Sterr X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 = 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