[Openstack-operators] libvirt cgroups getting removed under Cent 7/systemd

Kris G. Lindgren klindgren at godaddy.com
Tue Dec 2 19:05:36 UTC 2014


Just to add,

Once this happens its breaks standard libvirt tooling:


virsh cpu-stats 7

error: Failed to retrieve CPU statistics for domain 'instance-00000681'

error: Unable to read from '/sys/fs/cgroup/cpu,cpuacct/machine.slice/machine-qemu\x2dinstance\x2d00000681.scope/cpuacct.usage_percpu': No such file or directory

Apparent steps to reproduce:
systemctl daemon-restart
systemctl restart (some unrelated service)

Within 60 seconds /sys/fs/cgroup/cpu,cpuacct/machine.slice folder is purged.
____________________________________________

Kris Lindgren
Senior Linux Systems Engineer
GoDaddy, LLC.

From: Michael Dorman <mdorman at godaddy.com<mailto:mdorman at godaddy.com>>
Date: Tuesday, December 2, 2014 at 11:44 AM
To: OpenStack Operators <openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>>
Subject: [Openstack-operators] libvirt cgroups getting removed under Cent 7/systemd

We recently discovered a problem where the cgroups set up by libvirt for VMs are being removed by systemd.  It's this bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1139223

Curious if anyone else has run into this, and/or has figured out a workaround until it's fixed in upstream CentOS/RHEL.

Thanks,
Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20141202/8c0353a3/attachment.html>


More information about the OpenStack-operators mailing list