From: "Michael Köppl" <m.koeppl@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH FOLLOW-UP ha-manager/manager v2 0/5] fix rule migration errors and add UI components
Date: Wed, 23 Jul 2025 17:35:19 +0200 [thread overview]
Message-ID: <20250723153524.288508-1-m.koeppl@proxmox.com> (raw)
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
next reply other threads:[~2025-07-23 15:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-23 15:35 Michael Köppl [this message]
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-09-17 12:34 ` Fiona Ebner
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250723153524.288508-1-m.koeppl@proxmox.com \
--to=m.koeppl@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox