I've found that with IPv6 enabled in Proxmox 4.1 I can no longer migrate VMs within the cluster
Jan 27 11:37:51 starting migration of VM 103 to node 'PMX-node-I' (2607:xxxx:xxxx:x::35)
Jan 27 11:37:51 copying disk images
ssh: connect to host 2607 port 22: Invalid argument
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
Jan 27 11:37:51 ERROR: Failed to sync data - command '/usr/bin/rsync --progress --sparse --whole-file /var/lib/vz/images/103/vm-103-disk-1.raw root@2607:xxxx:xxxx:x::35:/var/lib/vz/images/103/vm-103-disk-1.raw' failed: exit code 255
Jan 27 11:37:51 aborting phase 1 - cleanup resources
Jan 27 11:37:51 ERROR: found stale volume copy 'local:103/vm-103-disk-1.raw' on node 'PMX-72-I'
Jan 27 11:37:51 ERROR: migration aborted (duration 00:00:00): Failed to sync data - command '/usr/bin/rsync --progress --sparse --whole-file /var/lib/vz/images/103/vm-103-disk-1.raw root@2607:xxxx:xxxx:x::35:/var/lib/vz/images/103/vm-103-disk-1.raw' failed: exit code 255
TASK ERROR: migration aborted
I believe the error is with how the server is trying to perform it's sync with rsync. Just like scp the command should be root@[ipv6 address]:/var/lib/vz/images/vm number/vm virtual disk name.raw or .qcow2 or whatever. In other words, the ipv6 address needs brackets when you are going to add the colon at the end with the filesystem location data.
Would someone be able to tell me how to fix this if it's possible without a patch from proxmox so that my migrations can happen as they should? Is there an internal file that needs to be modified to make this work properly?
Jan 27 11:37:51 starting migration of VM 103 to node 'PMX-node-I' (2607:xxxx:xxxx:x::35)
Jan 27 11:37:51 copying disk images
ssh: connect to host 2607 port 22: Invalid argument
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]
Jan 27 11:37:51 ERROR: Failed to sync data - command '/usr/bin/rsync --progress --sparse --whole-file /var/lib/vz/images/103/vm-103-disk-1.raw root@2607:xxxx:xxxx:x::35:/var/lib/vz/images/103/vm-103-disk-1.raw' failed: exit code 255
Jan 27 11:37:51 aborting phase 1 - cleanup resources
Jan 27 11:37:51 ERROR: found stale volume copy 'local:103/vm-103-disk-1.raw' on node 'PMX-72-I'
Jan 27 11:37:51 ERROR: migration aborted (duration 00:00:00): Failed to sync data - command '/usr/bin/rsync --progress --sparse --whole-file /var/lib/vz/images/103/vm-103-disk-1.raw root@2607:xxxx:xxxx:x::35:/var/lib/vz/images/103/vm-103-disk-1.raw' failed: exit code 255
TASK ERROR: migration aborted
I believe the error is with how the server is trying to perform it's sync with rsync. Just like scp the command should be root@[ipv6 address]:/var/lib/vz/images/vm number/vm virtual disk name.raw or .qcow2 or whatever. In other words, the ipv6 address needs brackets when you are going to add the colon at the end with the filesystem location data.
Would someone be able to tell me how to fix this if it's possible without a patch from proxmox so that my migrations can happen as they should? Is there an internal file that needs to be modified to make this work properly?