From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id E1CED1FF13A for ; Wed, 27 May 2026 16:49:21 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2FF5131B59; Wed, 27 May 2026 16:49:18 +0200 (CEST) From: Daniel Kral 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 Message-ID: <20260527144842.467012-1-d.kral@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1779893298742 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.075 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: CBHEJ4ZAZ7JEWXFT2ZD2P6PBUALBXW44 X-Message-ID-Hash: CBHEJ4ZAZ7JEWXFT2ZD2P6PBUALBXW44 X-MailFrom: d.kral@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 --- 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