After being advised to use the remote-migration feature to keep QEMU and LXC templates in sync between our three clusters, I have implemented additional remote-migration tasks in our Ansible playbook which is already capable of creating and deploying the OS templates within our primary cluster.
Our two main clusters use identical Ceph Storage, remote-migration works well here.
Mild issue: after the remote-migration the source VM stays locked with state "migration" as I am supplying "--delete 0" parameter because the template should be copied to the other clusters without being removed.
Big issue: When targeting our third cluster, which does not have Ceph Storage but local ZFS storage in each node, I encounter the following error.
ERROR: error - tunnel command '{"export_formats":"raw+size","migration_snapshot":0,"cmd":"disk-import","allow_rename":"1","format":"raw","storage":"zfs-hdd","volname":"base-200-disk-0","with_snapshots":0}' failed - failed to handle 'disk-import' command - no matching import/export format found for storage 'zfs-hdd'
After some research I found this post from 2023:
Hi,
is the source VM's storage also ZFS? Unfortunately, offline disk migration to/from ZFS is only implemented from/to ZFS at the moment. As a workaround, you can try to migrate the VM while it is running (assuming the disk is attached to the VM).
> Unfortunately, offline disk migration to/from ZFS is only implemented from/to ZFS at the moment.
Is this still the case, am I basically stranded here with a half-working concept? ![]()























