Comment 16 for bug 1192499

Revision history for this message
chandrashekar shastri (cshastri) wrote : Re: [Bug 1192499] Re: virsh migration copy-storage-all fails with "Unable to read from monitor: Connection reset by peer"

On 07/05/2013 01:52 PM, Stefan Hajnoczi wrote:
> The destination VM's log says:
>
> qemu: warning: error while loading state section id 1
>
> This indicates that either there was an error on the destination while
> loading state or the migration stream got out of sync.
>
> Please check that QEMU on source and destination are identical. If you
> are running different versions of QEMU on source and destination this
> could be the cause.
>
> Try with qemu.git/master and a simple QEMU command-line (without
> libvirt):
>
> qemu-system-x86_64 -machine pc-i440fx-1.5,accel=kvm -m 4000 \
> -drive file=/home/images/rhel64-64.qcow2,if=ide,format=qcow2,cache=none
>
> Use the same command-line on the destination but also add "-incoming
> tcp::1234". To start the migrate on the source, run "migrate -b tcp
> :<destination-ip>:1234" in the QEMU monitor.
I tried this "migrate -b tcp :<destination-ip>:1234" comes out and gives
me the qemu prompt [ I mean it doesn't wait till the migration
completes] and also on the destination the image is not growing, the
status shows paused.

~Shastri
>
> If the failure can be reproduce on qemu.git/master in this way it will
> be easier to debug.
>
> I will be away next week and therefore unable to look into this more.
>