Bug 1808294 - libvirtd crashed after setting blkio weight
Summary: libvirtd crashed after setting blkio weight
Keywords:
Status: CLOSED DUPLICATE of bug 1808293
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-28 08:22 UTC by Lili Zhu
Modified: 2020-02-28 08:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-28 08:38:15 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Lili Zhu 2020-02-28 08:22:42 UTC
Description of problem:
libvirtd crashed after setting blkio weight

Version-Release number of selected component (if applicable):
libvirt-daemon-6.0.0-7.el8.x86_64
qemu-kvm-4.2.0-12.module+el8.2.0+5858+afd073bc.x86_64
kernel-4.18.0-184.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. check whether the blkio cgroup is mounted
# mount | grep cgroup | grep blkio
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,seclabel,blkio)

2. check libvirtd pid
# pidof libvirtd
56249

3. set blkio weight 
# virsh blkiotune rhel8.2 --weight 300
error: Disconnected from qemu:///system due to end of file
error: Unable to change blkio parameters
error: End of file while reading data: Input/output error

4. check libvirtd pid again
# pidof libvirtd
57792

Actual results:
libvirtd crashed

Additional info:
1. get blkio parameters
# virsh blkiotune rhel8.2 
error: Unable to get blkio parameters
error: Requested operation is not valid: blkio cgroup isn't mounted

Comment 1 Peter Krempa 2020-02-28 08:38:15 UTC

*** This bug has been marked as a duplicate of bug 1808293 ***


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