From: Dominik Rusovac <d.rusovac@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH-SERIES ha-manager/manager v3 0/2] fix #7557: introduce 'auto-rebalance' property
Date: Fri, 15 May 2026 11:25:14 +0200 [thread overview]
Message-ID: <20260515092516.2146402-1-d.rusovac@proxmox.com> (raw)
# TL;DR
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.
# Details
The 'auto-rebalance' flag is set to true by default. As requested by [0],
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.
# Summary of Changes
This series:
- introduces property to control whether an HA resource may be migrated during
automatic rebalancing;
- adds corresponding flag to PVE UI.
# Refs
[0] https://bugzilla.proxmox.com/show_bug.cgi?id=7557
NOTE: changes since v2
* drop patch '[PATCH pve-ha-manager v2 2/3] manager: set service config value in self'
pve-manager:
Dominik Rusovac (1):
ui: ha: add auto-rebalance flag
www/manager6/ha/ResourceEdit.js | 14 ++++++++++++++
www/manager6/ha/Resources.js | 6 ++++++
www/manager6/ha/StatusView.js | 4 ++++
3 files changed, 24 insertions(+)
pve-ha-manager:
Dominik Rusovac (1):
fix #7557: introduce 'auto-rebalance' property
src/PVE/API2/HA/Resources.pm | 6 ++
src/PVE/API2/HA/Status.pm | 11 ++-
src/PVE/HA/Config.pm | 2 +
src/PVE/HA/Manager.pm | 17 ++--
src/PVE/HA/Resources.pm | 6 ++
src/PVE/HA/Resources/PVECT.pm | 1 +
src/PVE/HA/Resources/PVEVM.pm | 1 +
src/PVE/HA/Sim/Hardware.pm | 1 +
src/test/test_resource_bundles.pl | 142 ++++++++++++++++++++++++++++--
9 files changed, 175 insertions(+), 12 deletions(-)
Summary over all repositories:
12 files changed, 199 insertions(+), 12 deletions(-)
--
Generated by murpp 0.11.0
next reply other threads:[~2026-05-15 9:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-15 9:25 Dominik Rusovac [this message]
2026-05-15 9:25 ` [PATCH pve-manager v3 1/2] ui: ha: add auto-rebalance flag Dominik Rusovac
2026-05-15 9:25 ` [PATCH pve-ha-manager v3 2/2] fix #7557: introduce 'auto-rebalance' property Dominik Rusovac
2026-05-15 10:19 ` applied: [PATCH-SERIES ha-manager/manager v3 0/2] " 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=20260515092516.2146402-1-d.rusovac@proxmox.com \
--to=d.rusovac@proxmox.com \
--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