Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Comment 2Dr. 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 3Miroslav Rezanina
2017-08-01 13:34:47 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.
(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 7Dr. 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).
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