Previously, volumes on a storage with the 'shared' marker were assumed to not need storage migration and migration would fail when checking for storage availability on the target. But if a storage with a 'shared' marker has node restrictions, this is wrong. Fix the issue by checking whether a storage with the 'shared' marker is actually available on the target node and otherwise properly consider the volume a local volume.
A new map_storage() helper does apply the mapping also for shared storages if they are not configured for the target node. Package dependencies: qemu-server depends and build-depends on new libpve-guest-common-perl pve-container depends on new libpve-guest-common-perl guest-common: Fiona Ebner (1): abstract migrate: add map_storage() helper src/PVE/AbstractMigrate.pm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) qemu-server: Fiona Ebner (1): fix #3229: migrate: consider node restriction for 'shared' storage src/PVE/QemuMigrate.pm | 14 +++----------- src/PVE/QemuServer.pm | 6 +++++- 2 files changed, 8 insertions(+), 12 deletions(-) container: Fiona Ebner (1): fix #3229: migrate: consider node restriction for 'shared' storage src/PVE/LXC/Migrate.pm | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) Summary over all repositories: 4 files changed, 32 insertions(+), 27 deletions(-) -- Generated by git-murpp 0.5.0 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
