From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id ED9561FF13A for ; Wed, 13 May 2026 14:03:38 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C8E74B354; Wed, 13 May 2026 14:03:38 +0200 (CEST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 13 May 2026 14:02:59 +0200 Message-Id: To: "Dominik Rusovac" , Subject: Re: [PATCH pve-ha-manager v2 3/3] fix #7557: introduce 'auto-rebalance' property From: "Daniel Kral" X-Mailer: aerc 0.21.0-136-gdb9fe9896a79-dirty References: <20260513104806.1106262-1-d.rusovac@proxmox.com> In-Reply-To: <20260513104806.1106262-1-d.rusovac@proxmox.com> X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778673775905 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.076 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment 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: HN4NGWSFI3TGR6LPPYK4LNTKFQ3DQCX2 X-Message-ID-Hash: HN4NGWSFI3TGR6LPPYK4LNTKFQ3DQCX2 X-MailFrom: d.kral@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: On Wed May 13, 2026 at 12:48 PM CEST, Dominik Rusovac wrote: > Add 'auto-rebalance' property to HA resources config, which gives users > control over which HA resources may be moved by dynamic CRS during > automatic rebalancing. > > The 'auto-rebalance' flag is set to true by default. Disabling > 'auto-rebalance' for some HA resource, say vm:100, means that vm:100 > will be disregarded as a migration candidate during auto-rebalancing. > Any HA resource with a positive affinity for vm:100 will be disregarded > too. > > Tests validate that an entire resource bundle will be disregarded if any > resource belonging to the bundle has 'auto-rebalance' disabled. > > Signed-off-by: Dominik Rusovac Reviewed-by: Daniel Kral Tested-by: Daniel Kral