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 1457052 - "Unknown" operation is reported in domain job stats on the target host after migration
Summary: "Unknown" operation is reported in domain job stats on the target host after ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.4
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: chenruping
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-31 03:10 UTC by yafu
Modified: 2017-08-02 01:34 UTC (History)
8 users (show)

Fixed In Version: libvirt-3.2.0-9.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-02 01:34:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1846 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2017-08-01 18:02:50 UTC

Description yafu 2017-05-31 03:10:35 UTC
Description of problem:
"Unknown" operation shows in domian job stats on the target host after migration completed

Version-Release number of selected component (if applicable):
libvirt-3.2.0-6.virtcov.el7.x86_64
qemu-kvm-rhev-2.9.0-7.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Do migration:
# virsh migrate rhel7.3-min qemu+ssh://10.66.4.251/system --live --verbose 
Migration: [100 %]

2.After migration complete, execute 'virsh domjobinfo --completed' on the target host:
#virsh domjobinfo rhel7.3-min --completed
Job type:         Completed   
Operation:        ****Unknown****     
Time elapsed:     4220         ms
Time elapsed w/o network: 4216         ms
Data processed:   226.817 MiB
Data remaining:   0.000 B
Data total:       5.063 GiB
Memory processed: 226.817 MiB
Memory remaining: 0.000 B
Memory total:     5.063 GiB
Memory bandwidth: 87.136 MiB/s
Dirty rate:       0            pages/s
Iteration:        4           
Constant pages:   1293990     
Normal pages:     55114       
Normal data:      215.289 MiB
Total downtime:   262          ms
Downtime w/o network: 258          ms
Setup time:       58           ms 

Actual results:
"Unknown" operation shows in domian job stats on the target host after migration completed

Expected results:
Should report "Incoming migration" in domain job stats on the target host after migration completed.

Comment 2 Jiri Denemark 2017-06-06 07:44:44 UTC
Patch sent upstream for review: https://www.redhat.com/archives/libvir-list/2017-June/msg00220.html

Comment 3 Jiri Denemark 2017-06-07 07:19:12 UTC
Fixed upstream by

commit 49d30bc2e292785bf2edc121c12bc5c10264d1d4
Refs: v3.4.0-36-g49d30bc2e
Author:     Jiri Denemark <jdenemar>
AuthorDate: Wed May 31 10:08:28 2017 +0200
Commit:     Jiri Denemark <jdenemar>
CommitDate: Wed Jun 7 09:14:02 2017 +0200

    qemu: Set operation on completed migration job

    Without this patch libvirt would just report the operation of a
    completed job as "unknown" instead of "incoming migration".

    https://bugzilla.redhat.com/show_bug.cgi?id=1457052

    Signed-off-by: Jiri Denemark <jdenemar>

Comment 6 chenruping 2017-06-15 04:32:26 UTC
I can reproduce the bug with build: libvirt-3.2.0-6.virtcov.el7.x86_64
 
Verified pass with
Qemu-kvm-rhev-2.9.0-10.el7.x86_64
Libvirt-3.2.0-10.virtcov.el7.x86_64
 
Test steps:
1.Do migration
# virsh migrate rhel72 qemu+ssh://10.66.69.11/system --live --verbose
Migration: [100 %]
 
2.After migration complete, execute 'virsh domjobinfo domain --completed' 
2.1.on the target host:
# virsh domjobinfo rhel72 --completed
Job type:         Completed   
Operation:        Incoming migration
Time elapsed:     305724       ms
Time elapsed w/o network: 272858       ms
Data processed:   795.407 MiB
Data remaining:   0.000 B
Data total:       1.126 GiB
Memory processed: 795.407 MiB
Memory remaining: 0.000 B
Memory total:     1.126 GiB
Memory bandwidth: 2.929 MiB/s
Dirty rate:       0            pages/s
Iteration:        7           
Constant pages:   132313      
Normal pages:     202936      
Normal data:      792.719 MiB
Total downtime:   34726        ms
Downtime w/o network: 1860         ms
Setup time:       68           ms
 
2.2.On the source host :
# virsh domjobinfo rhel72 --completed
Job type:         Completed   
Operation:        Outgoing migration
Time elapsed:     273029       ms
Time elapsed w/o network: 240163       ms
Data processed:   795.407 MiB
Data remaining:   0.000 B
Data total:       1.126 GiB
Memory processed: 795.407 MiB
Memory remaining: 0.000 B
Memory total:     1.126 GiB
Memory bandwidth: 2.929 MiB/s
Dirty rate:       0            pages/s
Iteration:        7           
Constant pages:   132313      
Normal pages:     202936      
Normal data:      792.719 MiB
Total downtime:   34726        ms
Downtime w/o network: 1860         ms
Setup time:       68           ms
 
According to the test results above, move the bug to verified.

Comment 7 errata-xmlrpc 2017-08-02 01:34:35 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:1846


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