Hide Forgot
Description of problem: Tunnelled migrate fail with error 'internal error unknown migration protocol'. Version-Release number of selected component (if applicable): libvirt-0.8.7-3.el6.x86_64 qemu-kvm-0.12.1.2-2.129.el6.x86_64 qemu-img-0.12.1.2-2.129.el6.x86_64 kernel-2.6.32-94.el6.x86_64 How reproducible: 5/5 Steps to Reproduce: 1.Run that commands on source and target host. # iptables -F # setenforce 0 2.Creating your local public key pair (by running "ssh-keygen -t rsa ", just give the default answer to the request questions). #ssh-keygen -t rsa 3.Copying the public key to a remote host by "$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@somehost ". #ssh-copy-id -i ~/.ssh/id_rsa.pub root@somehost 4.mount nfs storage on source and target host 5.On source host. # virsh migrate --tunnelled --p2p --live vm2 qemu+ssh://10.66.93.39/system error: internal error unknown migration protocol 6.#cat /var/log/libvirt/qemu/vm2.log .................................... 2011-01-24 11:02:56.136: starting up LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -S -M rhel6.0.0 -enable-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -name vm2 -uuid 21281ced-a055-bfac-1fbb-302c0839d008 -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/vm2.monitor,server,nowait -mon chardev=monitor,mode=control -rtc base=utc -boot c -drive file=/mnt/rhel6.img,if=none,id=drive-ide0-0-0,format=raw,cache=none -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=21,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:7e:c0:ce,bus=pci.0,addr=0x3 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 127.0.0.1:1 -k en-us -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4 char device redirected to /dev/pts/3 Actual results: Tunnelled migrate fail with error 'internal error unknown migration protocol'. Expected results: Tunnelled migrate should be successfully.
patch posted to upstream: http://www.redhat.com/archives/libvir-list/2011-January/msg01258.html
Regression caused during my resolution of bug 620363 - only affects 0.8.7-2.el6 onwards
http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-February/msg00018.html patch posted internally.
Verify pass on libvirt-0.8.7-6.el6.x86_64 qemu-kvm-0.12.1.2-2.144.el6.x86_64 kernel-2.6.32-113.el6.x86_64 Tunnelled p2p migration can be finished successfully with no error
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html