Hello everybody,
This might be an old topic but I have a cluster (master + 3 nodes) and migrating between nodes is not working.
Have to specify that all storage is local for each node.
This is the error message I'm getting:
Task viewer: VM 3016 - Migrate (proxmox-worker1 ---> proxmox-worker3)
OutputStatus
2020-03-04 17:29:17 use dedicated network address for sending migration traffic (10.40.146.13)
2020-03-04 17:29:17 starting migration of VM 3016 to node 'proxmox-worker3' (10.40.146.13)
2020-03-04 17:29:18 found local disk 'storage-nitro:3016/vm-3016-disk-0.qcow2' (via storage)
2020-03-04 17:29:18 found local disk 'storage-worker1:3016/vm-3016-disk-0.qcow2' (in current VM config)
2020-03-04 17:29:18 found local disk 'storage-worker2:3016/vm-3016-disk-0.qcow2' (via storage)
2020-03-04 17:29:18 found local disk 'storage-worker3:3016/vm-3016-disk-0.qcow2' (via storage)
2020-03-04 17:29:19 copying local disk images
cannot import format raw+size into a file of format qcow2
qemu-img: /dev/stdout: error while converting raw: Could not resize file: Invalid argument
command 'qemu-img convert -f qcow2 -O raw /storage-nitro/images/3016/vm-3016-disk-0.qcow2 /dev/stdout' failed: exit code 1
send/receive failed, cleaning up snapshot(s)..
2020-03-04 17:29:19 ERROR: Failed to sync data - command 'set -o pipefail && pvesm export storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=proxmox-worker3' root@10.40.146.13 -- pvesm import storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0' failed: exit code 255
2020-03-04 17:29:19 aborting phase 1 - cleanup resources
2020-03-04 17:29:19 ERROR: found stale volume copy 'storage-worker3:3016/vm-3016-disk-0.qcow2' on node 'proxmox-worker3'
2020-03-04 17:29:19 ERROR: migration aborted (duration 00:00:02): Failed to sync data - command 'set -o pipefail && pvesm export storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=proxmox-worker3' root@10.40.146.13 -- pvesm import storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0' failed: exit code 255
TASK ERROR: migration aborted
Any ideas?
Also when I want to create a VM on a node using a template stored on a different node I get an error "Node proxmox-worker3 is not allowed for this action"
If needed I can provide any configs - but just help me with the commands / files outputs, as I'm no expert.
Thanks!
This might be an old topic but I have a cluster (master + 3 nodes) and migrating between nodes is not working.
Have to specify that all storage is local for each node.
This is the error message I'm getting:
Task viewer: VM 3016 - Migrate (proxmox-worker1 ---> proxmox-worker3)
OutputStatus
2020-03-04 17:29:17 use dedicated network address for sending migration traffic (10.40.146.13)
2020-03-04 17:29:17 starting migration of VM 3016 to node 'proxmox-worker3' (10.40.146.13)
2020-03-04 17:29:18 found local disk 'storage-nitro:3016/vm-3016-disk-0.qcow2' (via storage)
2020-03-04 17:29:18 found local disk 'storage-worker1:3016/vm-3016-disk-0.qcow2' (in current VM config)
2020-03-04 17:29:18 found local disk 'storage-worker2:3016/vm-3016-disk-0.qcow2' (via storage)
2020-03-04 17:29:18 found local disk 'storage-worker3:3016/vm-3016-disk-0.qcow2' (via storage)
2020-03-04 17:29:19 copying local disk images
cannot import format raw+size into a file of format qcow2
qemu-img: /dev/stdout: error while converting raw: Could not resize file: Invalid argument
command 'qemu-img convert -f qcow2 -O raw /storage-nitro/images/3016/vm-3016-disk-0.qcow2 /dev/stdout' failed: exit code 1
send/receive failed, cleaning up snapshot(s)..
2020-03-04 17:29:19 ERROR: Failed to sync data - command 'set -o pipefail && pvesm export storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=proxmox-worker3' root@10.40.146.13 -- pvesm import storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0' failed: exit code 255
2020-03-04 17:29:19 aborting phase 1 - cleanup resources
2020-03-04 17:29:19 ERROR: found stale volume copy 'storage-worker3:3016/vm-3016-disk-0.qcow2' on node 'proxmox-worker3'
2020-03-04 17:29:19 ERROR: migration aborted (duration 00:00:02): Failed to sync data - command 'set -o pipefail && pvesm export storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0 | /usr/bin/ssh -e none -o 'BatchMode=yes' -o 'HostKeyAlias=proxmox-worker3' root@10.40.146.13 -- pvesm import storage-worker3:3016/vm-3016-disk-0.qcow2 raw+size - -with-snapshots 0' failed: exit code 255
TASK ERROR: migration aborted
Any ideas?
Also when I want to create a VM on a node using a template stored on a different node I get an error "Node proxmox-worker3 is not allowed for this action"
If needed I can provide any configs - but just help me with the commands / files outputs, as I'm no expert.
Thanks!