[pve-devel] [PATCH ha-manager 6/9] config, manager: factor out resource motion info logic
Fiona Ebner
f.ebner at proxmox.com
Mon Jan 19 16:00:47 CET 2026
Am 15.12.25 um 4:55 PM schrieb Daniel Kral:
> The logic in execute_migration(...) and get_resource_motion_info(...) to
> gather dependent and blocking HA resources is equivalent and should also
> be the same for consistency, so factor them out as a separate helper.
>
> The PVE::HA::Helpers package is introduced since there does not exist a
> package for shared logic between packages, which cannot depend on each
> other (e.g. Manager and Config, LRM and CRM, etc.) and PVE::HA::Tools is
> not the right place for these.
It is a rather specific helper and PVE::HA::Helpers sounds very general.
Could we also put it in PVE::HA::Rules::Helpers or somewhere else below
PVE::HA::Rules or is there a good reason not to?
More information about the pve-devel
mailing list