all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Thomas Lamprecht <t.lamprecht@proxmox.com>
Subject: partially-applied: (subset) [PATCH ha-manager v2 0/2] avoid stopping guests for refused moves and retrying failed targets
Date: Tue, 24 Nov 2026 12:21:37 +0100	[thread overview]
Message-ID: <179551838177.3989970.1820921068377864538.b4-ty@b4> (raw)
In-Reply-To: <20261123072228.1506031-1-t.lamprecht@proxmox.com>

On Mon, 23 Nov 2026 07:53:24 +0100, Thomas Lamprecht wrote:
> Patch 1 is v1 with a small change to the simulator. Patch 2 is new:
> the CRM avoids a node where moving a service failed, so maintenance
> mode and other automatic moves try another node instead of the same
> one every round.
> 
> Having some nice separate placement-constraints layer that allows the
> CRM to make more informed and thus better upfront decision would be
> naturally nicer, but that is indeed a bigger change – so for now we
> could do something the approach here as stop gap that should not paint
> us into a corner FWICT.
> 
> [...]

Applied, first one with a follow-up so the LRM now only refuses an older
target if the guest has an identity, or would get one from a config
write before the migration.
So HA can move guests without an identity to such nodes again, e.g. for
maintenance mode while the cluster is upgraded. That should cover a big
chunk of the common cases.

Patch 2 is not applied for now, upfront CRM detection would be much
nicer, but as this should be hit less often, it's also not as pressing.

[1/2] lrm: refuse targets dropping the guest identity before stopping guests
      commit: 13a5e81731363529fc3a95f2723824d161b298ad




      parent reply	other threads:[~2026-11-24 11:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  6:53 [PATCH ha-manager v2 0/2] avoid stopping guests for refused moves and retrying failed targets Thomas Lamprecht
2026-11-23  6:53 ` [PATCH ha-manager v2 1/2] lrm: refuse targets dropping the guest identity before stopping guests Thomas Lamprecht
2026-11-23  6:53 ` [PATCH ha-manager v2 2/2] manager: avoid nodes where moving a service failed Thomas Lamprecht
2026-11-23 12:10   ` Daniel Kral
2026-11-23 12:33     ` Dominik Rusovac
2026-11-24 11:21 ` Thomas Lamprecht [this message]

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=179551838177.3989970.1820921068377864538.b4-ty@b4 \
    --to=t.lamprecht@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 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