From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id D98881FF066 for ; Tue, 24 Nov 2026 12:23:51 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id DA5AB214ED; Tue, 24 Nov 2026 12:23:49 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, Thomas Lamprecht 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 Message-ID: <179551838177.3989970.1820921068377864538.b4-ty@b4> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261123072228.1506031-1-t.lamprecht@proxmox.com> References: <20261123072228.1506031-1-t.lamprecht@proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1795519424181 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.148 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: PRJ6QX6GDCZYYU5FEQDNEK7TQ4HETRNQ X-Message-ID-Hash: PRJ6QX6GDCZYYU5FEQDNEK7TQ4HETRNQ X-MailFrom: t.lamprecht@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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