Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-15 Thread Ramez Hanna
tested f14 and debian squeeze containers on f15 host (systemd)
lxc-ps returns nothing for running container
[root@lxc ~]# lxc-info --name=f14
'f14' is RUNNING
[root@lxc ~]# lxc-ps --name=f14
CONTAINERPID TTY  TIME CMD
[root@lxc ~]#

used lxc from master built a few days ago (haven't seen any change in master
since then)

On Thu, Jul 14, 2011 at 12:38 AM, Ramez Hanna rha...@informatiq.org wrote:

 here is an rpm build for latest master
 (bcbd102cba31a0054fe4204a39b5e8a411cde42f)
 http://download.opensuse.org/repositories/home:/ramezhanna/Fedora_15/
 for those who want to test on f15
 I will keep following master so keep an eye here for updates as well


 On Thu, Jul 7, 2011 at 4:08 PM, Michael H. Warfield m...@wittsend.comwrote:

 On Wed, 2011-07-06 at 14:06 +0300, Ramez Hanna wrote:
  where can i get that patched code? should i clone master?

 Yeah, that would be one way.  Daniel checked it into git.  So building
 from git is probably the best way.  It hasn't popped out into a release
 yet.  Maybe soon.  His shot to call.

  On Mon, Jul 4, 2011 at 1:47 AM, Daniel Lezcano daniel.lezc...@free.fr
 wrote:
 
   On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
Hey all...
   
So my testing has continued and I've now regression tested the v3
 patch
and extended my testing.  Looks like, over all, everything came
 together
nicely.  I'd ack that...
  
   [ ... ]
  
IAC...  The v3 patch does no harm to existing, working, cases and
certainly covers the systemd case with F15 and that multipoint mount
on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.
  That's
an important step forward and needs to be pushed.  Not sure what the
deal is here above with the libcgroup cgconfig service enabled on
 F14
(maybe I'm doing something wrong) but that should not be a show
 stopper
as a mount point in fstab deals with that situation nicely.  I'd
 like to
see this applied ASAP and a turn cranked on the revision handle as
 this
is needed for F15 and beyond.
  
   Great ! Thanks Michael for testing.
  
   Applied.
  
-- Daniel

 Regards,
 Mike
 --
 Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |
 http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of
 all
  PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!



--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-15 Thread Michael H. Warfield
On Fri, 2011-07-15 at 17:25 +0300, Ramez Hanna wrote: 
 tested f14 and debian squeeze containers on f15 host (systemd)
 lxc-ps returns nothing for running container

Confirmed broken for F14 container  on F15 host.

Working on F14 container on F14 host.

Another point on the curve.

lxc-ps -A

On F15 host shows all the processes but container names are missing.

On F14 host shows all the processes with correct container names.

Regards,
Mike

 [root@lxc ~]# lxc-info --name=f14
 'f14' is RUNNING
 [root@lxc ~]# lxc-ps --name=f14
 CONTAINERPID TTY  TIME CMD
 [root@lxc ~]#
 
 used lxc from master built a few days ago (haven't seen any change in master
 since then)
 
 On Thu, Jul 14, 2011 at 12:38 AM, Ramez Hanna rha...@informatiq.org wrote:
 
  here is an rpm build for latest master
  (bcbd102cba31a0054fe4204a39b5e8a411cde42f)
  http://download.opensuse.org/repositories/home:/ramezhanna/Fedora_15/
  for those who want to test on f15
  I will keep following master so keep an eye here for updates as well
 
 
  On Thu, Jul 7, 2011 at 4:08 PM, Michael H. Warfield 
  m...@wittsend.comwrote:
 
  On Wed, 2011-07-06 at 14:06 +0300, Ramez Hanna wrote:
   where can i get that patched code? should i clone master?
 
  Yeah, that would be one way.  Daniel checked it into git.  So building
  from git is probably the best way.  It hasn't popped out into a release
  yet.  Maybe soon.  His shot to call.
 
   On Mon, Jul 4, 2011 at 1:47 AM, Daniel Lezcano daniel.lezc...@free.fr
  wrote:
  
On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
 Hey all...

 So my testing has continued and I've now regression tested the v3
  patch
 and extended my testing.  Looks like, over all, everything came
  together
 nicely.  I'd ack that...
   
[ ... ]
   
 IAC...  The v3 patch does no harm to existing, working, cases and
 certainly covers the systemd case with F15 and that multipoint mount
 on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.
   That's
 an important step forward and needs to be pushed.  Not sure what the
 deal is here above with the libcgroup cgconfig service enabled on
  F14
 (maybe I'm doing something wrong) but that should not be a show
  stopper
 as a mount point in fstab deals with that situation nicely.  I'd
  like to
 see this applied ASAP and a turn cranked on the revision handle as
  this
 is needed for F15 and beyond.
   
Great ! Thanks Michael for testing.
   
Applied.
   
 -- Daniel
 
  Regards,
  Mike
  --
  Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
/\/\|=mhw=|\/\/  | (678) 463-0932 |
  http://www.wittsend.com/mhw/
NIC whois: MHW9  | An optimist believes we live in the best of
  all
   PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!
 
 
 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-15 Thread Ramez Hanna
On Fri, Jul 15, 2011 at 5:38 PM, Michael H. Warfield m...@wittsend.comwrote:

 On Fri, 2011-07-15 at 17:25 +0300, Ramez Hanna wrote:
  tested f14 and debian squeeze containers on f15 host (systemd)
  lxc-ps returns nothing for running container

 Confirmed broken for F14 container  on F15 host.

 Working on F14 container on F14 host.

I wonder what would be the difference between f14 and f15 in regards to the
layout of cgroups
that makes it work on f14 (libcgroup) and not f15(systemd)


 Another point on the curve.

 lxc-ps -A

 On F15 host shows all the processes but container names are missing.

I confirm that


 On F14 host shows all the processes with correct container names.

 Regards,
 Mike

  [root@lxc ~]# lxc-info --name=f14
  'f14' is RUNNING
  [root@lxc ~]# lxc-ps --name=f14
  CONTAINERPID TTY  TIME CMD
  [root@lxc ~]#
 
  used lxc from master built a few days ago (haven't seen any change in
 master
  since then)
 
  On Thu, Jul 14, 2011 at 12:38 AM, Ramez Hanna rha...@informatiq.org
 wrote:
 
   here is an rpm build for latest master
   (bcbd102cba31a0054fe4204a39b5e8a411cde42f)
   http://download.opensuse.org/repositories/home:/ramezhanna/Fedora_15/
   for those who want to test on f15
   I will keep following master so keep an eye here for updates as well
  
  
   On Thu, Jul 7, 2011 at 4:08 PM, Michael H. Warfield m...@wittsend.com
 wrote:
  
   On Wed, 2011-07-06 at 14:06 +0300, Ramez Hanna wrote:
where can i get that patched code? should i clone master?
  
   Yeah, that would be one way.  Daniel checked it into git.  So building
   from git is probably the best way.  It hasn't popped out into a
 release
   yet.  Maybe soon.  His shot to call.
  
On Mon, Jul 4, 2011 at 1:47 AM, Daniel Lezcano 
 daniel.lezc...@free.fr
   wrote:
   
 On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
  Hey all...
 
  So my testing has continued and I've now regression tested the
 v3
   patch
  and extended my testing.  Looks like, over all, everything came
   together
  nicely.  I'd ack that...

 [ ... ]

  IAC...  The v3 patch does no harm to existing, working, cases
 and
  certainly covers the systemd case with F15 and that multipoint
 mount
  on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.
That's
  an important step forward and needs to be pushed.  Not sure what
 the
  deal is here above with the libcgroup cgconfig service enabled
 on
   F14
  (maybe I'm doing something wrong) but that should not be a show
   stopper
  as a mount point in fstab deals with that situation nicely.  I'd
   like to
  see this applied ASAP and a turn cranked on the revision handle
 as
   this
  is needed for F15 and beyond.

 Great ! Thanks Michael for testing.

 Applied.

  -- Daniel
  
   Regards,
   Mike
   --
   Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
 /\/\|=mhw=|\/\/  | (678) 463-0932 |
   http://www.wittsend.com/mhw/
 NIC whois: MHW9  | An optimist believes we live in the best
 of
   all
PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of
 it!
  
  
  

 --
 Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |
 http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of
 all
  PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-15 Thread Michael H. Warfield
On Fri, 2011-07-15 at 17:46 +0300, Ramez Hanna wrote: 
 On Fri, Jul 15, 2011 at 5:38 PM, Michael H. Warfield m...@wittsend.comwrote:
 
  On Fri, 2011-07-15 at 17:25 +0300, Ramez Hanna wrote:
   tested f14 and debian squeeze containers on f15 host (systemd)
   lxc-ps returns nothing for running container
 
  Confirmed broken for F14 container  on F15 host.
 
  Working on F14 container on F14 host.
 
 I wonder what would be the difference between f14 and f15 in regards to the
 layout of cgroups
 that makes it work on f14 (libcgroup) and not f15(systemd)

On F15 systemd has cgroups mounted with multiple mount points.

On F14 you probably don't have libgroup enabled and are using a single
mount point.

Run the command mount -t cgroup on each and compare.

ITMT...  Try the patch on the -devel list with the following subject:

PATCH: lxc-ps works with systemd

Seems to fix the problem.  Run the patch against the git master.

Regards,
Mike

 
  Another point on the curve.
 
  lxc-ps -A
 
  On F15 host shows all the processes but container names are missing.
 
 I confirm that
 
 
  On F14 host shows all the processes with correct container names.
 
  Regards,
  Mike
 
   [root@lxc ~]# lxc-info --name=f14
   'f14' is RUNNING
   [root@lxc ~]# lxc-ps --name=f14
   CONTAINERPID TTY  TIME CMD
   [root@lxc ~]#
  
   used lxc from master built a few days ago (haven't seen any change in
  master
   since then)
  
   On Thu, Jul 14, 2011 at 12:38 AM, Ramez Hanna rha...@informatiq.org
  wrote:
  
here is an rpm build for latest master
(bcbd102cba31a0054fe4204a39b5e8a411cde42f)
http://download.opensuse.org/repositories/home:/ramezhanna/Fedora_15/
for those who want to test on f15
I will keep following master so keep an eye here for updates as well
   
   
On Thu, Jul 7, 2011 at 4:08 PM, Michael H. Warfield m...@wittsend.com
  wrote:
   
On Wed, 2011-07-06 at 14:06 +0300, Ramez Hanna wrote:
 where can i get that patched code? should i clone master?
   
Yeah, that would be one way.  Daniel checked it into git.  So building
from git is probably the best way.  It hasn't popped out into a
  release
yet.  Maybe soon.  His shot to call.
   
 On Mon, Jul 4, 2011 at 1:47 AM, Daniel Lezcano 
  daniel.lezc...@free.fr
wrote:

  On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
   Hey all...
  
   So my testing has continued and I've now regression tested the
  v3
patch
   and extended my testing.  Looks like, over all, everything came
together
   nicely.  I'd ack that...
 
  [ ... ]
 
   IAC...  The v3 patch does no harm to existing, working, cases
  and
   certainly covers the systemd case with F15 and that multipoint
  mount
   on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.
 That's
   an important step forward and needs to be pushed.  Not sure what
  the
   deal is here above with the libcgroup cgconfig service enabled
  on
F14
   (maybe I'm doing something wrong) but that should not be a show
stopper
   as a mount point in fstab deals with that situation nicely.  I'd
like to
   see this applied ASAP and a turn cranked on the revision handle
  as
this
   is needed for F15 and beyond.
 
  Great ! Thanks Michael for testing.
 
  Applied.
 
   -- Daniel
   
Regards,
Mike
--
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
  /\/\|=mhw=|\/\/  | (678) 463-0932 |
http://www.wittsend.com/mhw/
  NIC whois: MHW9  | An optimist believes we live in the best
  of
all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of
  it!
   
   
   
 
  --
  Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
/\/\|=mhw=|\/\/  | (678) 463-0932 |
  http://www.wittsend.com/mhw/
NIC whois: MHW9  | An optimist believes we live in the best of
  all
   PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!
 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-13 Thread Ramez Hanna
here is an rpm build for latest master
(bcbd102cba31a0054fe4204a39b5e8a411cde42f)
http://download.opensuse.org/repositories/home:/ramezhanna/Fedora_15/
for those who want to test on f15
I will keep following master so keep an eye here for updates as well

On Thu, Jul 7, 2011 at 4:08 PM, Michael H. Warfield m...@wittsend.comwrote:

 On Wed, 2011-07-06 at 14:06 +0300, Ramez Hanna wrote:
  where can i get that patched code? should i clone master?

 Yeah, that would be one way.  Daniel checked it into git.  So building
 from git is probably the best way.  It hasn't popped out into a release
 yet.  Maybe soon.  His shot to call.

  On Mon, Jul 4, 2011 at 1:47 AM, Daniel Lezcano daniel.lezc...@free.fr
 wrote:
 
   On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
Hey all...
   
So my testing has continued and I've now regression tested the v3
 patch
and extended my testing.  Looks like, over all, everything came
 together
nicely.  I'd ack that...
  
   [ ... ]
  
IAC...  The v3 patch does no harm to existing, working, cases and
certainly covers the systemd case with F15 and that multipoint mount
on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.
  That's
an important step forward and needs to be pushed.  Not sure what the
deal is here above with the libcgroup cgconfig service enabled on
 F14
(maybe I'm doing something wrong) but that should not be a show
 stopper
as a mount point in fstab deals with that situation nicely.  I'd like
 to
see this applied ASAP and a turn cranked on the revision handle as
 this
is needed for F15 and beyond.
  
   Great ! Thanks Michael for testing.
  
   Applied.
  
-- Daniel

 Regards,
 Mike
 --
 Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |
 http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of
 all
  PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!

--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-06 Thread Ramez Hanna
where can i get that patched code? should i clone master?

On Mon, Jul 4, 2011 at 1:47 AM, Daniel Lezcano daniel.lezc...@free.frwrote:

 On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
  Hey all...
 
  So my testing has continued and I've now regression tested the v3 patch
  and extended my testing.  Looks like, over all, everything came together
  nicely.  I'd ack that...

 [ ... ]

  IAC...  The v3 patch does no harm to existing, working, cases and
  certainly covers the systemd case with F15 and that multipoint mount
  on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.  That's
  an important step forward and needs to be pushed.  Not sure what the
  deal is here above with the libcgroup cgconfig service enabled on F14
  (maybe I'm doing something wrong) but that should not be a show stopper
  as a mount point in fstab deals with that situation nicely.  I'd like to
  see this applied ASAP and a turn cranked on the revision handle as this
  is needed for F15 and beyond.

 Great ! Thanks Michael for testing.

 Applied.

  -- Daniel


 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 Lxc-users mailing list
 Lxc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/lxc-users

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-03 Thread Daniel Lezcano
On 07/02/2011 07:28 PM, Michael H. Warfield wrote:
 Hey all...

 So my testing has continued and I've now regression tested the v3 patch
 and extended my testing.  Looks like, over all, everything came together
 nicely.  I'd ack that... 

[ ... ]

 IAC...  The v3 patch does no harm to existing, working, cases and
 certainly covers the systemd case with F15 and that multipoint mount
 on /sys/fs/cgroup.  The lxc stuff is broken on F15 without it.  That's
 an important step forward and needs to be pushed.  Not sure what the
 deal is here above with the libcgroup cgconfig service enabled on F14
 (maybe I'm doing something wrong) but that should not be a show stopper
 as a mount point in fstab deals with that situation nicely.  I'd like to
 see this applied ASAP and a turn cranked on the revision handle as this
 is needed for F15 and beyond.

Great ! Thanks Michael for testing.

Applied.

  -- Daniel

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-02 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com):
...
 F15 systemd:  Passed.
 F12 single mount: Passed.
 F13 single mount: Passed.
 F14 single mount: Passed.
 F14 libcgroup:Failed.
 
 I had the default /etc/cgconfig.conf file and here are the results:
 
 [root@berserker-base ~]# cat /etc/cgconfig.conf 
 #
 #  Copyright IBM Corporation. 2007
 #
 #  Authors:   Balbir Singh bal...@linux.vnet.ibm.com
 #  This program is free software; you can redistribute it and/or modify it
 #  under the terms of version 2.1 of the GNU Lesser General Public License
 #  as published by the Free Software Foundation.
 #
 #  This program is distributed in the hope that it would be useful, but
 #  WITHOUT ANY WARRANTY; without even the implied warranty of
 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 #
 # See man cgconfig.conf for further details.
 #
 # By default, mount all separately controllers
 # to /cgroup/controller name
 
 mount {
   cpuset  = /cgroup/cpuset;
   cpu = /cgroup/cpu;
   cpuacct = /cgroup/cpuacct;
   memory  = /cgroup/memory;
   devices = /cgroup/devices;
   freezer = /cgroup/freezer;
   net_cls = /cgroup/net_cls;
   ns  = /cgroup/ns;
   blkio   = /cgroup/blkio;
 }
 
 [root@berserker-base ~]# uname -a
 Linux berserker-base.wittsend.com 2.6.35.13-92.fc14.i686 #1 SMP Sat May 21 
 17:39:42 UTC 2011 i686 i686 i386 GNU/Linux
 [root@berserker-base ~]# mount -t cgroup
 cgroup on /cgroup/cpuset type cgroup (rw,relatime,cpuset)
 cgroup on /cgroup/cpu type cgroup (rw,relatime,cpu)
 cgroup on /cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
 cgroup on /cgroup/memory type cgroup (rw,relatime,memory)
 cgroup on /cgroup/devices type cgroup (rw,relatime,devices)
 cgroup on /cgroup/freezer type cgroup (rw,relatime,freezer)
 cgroup on /cgroup/net_cls type cgroup (rw,relatime,net_cls)
 cgroup on /cgroup/ns type cgroup (rw,relatime,ns)
 cgroup on /cgroup/blkio type cgroup (rw,relatime,blkio)
 [root@berserker-base ~]# lxc-start -n Ashaman
 lxc-start: no ns_cgroup option specified

Just a thought - does F14's kernel not support clone_children?  See output
of ls /cgroup/cpuset and see if /cgroup/cpuset/cgroup.clone_children exists.
If not, then yeah there's nothing that can be done without the ns cgroup.

Thanks for testing!

-serge

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-02 Thread Michael H. Warfield
On Sat, 2011-07-02 at 15:13 -0500, Serge Hallyn wrote: 
 Quoting Michael H. Warfield (m...@wittsend.com):
 ...
  F15 systemd:  Passed.
  F12 single mount: Passed.
  F13 single mount: Passed.
  F14 single mount: Passed.
  F14 libcgroup:Failed.
  
  I had the default /etc/cgconfig.conf file and here are the results:
  
  [root@berserker-base ~]# cat /etc/cgconfig.conf 
  #
  #  Copyright IBM Corporation. 2007
  #
  #  Authors: Balbir Singh bal...@linux.vnet.ibm.com
  #  This program is free software; you can redistribute it and/or modify it
  #  under the terms of version 2.1 of the GNU Lesser General Public License
  #  as published by the Free Software Foundation.
  #
  #  This program is distributed in the hope that it would be useful, but
  #  WITHOUT ANY WARRANTY; without even the implied warranty of
  #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  #
  # See man cgconfig.conf for further details.
  #
  # By default, mount all separately controllers
  # to /cgroup/controller name
  
  mount {
  cpuset  = /cgroup/cpuset;
  cpu = /cgroup/cpu;
  cpuacct = /cgroup/cpuacct;
  memory  = /cgroup/memory;
  devices = /cgroup/devices;
  freezer = /cgroup/freezer;
  net_cls = /cgroup/net_cls;
  ns  = /cgroup/ns;
  blkio   = /cgroup/blkio;
  }
  
  [root@berserker-base ~]# uname -a
  Linux berserker-base.wittsend.com 2.6.35.13-92.fc14.i686 #1 SMP Sat May 21 
  17:39:42 UTC 2011 i686 i686 i386 GNU/Linux
  [root@berserker-base ~]# mount -t cgroup
  cgroup on /cgroup/cpuset type cgroup (rw,relatime,cpuset)
  cgroup on /cgroup/cpu type cgroup (rw,relatime,cpu)
  cgroup on /cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
  cgroup on /cgroup/memory type cgroup (rw,relatime,memory)
  cgroup on /cgroup/devices type cgroup (rw,relatime,devices)
  cgroup on /cgroup/freezer type cgroup (rw,relatime,freezer)
  cgroup on /cgroup/net_cls type cgroup (rw,relatime,net_cls)
  cgroup on /cgroup/ns type cgroup (rw,relatime,ns)
  cgroup on /cgroup/blkio type cgroup (rw,relatime,blkio)
  [root@berserker-base ~]# lxc-start -n Ashaman
  lxc-start: no ns_cgroup option specified

 Just a thought - does F14's kernel not support clone_children?  See output
 of ls /cgroup/cpuset and see if /cgroup/cpuset/cgroup.clone_children exists.
 If not, then yeah there's nothing that can be done without the ns cgroup.

1) The ns cgroup does exist and is mounted.

2) It works with the single mount point and clone children is not
present.


To answer your question...

[mhw@berserker-base ~]$ ls /cgroup/cpuset/
cgroup.event_controlcpuset.memory_spread_page
cgroup.procscpuset.memory_spread_slab
cpuset.cpu_exclusivecpuset.mems
cpuset.cpus cpuset.sched_load_balance
cpuset.mem_exclusivecpuset.sched_relax_domain_level
cpuset.mem_hardwall libvirt
cpuset.memory_migrate   notify_on_release
cpuset.memory_pressure  release_agent
cpuset.memory_pressure_enabled  tasks

I guess not...


 Thanks for testing!

If that's all I can do, I'll do the best I can.  I'm currently up to my
eyeballs in another OpenSource project, some XAUTH coding in Openswan.
I need about 6 clones of me, I swear.  :-P

 -serge

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)

2011-07-02 Thread Michael H. Warfield
On Sat, 2011-07-02 at 23:04 +, Serge E. Hallyn wrote: 
 Quoting Michael H. Warfield (m...@wittsend.com):
  On Sat, 2011-07-02 at 15:13 -0500, Serge Hallyn wrote: 
   Quoting Michael H. Warfield (m...@wittsend.com):
   ...
F15 systemd:  Passed.
F12 single mount: Passed.
F13 single mount: Passed.
F14 single mount: Passed.
F14 libcgroup:Failed.

I had the default /etc/cgconfig.conf file and here are the results:

[root@berserker-base ~]# cat /etc/cgconfig.conf 
#
#  Copyright IBM Corporation. 2007
#
#  Authors: Balbir Singh bal...@linux.vnet.ibm.com
#  This program is free software; you can redistribute it and/or modify 
it
#  under the terms of version 2.1 of the GNU Lesser General Public 
License
#  as published by the Free Software Foundation.
#
#  This program is distributed in the hope that it would be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See man cgconfig.conf for further details.
#
# By default, mount all separately controllers
# to /cgroup/controller name

mount {
cpuset  = /cgroup/cpuset;
cpu = /cgroup/cpu;
cpuacct = /cgroup/cpuacct;
memory  = /cgroup/memory;
devices = /cgroup/devices;
freezer = /cgroup/freezer;
net_cls = /cgroup/net_cls;
ns  = /cgroup/ns;
blkio   = /cgroup/blkio;
}

[root@berserker-base ~]# uname -a
Linux berserker-base.wittsend.com 2.6.35.13-92.fc14.i686 #1 SMP Sat May 
21 17:39:42 UTC 2011 i686 i686 i386 GNU/Linux
[root@berserker-base ~]# mount -t cgroup
cgroup on /cgroup/cpuset type cgroup (rw,relatime,cpuset)
cgroup on /cgroup/cpu type cgroup (rw,relatime,cpu)
cgroup on /cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
cgroup on /cgroup/memory type cgroup (rw,relatime,memory)
cgroup on /cgroup/devices type cgroup (rw,relatime,devices)
cgroup on /cgroup/freezer type cgroup (rw,relatime,freezer)
cgroup on /cgroup/net_cls type cgroup (rw,relatime,net_cls)
cgroup on /cgroup/ns type cgroup (rw,relatime,ns)
cgroup on /cgroup/blkio type cgroup (rw,relatime,blkio)
[root@berserker-base ~]# lxc-start -n Ashaman
lxc-start: no ns_cgroup option specified
  
   Just a thought - does F14's kernel not support clone_children?  See output
   of ls /cgroup/cpuset and see if /cgroup/cpuset/cgroup.clone_children 
   exists.
   If not, then yeah there's nothing that can be done without the ns cgroup.
  
  1) The ns cgroup does exist and is mounted.

 Yes but it needs to be composed with the others :)

  2) It works with the single mount point and clone children is not
  present.

 Ok, cool.  So the results make perfect sense.

Sounds like we are in violent agreement then.

Acked-by: Michael H. Warfield m...@wittsend.com

 thanks,
 -serge

Regards,
Mike
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  m...@wittsend.com
   /\/\|=mhw=|\/\/  | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9  | An optimist believes we live in the best of all
 PGP Key: 0x674627FF| possible worlds.  A pessimist is sure of it!


signature.asc
Description: This is a digitally signed message part
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users