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

changes v1 -> v2:
 - add extra context to comment in condition (as suggested by @Michael)
 - add R-b + T-b from Michael

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                             | 10 +++-
 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, 85 insertions(+), 3 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] 3+ messages in thread

end of thread, other threads:[~2026-07-09  8:57 UTC | newest]

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

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