Remote Migration to Ceph Storage

Jun 9, 2025
8
1
3
I encountered an issue migrating some VMs from a standalone host to a cluster primarily using Ceph storage.

The migration would fail complaining of "no matching import/export format found" for the Ceph pool.

I re-enabled local-ZFS and was able to migrate the VMs into the cluster with that and then migrate them again within the cluster to get them into Ceph. So not the end of the world, just a minor annoyance.

Sanitized log of an attempt to migrate directly to Ceph:

Code:
2025-09-24 11:51:21 remote: started tunnel worker 'UPID:::::qmtunnel:201:root@pam!pdm-admin:'
tunnel: -> sending command "version" to remote
tunnel: <- got reply
2025-09-24 11:51:22 local WS tunnel version: 2
2025-09-24 11:51:22 remote WS tunnel version: 2
2025-09-24 11:51:22 minimum required WS tunnel version: 2
websocket tunnel started
2025-09-24 11:51:22 starting migration of VM 104 to node '' (ip)
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
2025-09-24 11:51:22 found local disk 'local-zfs:vm-104-disk-0' (attached)
2025-09-24 11:51:22 found local disk 'zfspool1:vm-104-disk-0' (attached)
2025-09-24 11:51:22 copying local disk images
tunnel: -> sending command "disk-import" to remote
tunnel: <- got reply
2025-09-24 11:51:22 ERROR: error - tunnel command '{"storage":"pool0","with_snapshots":1,"cmd":"disk-import","format":"raw","allow_rename":"1","export_formats":"zfs","volname":"vm-201-disk-0","snapshot":"__migration__","migration_snapshot":1}' failed - failed to handle 'disk-import' command - no matching import/export format found for storage 'pool0'
2025-09-24 11:51:22 aborting phase 1 - cleanup resources
tunnel: -> sending command "quit" to remote
tunnel: <- got reply
tunnel: CMD channel closed, shutting down
2025-09-24 11:51:23 ERROR: migration aborted (duration 00:00:02): error - tunnel command '{"storage":"pool0","with_snapshots":1,"cmd":"disk-import","format":"raw","allow_rename":"1","export_formats":"zfs","volname":"vm-201-disk-0","snapshot":"__migration__","migration_snapshot":1}' failed - failed to handle 'disk-import' command - no matching import/export format found for storage 'pool0'
TASK ERROR: migration aborted