From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <pve-devel-bounces@lists.proxmox.com> Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id EE6621FF16B for <inbox@lore.proxmox.com>; Thu, 3 Apr 2025 14:27:30 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 181C93F422; Thu, 3 Apr 2025 14:27:18 +0200 (CEST) Date: Thu, 03 Apr 2025 14:26:34 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= <f.gruenbichler@proxmox.com> To: "DERUMIER, Alexandre" <alexandre.derumier@groupe-cyllene.com>, Proxmox VE development discussion <pve-devel@lists.proxmox.com> References: <20250325151254.193177-1-d.kral@proxmox.com> <50c71b96d6cd509783b51c7ad87b94ff200ad78e.camel@groupe-cyllene.com> <498c09ec-662b-451b-a4a8-0aa51bb575df@proxmox.com> In-Reply-To: <498c09ec-662b-451b-a4a8-0aa51bb575df@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1743682727.gqgq32pn8x.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.046 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [RFC cluster/ha-manager 00/16] HA colocation rules X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/> List-Post: <mailto:pve-devel@lists.proxmox.com> List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe> Reply-To: Proxmox VE development discussion <pve-devel@lists.proxmox.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" <pve-devel-bounces@lists.proxmox.com> On April 1, 2025 11:39 am, Daniel Kral wrote: > On 4/1/25 03:50, DERUMIER, Alexandre wrote: >> Small feature request from students && customers: they are a lot >> asking to be able to use vm tags in the colocation/affinity > > Good idea! We were thinking about this too and I forgot to add it to the > list, thanks for bringing it up again! > > Yes, the idea would be to make pools and tags available as selectors for > rules here, so that the changes can be made rather dynamic by just > adding a tag to a service. > > The only thing we have to consider here is that HA rules have some > verification phase and invalid rules will be dropped or modified to make > them applicable. Also these external changes must be identified somehow > in the HA stack, as I want to keep the amount of runs through the > verification code to a minimum, i.e. only when the configuration is > changed by the user. But that will be a discussion for another series ;). something to also consider is HA permissions: https://bugzilla.proxmox.com/show_bug.cgi?id=4597 e.g., who is supposed to define (affinity or other) rules, who sees them, what if there are conflicts, .. what about conflicting requests? let's say we have a set of 5 VMs that should run on the same node, but one is requested to be migrated to node A, and a second one to node B? if a user doesn't see the rules for lack of privileges this could get rather confusing behaviour wise in the end? what about things like VMs X and Y needing to run together, but Z not being allowed to run together with Y, and user A that only "sees" X requesting X to be migrated to the node where Z is currently running? _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel