<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div style="color: rgb(0, 0, 0);">Just to add,</div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<div style="color: rgb(0, 0, 0);">Once this happens its breaks standard libvirt tooling:</div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<p style="margin: 0px; font-size: 12px; font-family: Menlo;">virsh cpu-stats 7</p>
<p style="margin: 0px; font-size: 12px; font-family: Menlo;">error: Failed to retrieve CPU statistics for domain 'instance-00000681'</p>
<div><span style="font-family: Menlo; font-size: 12px;">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</span> </div>
<div><br>
</div>
<div>Apparent steps to reproduce:</div>
<div>systemctl daemon-restart</div>
<div>systemctl restart (some unrelated service)</div>
<div><br>
</div>
<div>Within 60 seconds /sys/fs/cgroup/cpu,cpuacct/machine.slice folder is purged. </div>
<div style="color: rgb(0, 0, 0);">
<div>
<div>____________________________________________</div>
<div> </div>
<div>Kris Lindgren</div>
<div>Senior Linux Systems Engineer</div>
<div>GoDaddy, LLC.</div>
</div>
</div>
</div>
<div style="color: rgb(0, 0, 0);"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="color: rgb(0, 0, 0);">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Michael Dorman <<a href="mailto:mdorman@godaddy.com">mdorman@godaddy.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, December 2, 2014 at 11:44 AM<br>
<span style="font-weight:bold">To: </span>OpenStack Operators <<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[Openstack-operators] libvirt cgroups getting removed under Cent 7/systemd<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div>
<div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
We recently discovered a problem where the cgroups set up by libvirt for VMs are being removed by systemd.  It’s this bug:</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1139223">https://bugzilla.redhat.com/show_bug.cgi?id=1139223</a></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<br>
</div>
<div><font face="Calibri,sans-serif">Curious if anyone else has run into this, and/or has figured out a workaround until it’s fixed in upstream CentOS/RHEL.</font></div>
<div><font face="Calibri,sans-serif"><br>
</font></div>
<div><font face="Calibri,sans-serif">Thanks,</font></div>
<div><font face="Calibri,sans-serif">Mike</font></div>
<div><u><font face="Calibri,sans-serif"><br>
</font></u></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px;">
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>