[libvirt-users] error: internal error: Unable to parse 'rbps=max wbps=max riops=100 wiops=max' as an integer

Hi, i am running: libvirt-5.6.0-5.fc31.x86_64 5.4.8-200.fc31.x86_64 Using: <blkiotune> <device> <path>/dev/sda1</path> <read_iops_sec>100</read_iops_sec> <write_iops_sec>100</write_iops_sec> <read_bytes_sec>51200000</read_bytes_sec> <write_bytes_sec>51200000</write_bytes_sec> </device> </blkiotune> and receiving error: internal error: Unable to parse 'rbps=max wbps=max riops=100 wiops=max' as an integer when i try to start it. I found on Redhat Bugzilla a case that claims that its solved by Fixed In Version: libvirt-5.6.0-3.el8 While i am running 5.6.0-5. Maybe its simply because the cgroup v1 is not correctly mounted: # mount | grep cgroup cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate) # cat /proc/self/cgroup 0::/user.slice/user-0.slice/session-1.scope But i didnt find anything how to activate that properly. I would be thankful for any suggestions. Thank you! -- Mit freundlichen Gruessen / Best regards Oliver Dzombic Layer7 Networks mailto:info@layer7.net Anschrift: Layer7 Networks GmbH Zum Sonnenberg 1-3 63571 Gelnhausen HRB 96293 beim Amtsgericht Hanau Geschäftsführung: Oliver Dzombic UST ID: DE259845632

On Mon, Jan 13, 2020 at 01:42:24AM +0100, Oliver Dzombic wrote:
Hi,
i am running:
libvirt-5.6.0-5.fc31.x86_64 5.4.8-200.fc31.x86_64
Using:
<blkiotune> <device> <path>/dev/sda1</path> <read_iops_sec>100</read_iops_sec> <write_iops_sec>100</write_iops_sec> <read_bytes_sec>51200000</read_bytes_sec> <write_bytes_sec>51200000</write_bytes_sec> </device> </blkiotune>
and receiving
error: internal error: Unable to parse 'rbps=max wbps=max riops=100 wiops=max' as an integer
when i try to start it.
I found on Redhat Bugzilla a case that claims that its solved by
Fixed In Version: libvirt-5.6.0-3.el8
While i am running 5.6.0-5.
These are two different packages based on upstream version 5.6.0. The first one is from RHEL-8 and the one you have installed is from Fedora. Each OS is backporting different patches based on reported bugs so the fact that you have 5.6.0-5.f31 doesn't mean that the RHEL BZ fixed in 5.6.0-3.el8 will be in fedora as well.
Maybe its simply because the cgroup v1 is not correctly mounted:
# mount | grep cgroup cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
# cat /proc/self/cgroup 0::/user.slice/user-0.slice/session-1.scope
Fedora 31 switched to cgroups v2 where you can hit the issue above.
But i didnt find anything how to activate that properly.
I would be thankful for any suggestions.
Can you please clone the RHEL-8 BZ to Fedora 31? Since you are running on Fedora, you can use virt-preview repository with newer Libvirt and QEMU. <https://copr.fedorainfracloud.org/coprs/g/virtmaint-sig/virt-preview/> Pavel
participants (2)
-
Oliver Dzombic
-
Pavel Hrdina