Bug 1817965
Summary: | Live post-copy migration of the vm with failover VF device fails. | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Yanghang Liu <yanghliu> |
Component: | qemu-kvm | Assignee: | Laurent Vivier <lvivier> |
qemu-kvm sub component: | Live Migration | QA Contact: | Yanhui Ma <yama> |
Status: | CLOSED MIGRATED | Docs Contact: | Jiri Herrmann <jherrman> |
Severity: | medium | ||
Priority: | medium | CC: | aadam, ailan, chayang, jherrman, jinzhao, juzhang, lvivier, pezhang, quintela, virt-maint, wquan, yalzhang, yanghliu |
Version: | 9.0 | Keywords: | MigratedToJIRA, Reopened, Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
.Live post-copy migration of VMs with failover VFs fails
Currently, attempting to post-copy migrate a running virtual machine (VM) fails if the VM uses a device with the virtual function (VF) failover capability enabled. To work around the problem, use the standard migration type, rather than post-copy migration.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-09-22 16:14:22 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: |
Description
Yanghang Liu
2020-03-27 10:47:27 UTC
*** Bug 1817986 has been marked as a duplicate of this bug. *** Postcopy has a different path for memory assignment. Looking why it is different than normal precopy (at that point it should be the same). But obviously it is not being. Moving to next version. We are out of time for this version. Migrating vm with hostdev device + teaming setting will met the same issue, refer to bug 1927984#c13 This bug can still be reproduced in the following test env: host: qemu-kvm-6.0.0-21.module+el8.5.0+11555+e0ab0d09.x86_64 4.18.0-316.el8.x86_64 libvirt-7.4.0-1.module+el8.5.0+11218+83343022.x86_64 guest: 4.18.0-314.el8.x86_64 Move RHEL-AV bugs to RHEL9. If necessary to resolve in RHEL8, then clone to the current RHEL8 release. @lvivier, could you hande this one? Thanks, Juan. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Could you retest with qemu-kvm-6.2.0-6.el9 ? Thanks Summarize the current status about "Migrate with post-copy" as below. I'm not sure if there is an existing bug for step 3. Env: Sriov card: 82599 Guest kernel: 5.14.0-55.el9.x86_64 Source and target host package: # rpm -q libvirt qemu-kvm libvirt-8.0.0-3.el9.x86_64 qemu-kvm-6.2.0-7.el9.x86_64 Migrate with post-copy: 1. Migrate succeed; # virsh migrate rhel9 qemu+ssh://${target_host}/system --live --verbose --p2p --postcopy --timeout 5 --timeout-postcopy --bandwidth 4 --postcopy-bandwidth 4 Migration: [100 %] 2. During migration after hostdev unregistered, ping can not work(track in bug 1789206); 3. After migration, guest show 2 interfaces, hostdev interface is not exists. Vm xml show both bridge and hostdev interfaces. VM's network function is broken. # dmesg | grep register …… [ 3.052376] virtio_net virtio0 eth0: failover master:eth0 registered [ 3.055692] virtio_net virtio0 eth0: failover standby slave:eth1 registered [ 8.834592] virtio_net virtio0 enp1s0: failover primary slave:eth0 registered [ 32.035167] virtio_net virtio0 enp1s0: failover primary slave:enp3s0 unregistered Hi Laurent, please help to check the result in above comment item 3, after migration with postcopy, there are only 2 interfaces on the vm. If we migrate *without* postcopy, no such issue and there will be 3 interfaces. (In reply to yalzhang from comment #19) > Hi Laurent, please help to check the result in above comment item 3, after > migration with postcopy, there are only 2 interfaces on the vm. If we > migrate *without* postcopy, no such issue and there will be 3 interfaces. I think there is a real issue. I'm sorry I didn't have the time to work on that but it's always on my todo list. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |