all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Daniel Kral <d.kral@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information
Date: Wed, 27 May 2026 16:48:29 +0200	[thread overview]
Message-ID: <20260527144842.467012-1-d.kral@proxmox.com> (raw)

Since Proxmox VE 9.0, the HA Groups are deprecated in favor of the
equivalent HA node affinity rules. Existing HA Groups are migrated
automatically, which makes the value always fallback to "none".

As Proxmox VE 8 nears its end of life, it's a good time to remove the
information from the web interface.

Signed-off-by: Daniel Kral <d.kral@proxmox.com>
---
 ui/src/pve/lxc/overview.rs  | 7 +------
 ui/src/pve/qemu/overview.rs | 7 +------
 2 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/ui/src/pve/lxc/overview.rs b/ui/src/pve/lxc/overview.rs
index 2d8cc67..c580723 100644
--- a/ui/src/pve/lxc/overview.rs
+++ b/ui/src/pve/lxc/overview.rs
@@ -268,17 +268,12 @@ impl yew::Component for LxcanelComp {
         }
 
         let ha_text = if status.ha["managed"].as_i64().unwrap_or_default() > 0 {
-            let ha_group = status
-                .ha
-                .get("group")
-                .and_then(|c| c.as_str().map(|c| c.to_string()))
-                .unwrap_or(tr!("none"));
             let ha_state = status
                 .ha
                 .get("state")
                 .and_then(|c| c.as_str())
                 .unwrap_or_default();
-            tr!("{0}, Group: {1}", ha_state, ha_group)
+            tr!("{0}", ha_state)
         } else {
             tr!("none")
         };
diff --git a/ui/src/pve/qemu/overview.rs b/ui/src/pve/qemu/overview.rs
index 7592de1..2d5de25 100644
--- a/ui/src/pve/qemu/overview.rs
+++ b/ui/src/pve/qemu/overview.rs
@@ -277,17 +277,12 @@ impl yew::Component for QemuOverviewPanelComp {
         }
 
         let ha_text = if status.ha["managed"].as_i64().unwrap_or_default() > 0 {
-            let ha_group = status
-                .ha
-                .get("group")
-                .and_then(|c| c.as_str().map(|c| c.to_string()))
-                .unwrap_or(tr!("none"));
             let ha_state = status
                 .ha
                 .get("state")
                 .and_then(|c| c.as_str())
                 .unwrap_or_default();
-            tr!("{0}, Group: {1}", ha_state, ha_group)
+            tr!("{0}", ha_state)
         } else {
             tr!("none")
         };
-- 
2.47.3





             reply	other threads:[~2026-05-27 14:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-27 14:48 Daniel Kral [this message]
2026-05-27 16:01 ` applied: [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information Thomas Lamprecht
2026-05-27 22:40 ` Thomas Lamprecht

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=20260527144842.467012-1-d.kral@proxmox.com \
    --to=d.kral@proxmox.com \
    --cc=pdm-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal