[pve-devel] [PATCH pve-cluster 1/1] pmxcfs: remove legacy ipam db and mac cache files

Stefan Hanreich s.hanreich at proxmox.com
Fri Aug 1 14:10:25 CEST 2025


Those files get migrated with pve-network >= 0.9.9 - so we do not need
to observe them anymore via pmxcfs.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 src/PVE/Cluster.pm  | 2 --
 src/pmxcfs/status.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/src/PVE/Cluster.pm b/src/PVE/Cluster.pm
index 9380241..e829687 100644
--- a/src/PVE/Cluster.pm
+++ b/src/PVE/Cluster.pm
@@ -61,8 +61,6 @@ my $observed = {
     'priv/tfa.cfg' => 1,
     'priv/token.cfg' => 1,
     'priv/acme/plugins.cfg' => 1,
-    'priv/ipam.db' => 1, # TODO: replaced by sdn/ipam-pve-db.json, remove in PVE 9+
-    'priv/macs.db' => 1, # TODO: replaced by sdn/mac-cache.json, remove in PVE 9+
     '/qemu-server/' => 1,
     '/openvz/' => 1,
     '/lxc/' => 1,
diff --git a/src/pmxcfs/status.c b/src/pmxcfs/status.c
index a00e793..d07ab33 100644
--- a/src/pmxcfs/status.c
+++ b/src/pmxcfs/status.c
@@ -88,8 +88,6 @@ static memdb_change_t memdb_change_array[] = {
     {.path = "priv/acme/plugins.cfg"},
     {.path = "priv/tfa.cfg"},
     {.path = "priv/token.cfg"},
-    {.path = "priv/ipam.db"}, // TODO: replaced by sdn/ipam-pve-db.json remove with PVE 9 or later
-    {.path = "priv/macs.db"}, // TODO: replaced by sdn/mac-cache.json remove with PVE 9 or later
     {.path = "datacenter.cfg"},
     {.path = "vzdump.cron"},
     {.path = "vzdump.conf"},
-- 
2.47.2




More information about the pve-devel mailing list