Broken cpuset.cpus cgroups in libvirt 4.5.0-23 (CentOS 7.7.1908)

Hi,

Writing here just to alert the community that there is a cgroups related bug in libvirt 4.5.0-23 shipped with CentOS 7.7!

I am almost confident that this is the upstream description of the bug

An workaround is to block the upgrade of libvirt. If you’ve already upgraded (unattended upgrades, etc) here is a quick solution how to configure the old updates repository and downgrade to latest working libvirt:

cat >>/etc/yum.repos.d/updates-76.repo <<EOF
[updates-76]
name=CentOS-76 - Updates
baseurl=http://mirror.centos.org/centos/7.6.1810/updates/\$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
EOF
yum downgrade $(rpm -qa | grep libvirt | grep 4.5.0-23 | while read x; do echo -n "${x%4.5.0*}4.5.0-10.el7_6.12 "; done)
systemctl restart libvirtd.service

Will do my best to update the post when there is upstream fix available.

Best Regards,
Anton Todorov

Refactoring the workaround…

First remove the previously created file (if created)

rm -f /etc/yum.repos.d/updates-76.repo

Then to downgrade:

yum downgrade --enablerepo=C7.6.1810-updates $(rpm -qa | grep libvirt | grep 4.5.0-23 | while read x; do echo -n "${x%4.5.0*}4.5.0-10.el7_6.12 "; done) 
systemctl restart libvirtd.service

Best,
Anton Todorov