I'm trying to migrate some VM's from an old server to a new one and I'm getting the following error and dispite searching, I've no idea what's going wrong.
My migrate command looks like this some values <redacted>:
The API token has all the privileges, the target host has a valid SSL cert and the VM being transfered is stopped. Full logs from the command line are below.
Anyone know what's wrong?
Code:
ERROR: migration_snapshot: type check ('boolean') failed - got ''
My migrate command looks like this some values <redacted>:
Code:
qm remote-migrate 500 500 'apitoken=PVEAPIToken=root@pam!vmtransfer=<api-key>,host=quinn2.<domain>,port=8006' --target-bridge vmbr1 --target-storage disk --bwlimit 51200
The API token has all the privileges, the target host has a valid SSL cert and the VM being transfered is stopped. Full logs from the command line are below.
Anyone know what's wrong?
Code:
Establishing API connection with remote at 'quinn2.<domain>'
2024-11-16 01:59:43 remote: started tunnel worker 'UPID:quinn2:00003A76:00093B1C:6737EE7F:qmtunnel:500:root@pam!vmtransfer:'
tunnel: -> sending command "version" to remote
tunnel: <- got reply
2024-11-16 01:59:43 local WS tunnel version: 2
2024-11-16 01:59:43 remote WS tunnel version: 2
2024-11-16 01:59:43 minimum required WS tunnel version: 2
websocket tunnel started
2024-11-16 01:59:43 starting migration of VM 500 to node 'quinn2' (quinn2.<domain>)
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
2024-11-16 01:59:43 found local disk 'data:vm-500-disk-0' (attached)
2024-11-16 01:59:43 found local disk 'data:vm-500-disk-1' (attached)
2024-11-16 01:59:43 copying local disk images
tunnel: -> sending command "disk-import" to remote
tunnel: <- got reply
2024-11-16 01:59:43 ERROR: error - tunnel command '{"cmd":"disk-import","with_snapshots":0,"export_formats":"raw+size","volname":"vm-500-disk-0","format":"raw","allow_rename":"1","storage":"data","migration_snapshot":"","snapshot":null}' failed - failed to handle 'disk-import' command - 400 Parameter verification failed.
2024-11-16 01:59:43 ERROR: migration_snapshot: type check ('boolean') failed - got ''
2024-11-16 01:59:43 aborting phase 1 - cleanup resources
tunnel: -> sending command "quit" to remote
tunnel: <- got reply
2024-11-16 01:59:44 ERROR: migration aborted (duration 00:00:01): error - tunnel command '{"cmd":"disk-import","with_snapshots":0,"export_formats":"raw+size","volname":"vm-500-disk-0","format":"raw","allow_rename":"1","storage":"data","migration_snapshot":"","snapshot":null}' failed - failed to handle 'disk-import' command - 400 Parameter verification failed.
2024-11-16 01:59:44 ERROR: migration_snapshot: type check ('boolean') failed - got ''
migration aborted