[pve-devel] [RFC ha-manager 0/5] make simulator standalone again

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Sep 22 14:04:29 CEST 2025


by moving PVE::Notify to the actual site where it is used, and adapting
the build parts to install PVE::HA::Usage::Basic and PVE::HA::Rules::*
in the simulator as well.

CRS is not supported for now, as that would require pulling in a lot
more parts of PVE into the dependency tree of the simulator..

Fabian Grünbichler (5):
  fix #6839: move PVE::Notify usage to "real" Env
  build: install PVE::HA::Rules::* in simulator as well
  scheduling: make static scheduling optional
  build: install PVE::HA::Usage::Basic in simulator as well
  sim: add Cluster.pm stub with completion stub

 src/PVE/HA/Env/PVE2.pm    |  5 +++++
 src/PVE/HA/Makefile       |  2 ++
 src/PVE/HA/Manager.pm     | 21 +++++++++++++++------
 src/PVE/HA/NodeStatus.pm  |  4 +---
 src/PVE/HA/Rules/Makefile |  8 +++++++-
 src/PVE/HA/Sim/Cluster.pm | 11 +++++++++++
 src/PVE/HA/Sim/Makefile   |  2 ++
 src/PVE/HA/Usage/Makefile |  8 +++++++-
 8 files changed, 50 insertions(+), 11 deletions(-)
 create mode 100644 src/PVE/HA/Sim/Cluster.pm

-- 
2.47.3





More information about the pve-devel mailing list