public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Daniel Kral <d.kral@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH-SERIES ha-manager 0/2] fix #6084: allow dropping maintenance state with active HA resources
Date: Wed,  8 Jul 2026 10:42:03 +0200	[thread overview]
Message-ID: <20260708084205.69947-1-d.kral@proxmox.com> (raw)

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





             reply	other threads:[~2026-07-08  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08  8:42 Daniel Kral [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260708084205.69947-1-d.kral@proxmox.com \
    --to=d.kral@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal