public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH-SERIES guest-common/qemu-server/container 0/3] fix #3229: migrate: consider node restriction for 'shared' storage
@ 2026-01-21 10:51 Fiona Ebner
  2026-01-21 10:51 ` [pve-devel] [PATCH guest-common 1/3] abstract migrate: add map_storage() helper Fiona Ebner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fiona Ebner @ 2026-01-21 10:51 UTC (permalink / raw)
  To: pve-devel

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
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-21 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-21 10:51 [pve-devel] [PATCH-SERIES guest-common/qemu-server/container 0/3] fix #3229: migrate: consider node restriction for 'shared' storage Fiona Ebner
2026-01-21 10:51 ` [pve-devel] [PATCH guest-common 1/3] abstract migrate: add map_storage() helper Fiona Ebner
2026-01-21 10:51 ` [pve-devel] [PATCH qemu-server 2/3] fix #3229: migrate: consider node restriction for 'shared' storage Fiona Ebner
2026-01-21 10:51 ` [pve-devel] [PATCH container 3/3] " Fiona Ebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal