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

2011-07-10 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 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
>
>
> --
> 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-us...@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-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


[lxc-devel] [ lxc-Bugs-3357704 ] lxc-init fails with shared root fs on Fedora 15

2011-07-10 Thread SourceForge.net

Bugs item #3357704, was opened at 2011-07-07 15:42
Message generated for change (Tracker Item Submitted) made by moschny
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3357704&group_id=163076

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Moschny (moschny)
Assigned to: Nobody/Anonymous (nobody)
Summary: lxc-init fails with shared root fs on Fedora 15

Initial Comment:
See https://bugzilla.redhat.com/show_bug.cgi?id=694931:

# lxc-create -n foo
# lxc-execute -n foo /bin/bash
lxc-init: failed to mount /dev/mqueue : Too many levels of symbolic links

The direct reason is that /dev/mqueue is mounted with type autofs by systemd.

In the end however it is unclear whether lxc_init should try to mount  this at 
all, see later comments in the mentioned bug.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=826303&aid=3357704&group_id=163076

--
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-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] cgroups: support cgroups mounted in multiple places (v3)

2011-07-10 Thread jonessex
Built from git and still seeing the same problem: it appears to be down to 
incompatibility with libcgroup/libvirt  as removing these from my system (and 
therefore mounting /cgroup with mount as opposed to the cgconfig service) seems 
to let me start a container OK. 

On 3 Jul 2011, at 19:24, jonathan essex wrote:

> I seem to be having this same issue in a Scientific Linux 6.0 (RHEL 6 clone) 
> installation with lxc-0.7.4.1
> 
> lxc-checkconfig seems to think everything is OK, but when I try to lxc-start 
> a container I've created, I get this error message:
> 
> lxc-start: no ns_cgroup option specified
> lxc-start: failed to spawn 'centos-test'
> lxc-start: No such file or directory - failed to remove cgroup 
> '/cgroup/cpuset/centos-test'
> 
> Is this the problem under discussion? I'm new to lxc, so quite possible I'm 
> just misunderstanding something.
> 
> Happy to test the patch if someone will outline how to get it/apply it. 
> (Aware that this is probably a tedious newbie type question, but asking 
> anyway)
> 
> Cheers
> Jon


--
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-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel


Re: [lxc-devel] cgroups: support cgroups mounted in multiple places (v3)

2011-07-10 Thread Michael H. Warfield
On Mon, 2011-07-04 at 15:21 +0100, jonessex wrote:
> Built from git and still seeing the same problem: it appears to be
> down to incompatibility with libcgroup/libvirt as removing these from
> my system (and therefore mounting /cgroup with mount as opposed to the
> cgconfig service) seems to let me start a container OK. 

That's a known problem.  You don't have to remove them, merely disable
them, by running "chkconfig cgconfig off" and "ckconfig cgred off" and
rebooting.  Then mount your cgroup on a common mount point.  I get the
impression from Serge and Daniel that this problem can't be solved with
that kernel because that kernel doesn't support clone_children so you
don't have any recourse.

> On 3 Jul 2011, at 19:24, jonathan essex wrote:
> 
> > I seem to be having this same issue in a Scientific Linux 6.0 (RHEL 6 
> > clone) installation with lxc-0.7.4.1
> > 
> > lxc-checkconfig seems to think everything is OK, but when I try to 
> > lxc-start a container I've created, I get this error message:
> > 
> > lxc-start: no ns_cgroup option specified
> > lxc-start: failed to spawn 'centos-test'
> > lxc-start: No such file or directory - failed to remove cgroup 
> > '/cgroup/cpuset/centos-test'
> > 
> > Is this the problem under discussion? I'm new to lxc, so quite possible I'm 
> > just misunderstanding something.
> > 
> > Happy to test the patch if someone will outline how to get it/apply it. 
> > (Aware that this is probably a tedious newbie type question, but asking 
> > anyway)
> > 
> > Cheers
> > Jon

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-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel