all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH-SERIES ha-manager 0/2] fix #6084: allow dropping maintenance state with active HA resources
@ 2026-07-08  8:42 Daniel Kral
  2026-07-08  8:42 ` [PATCH ha-manager 1/2] test: add maintenance test case with stuck HA resource Daniel Kral
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Daniel Kral @ 2026-07-08  8:42 UTC (permalink / raw)
  To: pve-devel

As reported in BZ #6804 [0], if a node held active HA resources, that
could not be moved to any other node, while a node maintenance request
has been placed and dropped again, the node's LRM would stay in
maintenance state even though the maintenance mode was lifted.

This small patch series fixes the issue by also allowing LRMs with
active assigned HA resources to be moved out of maintenance state again.

[0] https://bugzilla.proxmox.com/show_bug.cgi?id=6084


Daniel Kral (2):
  test: add maintenance test case with stuck HA resource
  fix #6084: lrm: allow dropping maintenance with active HA resources

 src/PVE/HA/LRM.pm                             |  7 ++-
 src/test/test-crm-maintenance-request5/README |  6 ++
 .../test-crm-maintenance-request5/cmdlist     |  5 ++
 .../hardware_status                           |  5 ++
 .../test-crm-maintenance-request5/log.expect  | 58 +++++++++++++++++++
 .../manager_status                            |  1 +
 .../service_config                            |  3 +
 7 files changed, 83 insertions(+), 2 deletions(-)
 create mode 100644 src/test/test-crm-maintenance-request5/README
 create mode 100644 src/test/test-crm-maintenance-request5/cmdlist
 create mode 100644 src/test/test-crm-maintenance-request5/hardware_status
 create mode 100644 src/test/test-crm-maintenance-request5/log.expect
 create mode 100644 src/test/test-crm-maintenance-request5/manager_status
 create mode 100644 src/test/test-crm-maintenance-request5/service_config

-- 
2.47.3





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

end of thread, other threads:[~2026-07-08 14:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08  8:42 [PATCH-SERIES ha-manager 0/2] fix #6084: allow dropping maintenance state with active HA resources Daniel Kral
2026-07-08  8:42 ` [PATCH ha-manager 1/2] test: add maintenance test case with stuck HA resource Daniel Kral
2026-07-08  8:42 ` [PATCH ha-manager 2/2] fix #6084: lrm: allow dropping maintenance with active HA resources Daniel Kral
2026-07-08 14:40   ` Michael Köppl
2026-07-08 14:40 ` [PATCH-SERIES ha-manager 0/2] fix #6084: allow dropping maintenance state " Michael Köppl

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