[pve-devel] [PATCH FOLLOW-UP ha-manager/manager v2 0/5] fix rule migration errors and add UI components
Michael Köppl
m.koeppl at proxmox.com
Wed Jul 23 17:35:19 CEST 2025
These patches are meant to extend the first part of v3 of the HA rules
series [0]. During testing, I encountered a couple of errors that broke
the migration and also found that there was no UI for the rules. I
reused parts of the v2 series to supply a UI for node affinity rules. I
marked the corresponding patches accordingly.
[0] https://lore.proxmox.com/pve-devel/20250704181659.465441-1-d.kral@proxmox.com/
Changes since v2 of the follow-up patches:
- Added 2 additional patches to ha-manager regarding the replacement of
the 'state' property with the 'disable' property.
- Add UI part for pve-manager
pve-ha-manager:
Michael Köppl (4):
config: use entire path to groups.cfg path in delete_group_config
ha: decode JSON string with version info returned by get_node_kv
api: return disable field for rules endpoint
ha: check for actual disable value during rule checks
src/PVE/API2/HA/Rules.pm | 1 +
src/PVE/HA/Config.pm | 3 ++-
src/PVE/HA/Env/PVE2.pm | 4 +++-
src/PVE/HA/Rules.pm | 2 +-
4 files changed, 7 insertions(+), 3 deletions(-)
pve-manager:
Michael Köppl (1):
ui: add overview and edit components for node affinity rules
www/manager6/Makefile | 5 +
www/manager6/dc/Config.js | 7 +
www/manager6/ha/Groups.js | 4 +-
www/manager6/ha/RuleEdit.js | 145 +++++++++++++
www/manager6/ha/RuleErrorsModal.js | 50 +++++
www/manager6/ha/Rules.js | 193 ++++++++++++++++++
www/manager6/ha/rules/NodeAffinityRuleEdit.js | 151 ++++++++++++++
www/manager6/ha/rules/NodeAffinityRules.js | 36 ++++
8 files changed, 590 insertions(+), 1 deletion(-)
create mode 100644 www/manager6/ha/RuleEdit.js
create mode 100644 www/manager6/ha/RuleErrorsModal.js
create mode 100644 www/manager6/ha/Rules.js
create mode 100644 www/manager6/ha/rules/NodeAffinityRuleEdit.js
create mode 100644 www/manager6/ha/rules/NodeAffinityRules.js
Summary over all repositories:
12 files changed, 597 insertions(+), 4 deletions(-)
--
Generated by git-murpp 0.8.0
More information about the pve-devel
mailing list