Bug 1974366
Summary: | Fail to set migrate incoming for 2nd time after the first time failed | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Li Xiaohui <xiaohli> | |
Component: | qemu-kvm | Assignee: | Leonardo Bras <leobras> | |
qemu-kvm sub component: | Live Migration | QA Contact: | Li Xiaohui <xiaohli> | |
Status: | CLOSED ERRATA | Docs Contact: | ||
Severity: | medium | |||
Priority: | medium | CC: | chayang, ddepaula, dgilbert, fjin, jinzhao, leobras, mdean, peterx, qzhang, virt-maint | |
Version: | 8.5 | Keywords: | Triaged | |
Target Milestone: | rc | |||
Target Release: | 8.5 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | qemu-kvm-6.0.0-29.module+el8.5.0+12386+43574bac | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1974683 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-16 07:54:24 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1974683 |
Description
Li Xiaohui
2021-06-21 13:25:20 UTC
I guess we won't meet such issue in libvirt, because when the first "migrate-incoming" fails, qemu process on dest host will be stopped by libvirt (In reply to Fangge Jin from comment #1) > I guess we won't meet such issue in libvirt, because when the first > "migrate-incoming" fails, qemu process on dest host will be stopped by > libvirt Got it, thanks for the explanation. Yes afree with Fangge's comments, but it is a valid bug that we should fix. This bugs reproduces upstream. Hi leonardo, shall we clone this bz on rhel9 since the problem also happens. Sure(In reply to Li Xiaohui from comment #5) > Hi leonardo, shall we clone this bz on rhel9 since the problem also happens. Sure! I have sent a v1 patch upstream fixing this issue, but it is taking a while for the archives / patchwork to update. I will soon update with a patchwork link. I needed to re-send the patch: http://patchwork.ozlabs.org/project/qemu-devel/patch/20210622033845.603512-1-leobras.c@gmail.com/ For reference, this is the patch in my qemu repo. https://gitlab.com/LeoBras/qemu/-/commit/6d22ee2a36253416c4b4f24494d06b457b1d22db (In reply to Leonardo Bras from comment #6) > Sure(In reply to Li Xiaohui from comment #5) > > Hi leonardo, shall we clone this bz on rhel9 since the problem also happens. > > Sure! Thank you. I have filed a bz on rhel9: Bug 1974683 - Fail to set migrate incoming for 2nd time after the first time failed > > > I have sent a v1 patch upstream fixing this issue, but it is taking a while > for the archives / patchwork to update. > I will soon update with a patchwork link. Updates: - I sent a v2 fixing a few issues from v1 (for reference only) http://patchwork.ozlabs.org/project/qemu-devel/patch/20210629050522.147057-1-leobras@redhat.com/ But as seen in comment #2 from Peter Xu, there could be a more extended solution that would fix more possible bugs. This patch series proposed by Peter can be seen here: http://patchwork.ozlabs.org/project/qemu-devel/list/?series=251186&state=%2A&archive=both This solution got accepted, which made my v2 unnecessary. The commit IDs for this patch series are: cc48c587d25ff5dd7dddb4e5072de9ca8464c832 migration: Move yank outside qemu_start_incoming_migration() b7f9afd48e7bc5c341e55348f2c2eed08314be7d migration: Allow reset of postcopy_recover_triggered when failed Hi Leonardo, Could we get this bz on_qa before ITM 26 (Aug 30)? And I need several days to verify it. If can't, we'd better move ITM from 8.5.0 to 8.6.0, thanks. NB: changed ITM=26 because the RHEL rule to apply release+ requires it... QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass. Test this bz on hosts(kernel-4.18.0-330.el8.x86_64 & qemu-kvm-6.0.0-29.module+el8.5.0+12386+43574bac.x86_64), test pass, mark this bz verified. 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 (virt:av bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:4684 |