Bug 2025604

Summary: migrate failed on no-socket protocol when open multifd [rhel-8.5.0.z]
Product: Red Hat Enterprise Linux Advanced Virtualization Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: qemu-kvmAssignee: Juan Quintela <quintela>
qemu-kvm sub component: Live Migration QA Contact: Li Xiaohui <xiaohli>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: medium CC: chayang, coli, dgilbert, fjin, jinzhao, jmaloy, juzhang, leobras, mdean, mrezanin, peterx, quintela, qzhang, virt-maint, xiaohli, yfu, yidliu, ymankad
Version: 8.5Keywords: ZStream
Target Milestone: rc   
Target Release: 8.5   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-kvm-6.0.0-33.module+el8.5.0+13514+2c386966.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1982993 Environment:
Last Closed: 2022-01-11 16:02:21 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: 1982993    
Bug Blocks:    

Comment 1 John Ferlan 2021-11-23 20:40:02 UTC
Juan - please update https://gitlab.com/redhat/rhel/src/qemu-kvm/qemu-kvm/-/merge_requests/57 to use *this* bug for resolution (and then move this one to POST).  I will move the other one to RHEL 8.6.0...

Comment 2 Juan Quintela 2021-11-24 14:21:04 UTC
I just did.

But I can't see a difference between this bugzilla 2025604 and 2025609 (notice that the last digits are 4 or 9).
I see that they refer to the same bug.

Or I am missing something obvious here.

Comment 3 Juan Quintela 2021-11-24 14:21:51 UTC
Scratch that.

Both are for 8.5.z, but different bugzillas.  I was looking at the flags only right now.

Sorry for the noise.

Comment 4 John Ferlan 2021-11-24 16:22:30 UTC
Phew - had me concerned for a moment that I used the wrong bug to write the message ;-/ - I usually have all the bugs open in tabs, then get distracted and have to figure out what I was doing again!   FWIW: tip - if you want to create a link another bug use bug #### and bugzilla will create the link, e.g. bug 2025609 (looks like text when I enter, but when I save a link is created).

Comment 6 Yanan Fu 2021-12-09 07:02:21 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 10 Li Xiaohui 2021-12-10 08:24:00 UTC
Test offline migration with multifd enabled on qemu-kvm-6.0.0-33.module+el8.5.0+13514+2c386966.1.x86_64.
Migration will fail and hmp will give error. But guest still works well on host after migration failed.
1) src qmp
{"execute":"migrate", "arguments":{"uri": "exec:gzip -c > STATEFILE.gz"}}
{"return": {}}
{"execute":"query-migrate"}
{"return": {"blocked": false, "status": "failed"}}
2) src hmp:
(qemu) multifd is not supported by current protocol


Before fixed qemu-kvm-6.0.0-33.module+el8.5.0+13041+05be2dc6.x86_64, qemu will core dump.
(qemu) 1.sh: line 45: 21825 Segmentation fault      (core dumped) /usr/libexec/qemu-kvm -name "mouse-vm" -sandbox on -machine q35 -cpu EPYC -nodefaults


So I would mark this bz as verified per above test results.

Comment 12 errata-xmlrpc 2022-01-11 16:02:21 UTC
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 (Low: virt:av and virt-devel:av security and bug fix 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/RHSA-2022:0081