all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information
@ 2026-05-27 14:48 Daniel Kral
  2026-05-27 16:01 ` applied: " Thomas Lamprecht
  2026-05-27 22:40 ` Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Kral @ 2026-05-27 14:48 UTC (permalink / raw)
  To: pdm-devel

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





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

end of thread, other threads:[~2026-05-27 22:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-27 14:48 [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information Daniel Kral
2026-05-27 16:01 ` applied: " Thomas Lamprecht
2026-05-27 22:40 ` Thomas Lamprecht

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