Bug 1028846
Summary: | $dom->get_block_job_info get wrong type and end | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | weizhang <weizhan> |
Component: | libvirt | Assignee: | Daniel Berrangé <berrange> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | acathrow, berrange, dyuan, jmiao, mzhan, weizhan, zpeng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.1.1-14.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 11:39:19 UTC | Type: | Bug |
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
2013-11-11 03:31:08 UTC
This is a libvirt bug - it isn't zero'ing out the fields of the block job info struct https://www.redhat.com/archives/libvir-list/2013-December/msg00101.html In libvirt-1.1.1-13.el7.x86_64, the get_block_job_info will output random numbers, even if there is no block job performed: # while true; do perl test.pl; sleep 1;done cur => 0 bandwidth => 30175248 type => 31177832 end => 30738240 cur => 0 bandwidth => 21766160 type => 22768744 end => 22329152 cur => 0 bandwidth => 26107920 type => 27110504 end => 26670912 cur => 0 bandwidth => 10289168 type => 11291752 end => 10852160 And this bug is fixed in libvirt-1.1.1-14.el7. The job info will show the right number when block copy occurs, like: cur => 0 bandwidth => 0 type => 0 end => 0 cur => 9346875392 bandwidth => 0 type => 2 end => 10737418240 cur => 9438035968 bandwidth => 0 type => 2 end => 10737418240 cur => 9591455744 bandwidth => 0 type => 2 end => 10737418240 So I will set this bug as VERIFIED. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |