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 515278 - RFE: API: Allow migration to be monitored & optionally cancelled asynchronously
Summary: RFE: API: Allow migration to be monitored & optionally cancelled asynchronously
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 664224 (view as bug list)
Depends On:
Blocks: RHEVmigration 653876 967466
TreeView+ depends on / blocked
 
Reported: 2009-08-03 15:14 UTC by Daniel Berrangé
Modified: 2013-05-27 08:37 UTC (History)
10 users (show)

Fixed In Version: libvirt-0.7.7-1.el6
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-02 19:24:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2009-08-03 15:14:47 UTC
Description of problem:
The libvirt virDomainMigrate()  command is a blocking, synchronous command. There needs to be the ability to monitor migration process asynchronously, and optionally abort the migration operation if its taking too long, or pause the guest to complete migration non-live. THe QEMU driver needs to support this capaibility

cf, 'info migration' command in QEMU

Version-Release number of selected component (if applicable):
0.7.0

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 RHEL Program Management 2009-08-03 15:39:32 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 4 Hugh Brock 2009-12-17 15:56:39 UTC
Need a QA ACK for this...

Comment 5 Daniel Berrangé 2010-02-04 17:35:57 UTC
This posting allows for progress monitoring and cancellation of migration

http://www.redhat.com/archives/libvir-list/2010-February/msg00177.html

Comment 8 Daniel Veillard 2010-03-05 18:22:08 UTC
libvirt-0.7.7-1.el6 has been built in RHEL-6-candidate with the fixes,

Daniel

Comment 10 Gunannan Ren 2010-06-22 12:49:59 UTC
I verified this bug on the following environment.

# rpm -qa|grep libvirt
libvirt-python-0.8.1-7.el6.x86_64
libvirt-client-0.8.1-7.el6.x86_64
libvirt-0.8.1-7.el6.x86_64

# virsh domjobinfo rhel5u5
Job type:         Unbounded
Time elapsed:     10609        ms
Data processed:   1.712 GB
Data remaining:   311.406 MB
Data total:       2.016 GB
Memory processed: 1.712 GB
Memory remaining: 311.406 MB
Memory total:     2.016 GB

# virsh domjobinfo rhel5u5
Job type:         Unbounded
Time elapsed:     11163        ms
Data processed:   1.713 GB
Data remaining:   310.297 MB
Data total:       2.016 GB
Memory processed: 1.713 GB
Memory remaining: 310.297 MB
Memory total:     2.016 GB

# virsh domjobabort rhel5u5

# virsh domjobinfo rhel5u5
Job type:         None

Comment 11 Yan Tian 2010-06-24 01:16:17 UTC
Changed the status to VERIFIED with Comment 10.

Comment 12 releng-rhel@redhat.com 2010-07-02 19:24:38 UTC
Red Hat Enterprise Linux Beta 2 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Comment 13 Daniel Berrangé 2011-01-05 10:36:14 UTC
*** Bug 664224 has been marked as a duplicate of this bug. ***


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