Bug 1690703

Summary: Fails to query domjobinfo when do snapshot
Product: Red Hat Enterprise Linux 7 Reporter: Fangge Jin <fjin>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED ERRATA QA Contact: yisun
Severity: urgent Docs Contact:
Priority: high    
Version: 7.6CC: hhan, jdenemar, jsuchane, lmen, mtessun, xuzhang, yalzhang, yanqzhan, yisun
Target Milestone: rcKeywords: Regression, Upstream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-4.5.0-12.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1688774 Environment:
Last Closed: 2019-08-06 13:14:44 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:
Bug Depends On: 1688774    
Bug Blocks:    

Comment 6 yisun 2019-06-10 10:28:31 UTC
PASSED

Verified with:
libvirt-4.5.0-21.virtcov.el7.x86_64

[root@ibm-x3250m4-05 ~]# virsh domuuid avocado-vt-vm1
a05d7039-bff6-42e9-9e1c-9a5dbb4f8ddb


[root@ibm-x3250m4-05 ~]# virsh start avocado-vt-vm1 --console
Domain avocado-vt-vm1 started
Connected to domain avocado-vt-vm1
Escape character is ^]

Red Hat Enterprise Linux Server 7.7 Beta (Maipo)
Kernel 3.10.0-1053.el7.x86_64 on an x86_64

localhost login: root
Password: 
Last login: Mon Jun 10 18:18:08 from gateway
[root@localhost ~]# dd if=/dev/urandom of=/tmp/1.file bs=1K count=5000000
5000000+0 records in
5000000+0 records out
5120000000 bytes (5.1 GB) copied, 42.3198 s, 121 MB/s



@terminal 1:
[root@ibm-x3250m4-05 ~]# virsh snapshot-create-as a05d7039-bff6-42e9-9e1c-9a5dbb4f8ddb s1 --memspec file=/tmp/snap.1
Domain snapshot s1 created

@terminal 2:
[root@ibm-x3250m4-05 ~]# virsh domjobinfo a05d7039-bff6-42e9-9e1c-9a5dbb4f8ddb
Job type:         None    
<=== This is hang until snapshot finished, tracked by bz1565552


[root@ibm-x3250m4-05 ~]# virsh domjobinfo a05d7039-bff6-42e9-9e1c-9a5dbb4f8ddb --completed
Job type:         Completed   
Operation:        Snapshot    
Time elapsed:     1989         ms
Data processed:   980.463 MiB
Data remaining:   0.000 B
Data total:       1.126 GiB
Memory processed: 980.463 MiB
Memory remaining: 0.000 B
Memory total:     1.126 GiB
Memory bandwidth: 510.849 MiB/s
Dirty rate:       0            pages/s
Page size:        4096         bytes
Iteration:        3           
Constant pages:   44713       
Normal pages:     250411      
Normal data:      978.168 MiB
Total downtime:   1962         ms
Setup time:       12           ms

Comment 8 errata-xmlrpc 2019-08-06 13:14:44 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/RHSA-2019:2294