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 0255C1FF15F for ; Mon, 4 Nov 2024 19:33:07 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4EB5012428; Mon, 4 Nov 2024 19:33:16 +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: 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=/qLvLzoRQwPqex3nZJNdo7nExGiVGotRaZK6wJ0LGQI=; t=1730745162; x=1731177162; b=Y4n3/BD8geuDl0aojmB0CfcBi2fRM0cV+GM+ZkU3MvBihPok1IfCbTbi+3ejmgh/LD1ttbWRf3 3r0d4e42WzW7HrbipZA8Lwd0g6usppef1rRYYcgXW6sjoiRzy1DECkrJJdIUDnCD+PQzeGlhJREH8 wqTqd77MVoJXroxBwkzfj4JVHCiEmgmvWyCglJLfyyMDymn1+XKvlNZVyf+PzAMOGshlCxiA2iFat o6/DPsejiNObY1hTgYOazrNJWxHjZUsxDL0B13TmSEKj1aQA6DcENuVYoJfJe2X6pVeoUN637j3r/ l5a3F8uW007VnFF43P3j0tL05gwVNKsNy9PXQ==; From: Bennet Gallein To: pve-devel@lists.proxmox.com Date: Mon, 4 Nov 2024 19:32:22 +0100 Message-Id: <20241104183225.1192830-1-me@bennetgallein.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-bounce-key: webpack.hosteurope.de;me@bennetgallein.de;1730745162;4645ee53; X-HE-SMSGID: 1t81sM-00052N-3k 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 0/1] fix: #5266 - RRD cleanup when pruning 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" currently, when removing a VM and recreating it, the rdd data from the previous VMID gets displayed in the API / GUI. This is confusing for short-living VMs which get redeployed on a regular basis. This patch adds a prune_rrd_data sub to the pve-cluster package, which also holds the subs for creating and getting data from rrd databases. The new function is then called in qemu-server and pve-container if the destroy API is called with the purge parameter set. I am new to this git mail stuff, so forgive me any errors. Bennet Gallein (1): add prune_rrd_data to destroy with purge src/PVE/API2/LXC.pm | 1 + 1 file changed, 1 insertion(+) -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel