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 CB18A1FF185 for ; Mon, 17 Nov 2025 22:28:28 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 562835822; Mon, 17 Nov 2025 22:28:32 +0100 (CET) From: Thomas Lamprecht To: pve-devel@lists.proxmox.com, Daniel Kral Date: Mon, 17 Nov 2025 22:27:51 +0100 Message-ID: <176341486910.4177631.13005279348956316320.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20251110143627.365434-6-d.kral@proxmox.com> References: <20251110143627.365434-1-d.kral@proxmox.com> <20251110143627.365434-6-d.kral@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1763414850023 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.023 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] applied: [PATCH container 1/1] api: create_vm: use ha-manager command to add container as an HA resource 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" On Mon, 10 Nov 2025 15:36:20 +0100, Daniel Kral wrote: > PVE::API2::HA::Resources is not imported through a use statement here, > so `pct create ... --ha-managed 1` will not add the container as an HA > resource. > > Replace the direct API call with a 'ha-manager' invocation as we don't > seem to import API modules from other packages except in pve-manager and > use the 'ha-manager' command at other call sites already. > > [...] Applied, thanks! [1/1] api: create_vm: use ha-manager command to add container as an HA resource commit: 49177d0dad146863e3c407f2c23d9180bb91767d _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel