From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id A8E7F1FF185 for ; Mon, 17 Nov 2025 18:21:52 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 778ABD7D; Mon, 17 Nov 2025 18:21:53 +0100 (CET) From: Daniel Kral To: pve-devel@lists.proxmox.com Date: Mon, 17 Nov 2025 18:21:00 +0100 Message-ID: <20251117172147.533969-2-d.kral@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251117172147.533969-1-d.kral@proxmox.com> References: <20251117172147.533969-1-d.kral@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1763400081271 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 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [hardware.pm] Subject: [pve-devel] [PATCH ha-manager 1/7] sim: hardware: remove service default groups 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" These groups are not enforced unless these are explicitly defined in the HA group config, but even then it would be rather unexpected for users if they haven't explicitly provided that information in the first place. Furthermore these are neither used in test cases nor displayed or modifiable in the pve-ha-simulator, so remove them. Signed-off-by: Daniel Kral --- src/PVE/HA/Sim/Hardware.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PVE/HA/Sim/Hardware.pm b/src/PVE/HA/Sim/Hardware.pm index 688277df..fd119beb 100644 --- a/src/PVE/HA/Sim/Hardware.pm +++ b/src/PVE/HA/Sim/Hardware.pm @@ -456,12 +456,12 @@ sub new { copy("$testdir/service_config", "$statusdir/service_config"); } else { my $conf = { - 'vm:101' => { node => 'node1', group => 'prefer_node1' }, - 'vm:102' => { node => 'node2', group => 'prefer_node2' }, - 'vm:103' => { node => 'node3', group => 'prefer_node3' }, - 'vm:104' => { node => 'node1', group => 'prefer_node1' }, - 'vm:105' => { node => 'node2', group => 'prefer_node2' }, - 'vm:106' => { node => 'node3', group => 'prefer_node3' }, + 'vm:101' => { node => 'node1' }, + 'vm:102' => { node => 'node2' }, + 'vm:103' => { node => 'node3' }, + 'vm:104' => { node => 'node1' }, + 'vm:105' => { node => 'node2' }, + 'vm:106' => { node => 'node3' }, }; $self->write_service_config($conf); } -- 2.47.3 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel