RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1475751 - migration/RDMA: backport fixes
Summary: migration/RDMA: backport fixes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.4-Alt
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dr. David Alan Gilbert
QA Contact: xianwang
URL:
Whiteboard:
Depends On: 1285044 1457423
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-27 09:15 UTC by Dr. David Alan Gilbert
Modified: 2017-11-09 11:31 UTC (History)
14 users (show)

Fixed In Version: qemu-kvm-2.9.0-19.el7a
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1285044
Environment:
Last Closed: 2017-11-09 11:31:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3169 0 normal SHIPPED_LIVE qemu-kvm enhancement update 2017-11-09 16:13:13 UTC

Comment 2 Dr. David Alan Gilbert 2017-07-27 12:10:40 UTC
Posted downstream.

Note, the easiest case to test that this fixes is:
   a) Start qemu on destination
   b) Start qemu on source
   c) Start migration (migrate -d)
   d) Kill qemu on destination before migration finishes
   e) do  migrate_cancel on source
   f) Use   'info migrate' to check the source isn't stuck in cancelling.

You have to be pretty fast to do (d) unless you give the guest lots of RAM.

Comment 3 Miroslav Rezanina 2017-08-01 13:34:47 UTC
Fix included in qemu-kvm-2.9.0-19.el7a

Comment 5 Qunfang Zhang 2017-09-08 08:11:40 UTC
Currently we are still waiting for the second DD2 hardware to test migration, and confirming with IBM when the second DD2 hardware is available for QE.

Comment 6 xianwang 2017-09-19 08:09:18 UTC
 (In reply to Dr. David Alan Gilbert from comment #2)
> Posted downstream.
> 
> Note, the easiest case to test that this fixes is:
>    a) Start qemu on destination
>    b) Start qemu on source
>    c) Start migration (migrate -d)
>    d) Kill qemu on destination before migration finishes
>    e) do  migrate_cancel on source
>    f) Use   'info migrate' to check the source isn't stuck in cancelling.
> 
> You have to be pretty fast to do (d) unless you give the guest lots of RAM.

I have test this scenario on P9 DD2, the result of step f) is "Migration status: cancelled", but once I "migrate_cancel" in src host, there will be "(qemu) qemu-kvm: Early error. Sending error." prompt in src HMP, the vm works well, I am not sure whether it is expected result.

version:
host:
4.11.0-33.el7a.ppc64le
qemu-kvm-2.9.0-22.el7a.ppc64le
SLOF-20170303-4.git66d250e.el7.noarch

guest:
4.11.0-33.el7a.ppc64le

scenario I:
step:
 Start qemu on destination
    b) Start qemu on source
    c) Start migration (migrate -d)
    d) Kill qemu on destination before migration finishes
    e) do  migrate_cancel on source
    f) Use   'info migrate' to check the source isn't stuck in cancelling.
result:
src:
(qemu) migrate_cancel 
(qemu) qemu-kvm: rdma migration: recv polling control error!
qemu-kvm: RDMA is in an error state waiting migration to abort!
qemu-kvm: Early error. Sending error.
qemu-kvm: rdma migration: send polling control error
(qemu) info migrate
capabilities: xbzrle: off rdma-pin-all: on auto-converge: off zero-blocks: off compress: off events: off postcopy-ram: off x-colo: off release-ram: off 
Migration status: cancelled
total time: 0 milliseconds
(qemu) info status 
VM status: running

vm works well in src host.

scenario II:
step:
 Start qemu on destination
    b) Start qemu on source
    c) Start migration (migrate -d)
    d) do  migrate_cancel on source
    e) Use   'info migrate' to check the source isn't stuck in cancelling.
result:
(qemu) migrate_cancel 
(qemu) qemu-kvm: Early error. Sending error.
(qemu) info migrate
capabilities: xbzrle: off rdma-pin-all: on auto-converge: off zero-blocks: off compress: off events: off postcopy-ram: off x-colo: off release-ram: off 
Migration status: cancelled
total time: 0 milliseconds
(qemu) info status 
VM status: running

vm works well in src host.

Comment 7 Dr. David Alan Gilbert 2017-09-19 08:31:16 UTC
Yes, that's fine - the important thing is that the source carries on working and the monitor on the source responds to commands (such as the info).

Comment 8 xianwang 2017-09-19 10:38:52 UTC
ok, referring to comment2,6,7,this bug is fixed.

Comment 10 errata-xmlrpc 2017-11-09 11:31:17 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, 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/RHEA-2017:3169


Note You need to log in before you can comment on or make changes to this bug.