* [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
* applied: [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information
2026-05-27 14:48 [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information Daniel Kral
@ 2026-05-27 16:01 ` Thomas Lamprecht
2026-05-27 22:40 ` Thomas Lamprecht
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2026-05-27 16:01 UTC (permalink / raw)
To: pdm-devel, Daniel Kral
On Wed, 27 May 2026 16:48:29 +0200, Daniel Kral wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] ui: lxc/qemu: remove deprecated ha group information
commit: fbc35513e36fa0d342cb08018b7bdd2107de0816
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH datacenter-manager] ui: lxc/qemu: remove deprecated ha group information
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
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2026-05-27 22:40 UTC (permalink / raw)
To: Daniel Kral, pdm-devel
Am 27.05.26 um 16:48 schrieb Daniel Kral:
> 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.
I was a bit to fast myself. Fact is: PVE 8 isn't yet EOL and groups
still exist there. Further, PDM wants to provide backward and forward
compatibility for one major version in each direction.
I kept this one for now here as it's a bit niche and not critical in
PDM to have this info given that one cannot manage HA there (yet).
But for the future: a better fix would have been to still render the
group if present, but omit it completely if not. That way both versions
would work.
^ permalink raw reply [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.