[pve-devel] [PATCH-SERIES rrd-migration-tool 0/2] migrate nodes: fix handling nonexistent nodes
Fiona Ebner
f.ebner at proxmox.com
Fri Aug 1 15:54:27 CEST 2025
Use the correct path when skipping a nonexistent node. Before this
series, the presence of a nonexistent node would lead to a failure:
> Error migrating nodes: Not a directory (os error 20)
That is because the path would have a duplicate node name attached,
for example:
> /var/lib/rrdcached/db/pve2-node/nonexistent/nonexistent
Fixing that alone is not enough, there also was a 'continue' missing
to avoid calling do_rrd_migration() with the old node, i.e. to
actually skip it.
Fiona Ebner (2):
d/control: record librust-pretty-assertions-dev build dependency
migrate nodes: fix handling nonexistent nodes
debian/control | 1 +
src/main.rs | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
--
2.47.2
More information about the pve-devel
mailing list