Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Mrunal Patel
On Tue, Mar 15, 2016 at 10:01 AM, Michal Sekletar wrote: > On Tue, Mar 15, 2016 at 5:42 PM, Mrunal Patel wrote: > > > > > > > >> > > >> > docker.io did that too three weeks ago: > >> > > >> > https://github.com/docker/docker/commit/65820132 > >> > >>

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Michal Sekletar
On Tue, Mar 15, 2016 at 5:42 PM, Mrunal Patel wrote: > > > >> > >> > docker.io did that too three weeks ago: >> > >> > https://github.com/docker/docker/commit/65820132 >> >> This seems odd. I thought you primarily want to enable delegation for >> scope units wrapping

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Mrunal Patel
> > > docker.io did that too three weeks ago: > > > > https://github.com/docker/docker/commit/65820132 > > This seems odd. I thought you primarily want to enable delegation for > scope units wrapping processes which constitute your container and not > for the container manager itself. For

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Mrunal Patel
On Tue, Mar 15, 2016 at 8:56 AM, Martin Pitt wrote: > Michal Sekletar [2016-03-15 16:06 +0100]: > > We had similar problem in the past with libvirtd and it got solved by > > introducing Delegate option (man systemd.resource-control). > > docker.io did that too three weeks

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Mrunal Patel
> > >> 2. cpu.proc file itself goes missing especitally with the devices > >> subsystemd even thought we mkdir the directory and write to the file. > It is > >> as if the file gets deleted by some other process. > > We had similar problem in the past with libvirtd and it got solved by >

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Michal Sekletar
On Tue, Mar 15, 2016 at 4:56 PM, Martin Pitt wrote: > Michal Sekletar [2016-03-15 16:06 +0100]: >> We had similar problem in the past with libvirtd and it got solved by >> introducing Delegate option (man systemd.resource-control). > > docker.io did that too three weeks

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Martin Pitt
Michal Sekletar [2016-03-15 16:06 +0100]: > We had similar problem in the past with libvirtd and it got solved by > introducing Delegate option (man systemd.resource-control). docker.io did that too three weeks ago: https://github.com/docker/docker/commit/65820132 Martin -- Martin Pitt

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-15 Thread Michal Sekletar
On Mon, Mar 14, 2016 at 6:42 PM, Daniel J Walsh wrote: >> To see the code you can refer to >> https://github.com/projectatomic/docker/pull/71/files (In this PR, I made >> the change to always join all the subsystems after creating the scope to >> help with first issue below).

Re: [systemd-devel] Issues with docker systemd cgroups integration

2016-03-14 Thread Daniel J Walsh
Expanding this out to systemd-devel mailing list. On 03/14/2016 01:04 PM, Mrunal Patel wrote: Hi, Lukas, We are using systemd cgroups support in docker for Fedora/RHEL and seeing some issues. Here is the flow of the code in docker/runc/libcontainer: 1. We create a Transient Unit setting some