Bug 1780497
Summary: | [blockdev enablement] Set blockcopy bandwidth failed with 'virsh blockjob' | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | yisun |
Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
Status: | CLOSED ERRATA | QA Contact: | yisun |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 8.2 | CC: | ddepaula, hhan, jdenemar, lcheng, lmen, pkrempa, xuzhang, yisun, ymankad |
Target Milestone: | rc | Keywords: | Automation, Regression, TestBlocker |
Target Release: | 8.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-5.10.0-2.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-05 09:52:05 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1781490 |
Description
yisun
2019-12-06 08:11:26 UTC
Please upload the libvirtd log with log_filter='1:qemu' to see what happened on blockjob internal. BTW, --reuse-external is not essential in this bug, According to the error message the job name is wrong. I probably forgot to fix this one call. I don't require additional data. Fixed upstream: commit d179acf4ad5001b8b02d79167e4e65a35c612c15 Author: Peter Krempa <pkrempa> Date: Fri Dec 6 14:06:55 2019 +0100 qemu: driver: Use appropriate job name when setting blockjob speed qemuDomainBlockJobSetSpeed was not converted to get the job name from the block job data. This means that after enabling blockdev the API call would fail as we wouldn't use the appropriate name. v5.10.0-74-gd179acf4ad This is one of the issues blocking the virt module of pass gating without require a manual waiving. Please include it in the next build asap. Cases passed with latest libvirt and qemu (-blockdev enabled by default) # rpm -qa | egrep "^libvirt-5|^qemu-kvm-4" libvirt-5.10.0-2.module+el8.2.0+5274+60f836b5.x86_64 qemu-kvm-4.2.0-5.module+el8.2.0+5389+367d9739.x86_64 # avocado run --vt-type libvirt virsh.blockjob.positive_test.min_bandwidth virsh.blockjob.positive_test.max_bandwidth virsh.blockjob.positive_test.bandwidth_bytes_option JOB ID : a40c1321f3c482a8cf736863042e13c03698544b JOB LOG : /root/avocado/job-results/job-2020-01-14T00.53-a40c132/job.log (1/3) type_specific.io-github-autotest-libvirt.virsh.blockjob.positive_test.min_bandwidth: PASS (31.57 s) (2/3) type_specific.io-github-autotest-libvirt.virsh.blockjob.positive_test.max_bandwidth: PASS (28.23 s) (3/3) type_specific.io-github-autotest-libvirt.virsh.blockjob.positive_test.bandwidth_bytes_option: PASS (27.17 s) RESULTS : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 JOB TIME : 90.96 s 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/RHBA-2020:2017 |