[PATCH pve-ha-manager v2 4/6] manager: add load imbalance to status

Dominik Rusovac
2026-04-29T12:21:04Z

no changes since v1

src/PVE/HA/Manager.pm | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm
index b69a6bb..ba26fbf 100644
--- a/src/PVE/HA/Manager.pm
+++ b/src/PVE/HA/Manager.pm
@@ -285,6 +285,7 @@ sub flush_master_status {
$ms->{node_status} = $ns->{status};
$ms->{service_status} = $ss;
$ms->{timestamp} = $haenv->get_time();
+ $ms->{imbalance} = $self->{online_node_usage}->calculate_node_imbalance();

$haenv->write_manager_status($ms);
}
--
2.47.3