[Lxc-users] Latest test results - Was: cgroups: support cgroups mounted in multiple places (v3)
Michael H. Warfield
mhw at WittsEnd.com
Fri Jul 15 14:50:46 UTC 2011
On Fri, 2011-07-15 at 17:46 +0300, Ramez Hanna wrote:
> On Fri, Jul 15, 2011 at 5:38 PM, Michael H. Warfield <mhw at wittsend.com>wrote:
>
> > 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 at lxc ~]# lxc-info --name=f14
> > > 'f14' is RUNNING
> > > [root at lxc ~]# lxc-ps --name=f14
> > > CONTAINER PID TTY TIME CMD
> > > [root at 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 <rhanna at 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 <mhw at 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.lezcano at 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 | mhw at 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 | mhw at 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 | mhw at 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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110715/0c8f5bb3/attachment.pgp>
More information about the lxc-users
mailing list