public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH-SERIES guest-common/qemu-server/container 0/3] fix #3229: migrate: consider node restriction for 'shared' storage
Date: Wed, 21 Jan 2026 11:51:13 +0100	[thread overview]
Message-ID: <20260121105145.47010-1-f.ebner@proxmox.com> (raw)

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


             reply	other threads:[~2026-01-21 10:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-21 10:51 Fiona Ebner [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260121105145.47010-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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