Because volumes were not activated early for offline migration,
getting the size and as a consequence the format would not work for
qcow2 on LVM. But migration also continued and not having the format
would lead to the 'with-snapshots' parameter not being set, despite
the format being qcow2 and so the migration would wrongly continue
with raw+size as the stream format. If 'with-snapshots' were set, the
plugin would correctly report that there is no possible transfer
format (the same restriction is present in file-based storages with
snapshot-as-volume-chain).
Fix the issue by activating the volumes early, as well as failing when
the size and format cannot be determined as an additional guardrail.
What could still be implemented is migrating as qcow2+size when there
actually are no snapshots.
qemu-server:
Fiona Ebner (2):
migration: local volume: abort early when size or format cannot be
determined
migration: local volume: activate for querying the size (required for
qcow2 on LVM)
src/PVE/QemuMigrate.pm | 6 ++++++
1 file changed, 6 insertions(+)
Summary over all repositories:
1 files changed, 6 insertions(+), 0 deletions(-)
--
Generated by git-murpp 0.5.0