Re: [PATCH ha-manager v3 31/40] usage: add dynamic usage scheduler

Dominik Rusovac
2026-03-31T08:15:24Z

lgtm, consider this

On Mon Mar 30, 2026 at 4:30 PM CEST, Daniel Kral wrote:
> The dynamic usage scheduler allows the HA Manager to make scheduling
> decisions based on the current usage of the nodes and cluster resources
> in addition to the maximum usage stats as reported by the PVE::HA::Env
> implementation.
>
> Signed-off-by: Daniel Kral <d.kral@proxmox.com>
> ---
> changes v2 -> v3:
> - add !defined(...) guards in PVE::HA::Usage::Dynamic::add_node(...) as
> suggested by @Dominik
> - adapt comment in add_service() as suggested by @Dominik
> - did not change error messages as suggested by @Dominik, because these
> are consistent with the one for Static; should be done in a separate
> patch (series)
>

[snip]