RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 680053 - IPv6 migration failed 'An undefined error has ocurred'
Summary: IPv6 migration failed 'An undefined error has ocurred'
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Laine Stump
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 680356
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-24 08:53 UTC by zhanghaiyan
Modified: 2011-06-21 03:25 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 03:25:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/var/log/libvirtd/log on source host (1019.88 KB, application/octet-stream)
2011-02-24 08:55 UTC, zhanghaiyan
no flags Details

Description zhanghaiyan 2011-02-24 08:53:04 UTC
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 ~]#

Comment 1 zhanghaiyan 2011-02-24 08:55:15 UTC
Created attachment 480690 [details]
/var/log/libvirtd/log on source host

Comment 4 Laine Stump 2011-04-14 15:47:36 UTC
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?

Comment 5 zhanghaiyan 2011-04-15 02:24:14 UTC
According to bug 680356, qemu haven't support ipv6 migration yet.

Comment 7 Laine Stump 2011-06-02 20:44:17 UTC
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.

Comment 8 Dave Allan 2011-06-21 03:25:38 UTC
(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.


Note You need to log in before you can comment on or make changes to this bug.