public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH FOLLOW-UP ha-manager/manager v2 0/5] fix rule migration errors and add UI components
@ 2025-07-23 15:35 Michael Köppl
  2025-07-23 15:35 ` [pve-devel] [PATCH FOLLOW-UP ha-manager v2 1/4] config: use entire path to groups.cfg path in delete_group_config Michael Köppl
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michael Köppl @ 2025-07-23 15:35 UTC (permalink / raw)
  To: pve-devel

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


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-23 15:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-23 15:35 [pve-devel] [PATCH FOLLOW-UP ha-manager/manager v2 0/5] fix rule migration errors and add UI components Michael Köppl
2025-07-23 15:35 ` [pve-devel] [PATCH FOLLOW-UP ha-manager v2 1/4] config: use entire path to groups.cfg path in delete_group_config Michael Köppl
2025-07-23 15:35 ` [pve-devel] [PATCH FOLLOW-UP ha-manager v2 2/4] ha: decode JSON string with version info returned by get_node_kv Michael Köppl
2025-07-23 15:35 ` [pve-devel] [PATCH FOLLOW-UP ha-manager v2 3/4] api: return disable field for rules endpoint Michael Köppl
2025-07-23 15:35 ` [pve-devel] [PATCH FOLLOW-UP ha-manager v2 4/4] ha: check for actual disable value during rule checks Michael Köppl
2025-07-23 15:35 ` [pve-devel] [PATCH FOLLOW-UP manager v2 1/1] ui: add overview and edit components for node affinity rules Michael Köppl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal