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.

Bug 697841

Summary: --verbose does not work well with tunnelled migration
Product: Red Hat Enterprise Linux 6 Reporter: weizhang <weizhan>
Component: libvirtAssignee: Eric Blake <eblake>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: dallan, dyuan, eblake, gren, llim, mzhan, yoyzhang, yupzhang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.9.4-rc1-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 11:05:30 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:

Description weizhang 2011-04-19 12:10:36 UTC
Description of problem:
When do tunnelled migration with --verbose, it does not list the process change during migration, and only list at the end of migration with 100%.

Version-Release number of selected component (if applicable):
libvirt-0.8.7-18.el6.x86_64
kernel-2.6.32-131.0.1.el6.x86_64
qemu-kvm-0.12.1.2-2.158.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1. prepare 2 hosts
2. run #setsebool -P virt_use_nfs 1 
on both sides
3. mount nfs on both sides
4. do migration with
virsh migrate --live --p2p --tunnelled vr-rhel6u1-x86_64-kvm qemu+ssh://10.66.82.251/system --verbose
  
Actual results:
the migration process will not display until migration finished.

Expected results:
the migration process change will display during migration.

Additional info:

Comment 1 Eric Blake 2011-06-10 14:00:18 UTC
I think this upstream commit should do the trick:

commit 1d916a60a7bd7d9fc56503bc526884fc715c04ef
Author: Daniel P. Berrange <berrange>
Date:   Mon May 9 16:52:42 2011 +0100

    Run tunnelled migration IO in separate thread
    
    By running the doTunnelSendAll code in a separate thread, the
    main thread can do qemuMigrationWaitForCompletion as with
    normal migration. This in turn ensures that job signals work
    correctly and that progress monitoring can be done
    
    * src/qemu/qemu_migration.c: Run tunnelled migration in
      separate thread

Comment 6 yuping zhang 2011-08-02 07:27:31 UTC
Verified this issue with:

kernel-2.6.32-172.el6.x86_64
qemu-kvm-0.12.1.2-2.172.el6.x86_64
libvirt-0.9.4-0rc2.el6.x86_64

Steps:
1. prepare 2 hosts
2. run #setsebool -P virt_use_nfs 1 on both sides
3. mount nfs on both sides
4. do migration with
# virsh migrate --live --p2p --tunnelled migrate_verbose qemu+ssh://10.66.7.56/system --verbose
Migration: [100 %]

The migration process change display during migration.
So change the status to VERIFIED.

Comment 7 errata-xmlrpc 2011-12-06 11:05:30 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.

http://rhn.redhat.com/errata/RHBA-2011-1513.html