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 1047943 - migration never succeeds after syntax error
Summary: migration never succeeds after syntax error
Keywords:
Status: CLOSED DUPLICATE of bug 1086598
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Luiz Capitulino
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-02 16:26 UTC by Luiz Capitulino
Modified: 2014-04-14 11:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-14 11:15:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1086598 0 medium CLOSED migrate_cancel wont take effect on previouly wrong migrate -d cmd 2021-02-22 00:41:40 UTC

Internal Links: 1086598

Description Luiz Capitulino 2014-01-02 16:26:49 UTC
Description of problem:

If a user or QMP client enter a bad syntax for the migrate command in QMP/HMP, then the migrate command will never succeed from that point on.

Version-Release number of selected component (if applicable): qemu-kvm-1.5.3-30.el7


How reproducible:


Steps to Reproduce:
1. Start a source and a target guest for migration. For example:

Source guest: qemu-kvm [...] -monitor stdio
Target guest: qemu-kvm [...] -monitor stdio -incoming tcp:0:4444

2. On the source guest's monitor, type a bad migrate command:

(qemu) migrate ;0:4444
migrate: Parameter 'uri' expects a valid migration protocol

3. Now correct the syntax and try again:

(qemu) migrate tcp:0:4444
migrate: There's a migration process in progress

Actual results:

The migrate command still fails and will always fail after the first failure.

Expected results:

The migrate command works with the correct syntax.

Comment 1 Luiz Capitulino 2014-01-02 16:30:41 UTC
Fix posted upstream. Will post downstream as soon as it's applied.

Comment 2 Luiz Capitulino 2014-02-21 16:14:25 UTC
This is uptream commit c950114286ea358a93ce632db0421945e1008395, should be a clean backport, but I missed the downstream deadline :(

Now, this one doesn't seem so serious to request an exception or block flag as libvirt would have to be buggy to emit a bad syntax...

Deferring to RHEL7.1.


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