Hide Forgot
Description of problem: IPv6 migration failed error: internal error unable to execute QEMU command 'migrate': An undefined error has ocurred Version-Release number of selected component (if applicable): - libvirt-0.8.7-7.el6.x86_64 - kernel-2.6.32-113.el6.x86_64 - qemu-kvm-0.12.1.2-2.146.el6.x86_64 How reproducible: always Steps to Reproduce: 1. On both source and target host configure migration set up. 1) # getenforce Enforcing 2) # ip6tables -F 3) # mount 10.66.90.121:/vol/S3/libvirtmanual /mnt 2. Give ipv6 address for source and target host On source # ifconfig eth0 inet6 add 3ffe::100/64 On target # ifconfig eth0 inet6 add 3ffe::103/64 3. Add target ipv6 and host name to /etc/hosts on source # cat /etc/hosts 10.66.93.59 dhcp-93-59.nay.redhat.com dhcp-93-59 # Added by NetworkManager 127.0.0.1 localhost.localdomain localhost ::1 dhcp-93-59.nay.redhat.com dhcp-93-59 localhost6.localdomain6 localhost6 3ffe::103 kxiong # ping kxiong pping: unknown host kxiong # ping6 kxiong PING kxiong(kxiong) 56 data bytes 64 bytes from kxiong: icmp_seq=1 ttl=64 time=0.758 ms 64 bytes from kxiong: icmp_seq=2 ttl=64 time=0.331 ms 4. On source # virsh migrate --live rhel61_i386_8 qemu+ssh://kxiong/system root@kxiong's password: error: internal error unable to execute QEMU command 'migrate': An undefined error has ocurred Actual results: 4. failed migration with ipv6 Expected results: 4. pass migration with ipv6 Additional info: could ssh target host successfully # ssh kxiong root@kxiong's password: Last login: Thu Feb 24 15:09:45 2011 from 10.66.93.59 [root@kxiong ~]#
Created attachment 480690 [details] /var/log/libvirtd/log on source host
Does qemu itself properly support migration with IPv6? We send the following command to qemu: 03:17:53.032: 15350: debug : qemuMonitorJSONCommandWithFd:217 : Send command '{"execute":"migrate","arguments":{"detach":true,"blk":false,"inc":false,"uri":"tcp:kxiong:49156"}}' for write with FD -1 and it responds with: 03:17:53.035: 15350: debug : qemuMonitorJSONCommandWithFd:222 : Receive command reply ret=0 errno=0 92 bytes '{"error": {"class": "UndefinedError", "desc": "An undefined error has ocurred", "data": {}}}' Also, is there any useful line in /var/log/libvirt/qemu/rhel61_i386_8.log on the source host? (it would be anything from the final qemu commandline to the end of the file?) Finally, can you see from wireshark/tcpdump whether or not the source even tries to contact the destination?
According to bug 680356, qemu haven't support ipv6 migration yet.
Since qemu doesn't yet support ipv6 migration, it's currently not clear what, if anything, libvirt will need to do to support ipv6 migration.
(In reply to comment #7) > Since qemu doesn't yet support ipv6 migration, it's currently not clear what, > if anything, libvirt will need to do to support ipv6 migration. Closing as CANTFIX.