Bug 1073891
Summary: | Incorrect cgroup hierarchy when systemd is running in LXC | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Dariusz Michaluk <d.michaluk> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | berrange, crobinso, d.michaluk, gfa, m.malicki2, rbalakri |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: |
Fedora 21
Linux 3.14.0-0.rc5 with support for user namespace
systemd 210 on host and guest machine
|
|
Last Closed: | 2016-05-02 14:28:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dariusz Michaluk
2014-03-07 12:24:01 UTC
When I add the following entry to container configuration XML I have had valid cgroup hierarchy. <filesystem type='mount'> <source dir='/sys/fs/cgroup'/> <target dir='/sys/fs/cgroup'/> </filesystem> I think it is not a solution to the problem and it is only baypass. Whether the cgroup hierarchy shouldn't be valid without mounting cgroup? Sorry this didn't receive a timely response. From those mailing list threads it sounds like Dan was suggesting that this can't be a libvirt bug since much of the file layout allocation is out of libvirt's hands. Are you still seeing this with a recent distro? Maybe it was a libvirt or systemd issue Since there's no response, closing as DEFERRED. But if anyone is still affected with newer libvirt versions, please re-open and we can triage from there FYI this was fixed upstream recently in commit dc576025c360a1d2c89da410d0f3f0da55d0143f Author: Daniel P. Berrange <berrange> Date: Fri Jan 22 16:07:18 2016 +0000 lxc: don't try to hide parent cgroups inside container |