Bug 1038775 - support cgroup 'all' controller
Summary: support cgroup 'all' controller
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lxc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Moschny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 19:47 UTC by Vincent Batts
Modified: 2014-06-05 18:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-05 18:43:34 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1038328 0 medium CLOSED /etc/cgconfig.conf ought to match production (and be closer to default) 2021-02-22 00:41:40 UTC

Description Vincent Batts 2013-12-05 19:47:20 UTC
Description of problem:
lxc-start fails when cgroups are mounting the 'all' controller

Version-Release number of selected component (if applicable):
# rpm -q lxc libcgroup docker-io
lxc-0.9.0-2.el6.x86_64
libcgroup-0.40.rc1-5.el6.x86_64
docker-io-0.7.0-14.el6.x86_64

How reproducible:
very

Steps to Reproduce:
1. set up /etc/cgconfig.conf like

mount {
#       cpuset  = /cgroup/all;
        cpu     = /cgroup/all;
        cpuacct = /cgroup/all;
        memory  = /cgroup/all;
#       devices = /cgroup/all;
        freezer = /cgroup/all;
        net_cls = /cgroup/all;
#       blkio   = /cgroup/all;
}
2. start the docker server in one terminal `docker -d`
3. then `docker run -i -t mattdm/fedora /bin/bash`

Actual results:
lxc-start: cgroup is not mounted                                                
lxc-start: Error setting devices.deny to a for lxc/15509c8f85901ba2fc2cb883d777b836cee7cdeb2b46d6ebc07d9a1a5b1de0f0 
lxc-start: failed to setup the cgroups for '15509c8f85901ba2fc2cb883d777b836cee7cdeb2b46d6ebc07d9a1a5b1de0f0' 
lxc-start: failed to spawn '15509c8f85901ba2fc2cb883d777b836cee7cdeb2b46d6ebc07d9a1a5b1de0f0' 
lxc-start: Device or resource busy - failed to remove cgroup '/cgroup/all/lxc/15509c8f85901ba2fc2cb883d777b836cee7cdeb2b46d6ebc07d9a1a5b1de0f0'


Expected results:
a bash shell

Additional info:
opened an upstream bug for this support https://github.com/lxc/lxc/issues/110

Comment 1 Michael H. Warfield 2014-06-04 21:36:46 UTC
This looks to be resolve in the github discussion.  Should be closed as "not a bug".


Note You need to log in before you can comment on or make changes to this bug.