public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES ha-manager/manager 0/3] fix #7557: introduce 'auto-rebalance' property
@ 2026-05-11 15:57 Dominik Rusovac
  2026-05-11 15:57 ` [PATCH pve-manager 1/3] ui: ha: add auto-rebalance flag Dominik Rusovac
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Dominik Rusovac @ 2026-05-11 15:57 UTC (permalink / raw)
  To: pve-devel

# 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


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 (2):
  manager: set service config value in self
  fix #7557: introduce 'auto-rebalance' property

 src/PVE/API2/HA/Resources.pm      |   7 ++
 src/PVE/API2/HA/Status.pm         |   9 +-
 src/PVE/HA/Config.pm              |   2 +
 src/PVE/HA/Manager.pm             |  23 +++--
 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 | 134 +++++++++++++++++++++++++++++-
 9 files changed, 172 insertions(+), 12 deletions(-)


Summary over all repositories:
  12 files changed, 196 insertions(+), 12 deletions(-)

-- 
Generated by murpp 0.11.0




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-05-12 11:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 15:57 [PATCH-SERIES ha-manager/manager 0/3] fix #7557: introduce 'auto-rebalance' property Dominik Rusovac
2026-05-11 15:57 ` [PATCH pve-manager 1/3] ui: ha: add auto-rebalance flag Dominik Rusovac
2026-05-12  9:05   ` Daniel Kral
2026-05-11 15:57 ` [PATCH pve-ha-manager 2/3] manager: set service config value in self Dominik Rusovac
2026-05-12  9:06   ` Daniel Kral
2026-05-12 11:55     ` Dominik Rusovac
2026-05-11 15:57 ` [PATCH pve-ha-manager 3/3] fix #7557: introduce 'auto-rebalance' property Dominik Rusovac
2026-05-12  9:07   ` Daniel Kral
2026-05-12 11:51     ` Dominik Rusovac
2026-05-12  9:21 ` [PATCH-SERIES ha-manager/manager 0/3] " Daniel Kral
2026-05-12 11:53   ` Dominik Rusovac

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