[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-10-02 Thread Launchpad Bug Tracker
This bug was fixed in the package lxc - 1.1.0~alpha2-0ubuntu2 --- lxc (1.1.0~alpha2-0ubuntu2) utopic; urgency=medium * Cherry-pick usptream bugfix for lxc-usernic test. -- Stephane GraberThu, 02 Oct 2014 15:01:56 -0400 ** Changed in: lxc (Ubuntu) Status: Fix Committed =

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-03-21 Thread Serge Hallyn
** Changed in: lxc (Ubuntu) Importance: Undecided => Wishlist ** Changed in: lxc (Ubuntu) Status: Incomplete => Confirmed ** Changed in: lxc (Ubuntu) Status: Confirmed => Fix Committed ** No longer affects: libcgroup (Ubuntu) -- You received this bug notification because you a

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-03-16 Thread Serge Hallyn
@anavarre if you pass -P to lxc-create, then you must also pass -P to lxc-start. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libcgroup in Ubuntu. https://bugs.launchpad.net/bugs/1271000 Title: lxc-start fails with Out of memory

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-03-15 Thread anavarre
I cannot confirm the above behavior. $ sudo lxc-create -t ubuntu -n myserver -P $HOME/lxc Checking cache download in /usr/local/var/cache/lxc/trusty/rootfs-amd64 ... Copy /usr/local/var/cache/lxc/trusty/rootfs-amd64 to /home/anavarre/lxc/myserver/rootfs ... Copying rootfs to /home/username/lxc/

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-28 Thread David Favor
Or maybe keep -t optional (so it works like always). And generate the informational message if -t is missing or '-t none' is specified. As more + more people use LXC, having this simple message seems like a life saver for newbies, like me. Thanks for the info. -- You received this bug notifica

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-28 Thread David Favor
Ah... now I understand... So this behavior is actually desirable. For example, to generate an empty rootfs when creating a new OS template or App template. This way the rootfs can be manually populated + tested before committing details to the template. Seems like having '-t none' might be good

Re: [Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-28 Thread Serge Hallyn
Quoting David Favor (da...@davidfavor.com): > Correct. It appears the default template processing (default meaning no > template specified) seems like it could use a bit of work. Ok, thanks. > Seems like specifying no template should either throw an error or create > some form of container that w

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-27 Thread David Favor
Correct. It appears the default template processing (default meaning no template specified) seems like it could use a bit of work. Seems like specifying no template should either throw an error or create some form of container that will start. -- You received this bug notification because you ar

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-25 Thread Serge Hallyn
Sorry, I'm confused at this point. If I understand correctly, if you do lxc-create -n test the container fails to start, and if you do lxc-create -t ubuntu -n test then it succeeds? I agree that it would seem sensible to have the first case default to the ubuntu or ubuntu-cloud template, howe

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-23 Thread David Favor
Ah... this works... lxc-create -t ubuntu -n test lxc-start -n test My guess is the default container template is suppose to be the template matching the default OS, which in this case is ubuntu. Somehow this isn't being done. -- You received this bug notification because you are a member of Ub

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-23 Thread David Favor
Hum... Something is seriously amiss... The log file says /var/lib/lxc/c1/config is being used, which is incorrect... as /var/lib/lxc/c1 does note exist. I'm guessing the config file associated with the container (test) should be used, which is... /var/lib/lxc/test/config (test instead of c1) + e

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-23 Thread David Favor
Ugh... deinstalled + reinstall cgroup-lite + now additional errors occur. Hum... more errors + start.log looks like I'm actually making progress. Attaching start.log file for entire log... net1# lxc-destroy -n test net1# lxc-create -n test net1# lxc-start -n test -l trace -o start.out lxc-start:

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-23 Thread David Favor
net1# cat /proc/self/mounts rootfs / rootfs rw 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 udev /dev devtmpfs rw,relatime,size=4071956k,nr_inodes=1017989,mode=755 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptm

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-22 Thread Serge Hallyn
If this is still a problem, could you please show the result of cat /proc/self/mounts as well as doing sudo lxc-start -n c1 -l trace -o start.out and attaching the resulting start.out here? Note that if you have libcgroup installed, it is recommended to install cgroup-lite instead. ** Changed

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-21 Thread David Favor
net1# uname -a Linux net1.bizcooker.com 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux net1# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 13.10 Release:13.10 Codename: saucy net1# lxc-version

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

2014-01-20 Thread David Favor
Hum... I set the package to lxc + it changed to libcgroup. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libcgroup in Ubuntu. https://bugs.launchpad.net/bugs/1271000 Title: lxc-start fails with Out of memory reading cgroups To man