From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 75FC01FF187 for ; Mon, 3 Nov 2025 11:21:53 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 964E617B93; Mon, 3 Nov 2025 11:21:35 +0100 (CET) From: Daniel Kral To: pve-devel@lists.proxmox.com Date: Mon, 3 Nov 2025 11:20:04 +0100 Message-ID: <20251103102118.153666-21-d.kral@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251103102118.153666-1-d.kral@proxmox.com> References: <20251103102118.153666-1-d.kral@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1762165267793 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.015 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: [pve-devel] [PATCH ha-manager v3 20/21] rules: fix documentation for inter-rules checker subroutines X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Signed-off-by: Daniel Kral --- changes since v2: - NEW! src/PVE/HA/Rules.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PVE/HA/Rules.pm b/src/PVE/HA/Rules.pm index 1c7706ce..9d7f12a1 100644 --- a/src/PVE/HA/Rules.pm +++ b/src/PVE/HA/Rules.pm @@ -594,9 +594,9 @@ my $has_multiple_priorities = sub { =head3 check_single_priority_node_affinity_in_resource_affinity_rules(...) Returns all rules in C<$resource_affinity_rules> and C<$node_affinity_rules> as -a list of lists, each consisting of the rule type and resource id, where at -least one resource in a resource affinity rule are in node affinity rules, -which have multiple priority groups defined. +a list of lists, each consisting of the rule type and rule id, where at +least one resource in a resource affinity rule is in a node affinity rule, +which has multiple priority groups defined. That is, the resource affinity rule cannot be statically checked to be feasible as the selection of the priority group is dependent on the currently online @@ -666,9 +666,9 @@ __PACKAGE__->register_check( =head3 check_single_node_affinity_per_positive_resource_affinity_rule(...) Returns all rules in C<$positive_rules> and C<$node_affinity_rules> as a list of -lists, each consisting of the rule type and resource id, where one of the -resources is used in a positive resource affinity rule and more than one node -affinity rule. +lists, each item consisting of the rule type and rule id, where at least one of +the resources is used in a positive resource affinity rule and more than one +node affinity rule. If there are none, the returned list is empty. -- 2.47.3 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel