Bug 1347389
| Summary: | backport parameter migration_host in qemu.conf for RHEL6 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Andreas Karis <akaris> |
| Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> |
| Status: | CLOSED ERRATA | QA Contact: | yafu <yafu> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.8 | CC: | alex.pross, bhaubeck, cjt, jdenemar, rbalakri, sgordon, sherold, vcojot, xuzhang, yafu, yalzhang |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.10.2-62.el6 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-21 10:40:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1269194, 1359965 | ||
|
Description
Andreas Karis
2016-06-16 16:59:48 UTC
Verify with libvirt-0.10.2-62.el6.x86_64. 0.Prepare two hosts and the target host have two cards:nic1, nic2 Scenario 1: Set migration_host with right nic2 IPv4 address: 1.Set the migration_host in the target host qemu.conf and restart libvirtd service: migration_host="nic2's IP" 2.Use tcpdump to monitor the migration data in the source host: #tcpdump -i eth0 | grep "nic2's IP" 3.Open another terminal to do migration: #virsh migrate rhel6.8 qemu+ssh://IP-nic1/system --live --verbose 4.Check the output in step3, could see the migration data is used nic2 on the target host. Scenario 2: Set migration_host with right nic2 IPv6 address: 1.Set the migration_host in the target host qemu.conf and restart libvirtd service: migration_host="[2620:52:0:4982:9657:a5ff:fe5b:2864]" 2.Use tcpdump to monitor the migration data in the source host: #tcpdump -i eth0 | grep "2620:52:0:4982:9657:a5ff:fe5b:2864" 3.Open another terminal to do migration: #virsh migrate rhel6.8 qemu+ssh://IP-nic1/system --live --verbose 4.Check the output in step3, could see the migration data is used ipv6 address of nic2 on the target host. Scenario 3:Set migration_host with invalid IP address: 1.Set the migration_host in the target host qemu.conf with invalid value and restart libvirtd service: migration_host=" " 2.Do migration: # virsh migrate r6 --live --verbose qemu+ssh://IP-nic1/system root.4.148's password: error: unable to connect to server at '(null):49152': Connection refused Also test setting migration_host with p2p tunnelled migration, and the migration_host will be ignored, since p2p tunnelled migration does not support migration_host setting. The customer rebooted a regression in the fix: the fix for the dedicated network interface for nova / virsh live migration is working on the first view but not on the second with the standard nova.conf line for live_migration_flag it´s working smoothly, but with the live_migration_flags as set here on our systems for the unsuspended live migration: "live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE,VIR_MIGRATE_TUNNELLED" it is not choosing the interface configured via "migration_host" in the qemu.conf after applying the patch. with this line in the nova.conf: live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER it has chosen the dedicated interface for the migration traffic, but suspended the virtual macheine during the migration, what is unacceptable for this enviroment / our workload. NVM, this of course only works when the VIR_MIGRATE_TUNNELLED flag is **not** set Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2017-0682.html |