Re: [PATCH ha-manager v3 37/40] test: add dynamic automatic rebalancing system test cases

Dominik Rusovac
2026-03-31T09:33:39Z

lgtm, consider this for basic testing of rebalacing system

On Mon Mar 30, 2026 at 4:30 PM CEST, Daniel Kral wrote:
> These test cases document the basic behavior of the automatic load
> rebalancer using the dynamic usage stats.
>
> As an overview:
>
> - Case 0: rebalancing system is inactive for no configured HA resources
> - Case 1: rebalancing system doesn't trigger any rebalancing migrations
> for a single, configured HA resource
> - Case 2: rebalancing system triggers migrations if the running HA
> resources cause a significant node imbalance and converge if
> the imbalance falls below the threshold
> - Case 3: rebalancing system triggers migrations if the running HA
> resources cause a significant node imbalance through dynamic
> changes in their usage
> - Case 4: rebalancing system doesn't trigger a migration if the node
> imbalance is exceeded once but isn't sustained for at least
> the set hold duration
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v2 -> v3:
> - none
>