Bug 694196
Summary: | RHEL 6.1 qemu-kvm: Specifying ipv6 addresses breaks migration | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Lucas Meneghel Rodrigues <lmr> |
Component: | qemu-kvm | Assignee: | Juan Quintela <quintela> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1 | CC: | akong, areis, bcao, ehabkost, juzhang, mkenneth, mshao, tburke, virt-maint |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.156.el6 | Doc Type: | Bug Fix |
Doc Text: |
[NOTE: it is a fix to a bug introduced after 6.0 so the bug was never present on a RHEL release]
Cause: getaddrinfo() changes introduced in the migration code post-RHEL-6.0were incomplete.
Consequence: using a IPv6 address as migration target (e.g. if 'localhost' has an IPv6 address on /etc/hosts) could fail.
Fix: getaddrinfo() changes reverted to the RHEL 6.0 code (that doesn't have the ability to do live migration through IPv6).
Result: migration to 'localhost' will use the IPv4 address even if it had an associated IPv6 address in addition to IPv4 addresses, making migration work again.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 11:22:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lucas Meneghel Rodrigues
2011-04-06 17:33:54 UTC
It is important to note that this is a regression from RHEL 6.0. No such problem happens under 6.0. Correction - on the steps, where I wrote 04/06 08:10:18 DEBUG|kvm_monito:0243| (human monitor humanmonitor1) - cmd 'migrate -d tcp:localhost4:5200' Should be 04/06 08:10:18 DEBUG|kvm_monito:0243| (human monitor humanmonitor1) - cmd 'migrate -d tcp:localhost:5200' cut and paste and rushing... sorry. (In reply to comment #1) > It is important to note that this is a regression from RHEL 6.0. No such > problem happens under 6.0. FYI.I think this one is dup of Bug #680356 # cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 The patch include ipv6 support .but "localhost" was used both on ipv4 address (127.0.0.1 localhost)and ipv6 address(::1 localhost) in /etc/hosts .When we use localhost in migration,qemu-kvm parsed to ipv6 address ,it should be same as I tested in bug 680356 which is failedQA . same thing happened if we add a alias in /etc/hosts on both ipv4 and ipv6 at the same time ,it also failed. eg: # cat /etc/hosts ::1 mike 127.0.0.1 mike then (qemu)migrate -d tcp:mike:5888 ,it also failed. workaround : change /etc/hosts to # cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost_TT localhost.localdomain localhost6 localhost6.localdomain6 then (qemi) migrate -d tcp:localhost:5888 ,it will work fine Reproduced the issue described in qemu-kvm-0.12.1.2-2.154.el6. Verified this issue on qemu-kvm-0.12.1.2-2.156.el6 steps: 1.start VM 2.start listening port at the same host 3(qemu) migrate -d tcp:localhost:5888 Actual Results: with qemu-kvm-0.12.1.2-2.154.el6 ,migrate failed with qemu-kvm-0.12.1.2-2.156.el6 ,migrate success Based on above ,this issue has been fixed. (In reply to comment #7) > (In reply to comment #1) > > It is important to note that this is a regression from RHEL 6.0. No such > > problem happens under 6.0. > > FYI.I think this one is dup of Bug #680356 It is not a duplicate, it is a regression caused by the fix to Bug #680356 (that was reverted now). Bug #680356 is about not having any ipv6 support, this one was about a problem found after we have added ipv6 support. Base on comment #8 ,change status to VERIFIED. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: [NOTE: it is a fix to a bug introduced after 6.0 so the bug was never present on a RHEL release] Cause: getaddrinfo() changes introduced in the migration code post-RHEL-6.0were incomplete. Consequence: using a IPv6 address as migration target (e.g. if 'localhost' has an IPv6 address on /etc/hosts) could fail. Fix: getaddrinfo() changes reverted to the RHEL 6.0 code (that doesn't have the ability to do live migration through IPv6). Result: migration to 'localhost' will use the IPv4 address even if it had an associated IPv6 address in addition to IPv4 addresses, making migration work again. 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/RHSA-2011-0534.html 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/RHSA-2011-0534.html |