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

Pavel Hrdina phrdina at redhat.com
Mon Jan 13 08:37:12 UTC 2020


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200113/8dc456ec/attachment.sig>


More information about the libvirt-users mailing list