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 C9D731FF15F for ; Mon, 4 Nov 2024 19:32:42 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 96572123B4; Mon, 4 Nov 2024 19:32:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bennetgallein.de; s=he217959; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:From:Sender: Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:In-Reply-To: References; bh=cz+iGtn1wm3k8j10Eu/HVCS9LCc+p2t8I9cey/n698E=; t=1730745162; x=1731177162; b=QSBhLmp7k+0lEtm/ze21kVO0EAcAPfQ4GBw6bR/nqa12whfjzTmw4au2Djmcc QURtO9bFfFqCmCDBRrqlafcarrgC0uDEfTO8I6C6DbM5yN7JsMFuGXFkOKhuEZ+KLBF0NVAYx5GTq luHt+icgtb2CRswDBLgGtlerUjo2RsRVcOWMJNLF3xHQYOUZ44XTh+7tXajfJvhQ/NvEmzVeRtpS9 45IVHSbZHS2HmNeKDR5xvy9FyVn8c8NFHJCeGSSLS8pf5Fp6TmgnBW1f5lOXRj3DKzY/2Nhglu/f4 87NFk/nd63gb65hbFH1GxflBTCyG5bUhPZ9EWm9/gWzswp/p/g==; From: Bennet Gallein To: pve-devel@lists.proxmox.com Date: Mon, 4 Nov 2024 19:32:25 +0100 Message-Id: <20241104183225.1192830-4-me@bennetgallein.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241104183225.1192830-1-me@bennetgallein.de> References: <20241104183225.1192830-1-me@bennetgallein.de> MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;me@bennetgallein.de;1730745162;4645ee53; X-HE-SMSGID: 1t81sM-00052N-FG X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_MISSING 0.1 Missing DMARC policy 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 cluster/qemu-server/container 1/1] integrate prune_rrd_data function to destroy with prune 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: Bennet Gallein --- PVE/API2/Qemu.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm index 848001b6..b70c51e7 100644 --- a/PVE/API2/Qemu.pm +++ b/PVE/API2/Qemu.pm @@ -2328,6 +2328,7 @@ __PACKAGE__->register_method({ print "purging VM $vmid from related configurations..\n"; PVE::ReplicationConfig::remove_vmid_jobs($vmid); PVE::VZDump::Plugin::remove_vmid_from_backup_jobs($vmid); + PVE::RRD::purge_rrd_data("pve2-vm/$vmid"); if ($ha_managed) { PVE::HA::Config::delete_service_from_config("vm:$vmid"); -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel