Stuck on Starting container... since upgrade to precise :(
Luis Arias
kaaloo at gmail.com
Tue May 1 16:25:07 UTC 2012
Thank you Serge! I continued some work using an ec2 environment but local
is so much faster!
This is what's in my /etc/lxc/lxc.conf file which is straight from the
package installation (before the upgrade to precise):
lxc.network.type=veth
lxc.network.link=lxcbr0
lxc.network.flags=up
I'll learn more about lxc and see I can dig up a valid value for an
explicit lxc.cgroup.devices.allow setting.
Luis
On Tue, May 1, 2012 at 6:00 PM, Serge E. Hallyn <serge at hallyn.com> wrote:
> Quoting Luis Arias (kaaloo at gmail.com):
> > I found an error creating the container in the unit's container.log.
> I'll
> > go ahead and file a bug.
> >
> > luis at athena:/tmp/juju-local/luis-local/units/mysql-0$ cat container.log
> > lxc-start 1335813579.706 DEBUG lxc_conf - cgroup 'devices.deny'
> > set to 'a'
>
> This worked, but
>
> > lxc-start 1335813579.706 DEBUG lxc_cgroup - lxc_cgroup_path_get:
> > called for subsys devices name luis-local-mysql-0
> >
> > lxc-start 1335813579.706 DEBUG lxc_cgroup - get_init_cgroup:
> found
> > init cgroup for subsys devices at /
> >
> >
> > lxc-start 1335813579.707 DEBUG lxc_cgroup - using cgroup mounted
> > at '/sys/fs/cgroup/devices//lxc'
> > lxc-start 1335813579.707 DEBUG lxc_cgroup - lxc_cgroup_path_get:
> > returning /sys/fs/cgroup/devices//lxc/luis-local-mysql-0 for subsystem
> > devices.allow
> > lxc-start 1335813579.707 ERROR lxc_cgroup - write
> > /sys/fs/cgroup/devices//lxc/luis-local-mysql-0/devices.allow : Invalid
> > argument
>
> this failed. That suggests to me that the container configuration file
> has a bad lxc.cgroup.devices.allow entry.
>
> -serge
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120501/9b6a0d8a/attachment.html>
More information about the Juju
mailing list