[pve-devel] [PATCH cluster/qemu-server/container 0/1] fix: #5266 - RRD cleanup when pruning

Bennet Gallein me at bennetgallein.de
Mon Nov 4 19:32:22 CET 2024


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




More information about the pve-devel mailing list