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 9D9C41FF15F for ; Mon, 4 Nov 2024 19:32:38 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2ABB712394; 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=FtgTA8Gfs924o8Emx8jSfbRha56EzeTjWMJKPseEVhA=; t=1730745162; x=1731177162; b=XeGQOMjuItwC8FCqXpdkaIiH5bhXCwXNATxWWRf/TrnyA3rEZMmSzT4gvTK1j DJfT+iATMj5Xv7YujdJLW9ueuaeJtQtsNaIdmDt6ZjCvfBouypVL74GQeyZBqikpHxy9HKMScKZZv Pt5atSrKAfybxmWc8PkAOyzNSQsnltqLAY80QoE16XmlcCfo6uuk9A1BfikcuifjNaRsZZtFAwgPj 4nniqSkgK99EF0nyPbhRDSDBcnAK96G+JoxfIubERpKjCANhawASCrmbZOhoqP3Y/x+nxGEFXF7U6 ayxK2Qq7C5OUZJ5n8hgIUIYbLxg4dFLEQEoJzCm2WOVUyduNqA==; From: Bennet Gallein To: pve-devel@lists.proxmox.com Date: Mon, 4 Nov 2024 19:32:23 +0100 Message-Id: <20241104183225.1192830-2-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-7R 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] add prune_rrd_data to destroy with purge 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 --- src/PVE/API2/LXC.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm index 213e518..6e953db 100644 --- a/src/PVE/API2/LXC.pm +++ b/src/PVE/API2/LXC.pm @@ -787,6 +787,7 @@ __PACKAGE__->register_method({ print "purging CT $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("ct:$vmid"); -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel