public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Dominik Rusovac" <d.rusovac@proxmox.com>
To: "Jonas Sterr" <jsterr@proxforge.de>, <pve-devel@lists.proxmox.com>
Subject: Re: [PATCH manager] report: add HA resource and rule configuration
Date: Wed, 02 Dec 2026 15:21:55 +0100	[thread overview]
Message-ID: <DNABBCNUZM12.3881FVBH5TYDT@proxmox.com> (raw)
In-Reply-To: <20261130113240.143899-1-jsterr@proxforge.de>

thanks for the contribution!

noticed nothing off while testing

lgtm, consider as:

Reviewed-by: Dominik Rusovac <d.rusovac@proxmox.com>
Tested-by: Dominik Rusovac <d.rusovac@proxmox.com>

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 <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',
>              ],
>          },





  reply	other threads:[~2026-12-02 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 11:32 [PATCH manager] report: add HA resource and rule configuration Jonas Sterr
2026-12-02 14:21 ` Dominik Rusovac [this message]
2026-12-03 13:22 ` applied: " Thomas Lamprecht

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=DNABBCNUZM12.3881FVBH5TYDT@proxmox.com \
    --to=d.rusovac@proxmox.com \
    --cc=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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal