I found an error creating the container in the unit's container.log.  I'll go ahead and file a bug.<div><br></div><div><div>luis@athena:/tmp/juju-local/luis-local/units/mysql-0$ cat container.log </div><div>      lxc-start 1335813579.438 DEBUG    lxc_conf - allocated pty '/dev/pts/2' (4/5)</div>

<div>      lxc-start 1335813579.438 DEBUG    lxc_conf - allocated pty '/dev/pts/5' (6/7)</div><div>      lxc-start 1335813579.438 DEBUG    lxc_conf - allocated pty '/dev/pts/7' (8/9)</div><div>      lxc-start 1335813579.438 DEBUG    lxc_conf - allocated pty '/dev/pts/8' (10/11)</div>

<div>      lxc-start 1335813579.438 INFO     lxc_conf - tty's configured</div><div>      lxc-start 1335813579.438 DEBUG    lxc_console - using '/dev/null' as console</div><div>      lxc-start 1335813579.438 DEBUG    lxc_start - sigchild handler set</div>

<div>      lxc-start 1335813579.438 INFO     lxc_start - 'luis-local-mysql-0' is initialized</div><div>      lxc-start 1335813579.504 DEBUG    lxc_start - Not dropping cap_sys_boot or watching utmp</div><div><br>
</div>
<div>      lxc-start 1335813579.515 DEBUG    lxc_conf - instanciated veth 'veth8r7CN0/veth4k3zZf', index is '19'</div><div>      lxc-start 1335813579.515 INFO     lxc_conf - opened /var/lib/lxc/luis-local-mysql-0/rootfs.hold as fd 18</div>

<div><br></div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/' (rootfs)</div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/sys' (sysfs)</div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/proc' (proc)</div>

<div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/dev' (devtmpfs)</div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/dev/pts' (devpts)</div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/run' (tmpfs)</div>

<div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/' (ext4)</div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup' (tmpfs)</div><div>      lxc-start 1335813579.520 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/cpuset' (cgroup)</div>

<div>      lxc-start 1335813579.520 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/cpuset'</div><div>      lxc-start 1335813579.521 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.521 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/cpuset has flags 0x2</div><div>      lxc-start 1335813579.544 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/cpuset//lxc/luis-local-mysql-0'</div>

<div>      lxc-start 1335813579.544 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/cpu' (cgroup)</div><div>      lxc-start 1335813579.544 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/cpu'</div>

<div>      lxc-start 1335813579.544 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.544 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/cpu has flags 0x2</div>

<div>      lxc-start 1335813579.576 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/cpu//lxc/luis-local-mysql-0'</div><div>      lxc-start 1335813579.576 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/cpuacct' (cgroup)</div>

<div>      lxc-start 1335813579.576 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/cpuacct'</div><div>      lxc-start 1335813579.576 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.576 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/cpuacct has flags 0x2</div><div>      lxc-start 1335813579.596 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/cpuacct//lxc/luis-local-mysql-0'</div>

<div>      lxc-start 1335813579.596 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/memory' (cgroup)</div><div>      lxc-start 1335813579.596 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/memory'</div>

<div>      lxc-start 1335813579.596 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.596 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/memory has flags 0x2</div>

<div>      lxc-start 1335813579.632 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/memory//lxc/luis-local-mysql-0'</div><div>      lxc-start 1335813579.632 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/devices' (cgroup)</div>

<div>      lxc-start 1335813579.632 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/devices'</div><div>      lxc-start 1335813579.632 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.632 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/devices has flags 0x2</div><div>      lxc-start 1335813579.633 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/devices//lxc/luis-local-mysql-0'</div>

<div>      lxc-start 1335813579.633 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/freezer' (cgroup)</div><div>      lxc-start 1335813579.633 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/freezer'</div>

<div>      lxc-start 1335813579.633 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.633 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/freezer has flags 0x2</div>

<div>      lxc-start 1335813579.696 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/freezer//lxc/luis-local-mysql-0'</div><div>      lxc-start 1335813579.696 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/blkio' (cgroup)</div>

<div>      lxc-start 1335813579.696 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/blkio'</div><div>      lxc-start 1335813579.696 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.696 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/blkio has flags 0x2</div><div>      lxc-start 1335813579.697 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/blkio//lxc/luis-local-mysql-0'</div>

<div>      lxc-start 1335813579.697 DEBUG    lxc_cgroup - checking '/sys/fs/cgroup/perf_event' (cgroup)</div><div>      lxc-start 1335813579.697 INFO     lxc_cgroup - found cgroup mounted at '/sys/fs/cgroup/perf_event'</div>

<div>      lxc-start 1335813579.697 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.697 DEBUG    lxc_cgroup - cgroup /sys/fs/cgroup/perf_event has flags 0x2</div>

<div>      lxc-start 1335813579.697 INFO     lxc_cgroup - created cgroup '/sys/fs/cgroup/perf_event//lxc/luis-local-mysql-0'</div><div>      lxc-start 1335813579.697 DEBUG    lxc_cgroup - checking '/sys/fs/fuse/connections' (fusectl)</div>

<div>      lxc-start 1335813579.697 DEBUG    lxc_cgroup - checking '/sys/kernel/debug' (debugfs)</div><div>      lxc-start 1335813579.697 DEBUG    lxc_cgroup - checking '/sys/kernel/security' (securityfs)</div>

<div>      lxc-start 1335813579.698 DEBUG    lxc_cgroup - checking '/run/lock' (tmpfs)</div><div>      lxc-start 1335813579.698 DEBUG    lxc_cgroup - checking '/run/shm' (tmpfs)</div><div>      lxc-start 1335813579.698 DEBUG    lxc_cgroup - checking '/proc/sys/fs/binfmt_misc' (binfmt_misc)</div>

<div>      lxc-start 1335813579.698 DEBUG    lxc_cgroup - checking '/home/luis/.gvfs' (fuse.gvfs-fuse-daemon)</div><div>      lxc-start 1335813579.699 DEBUG    lxc_conf - move '(null)' to '29587'</div>

<div>      lxc-start 1335813579.699 INFO     lxc_conf - 'luis-local-mysql-0' hostname has been setup</div><div>      lxc-start 1335813579.702 DEBUG    lxc_conf - mac address '00:16:3e:15:b9:65' on 'eth0' has been setup</div>

<div>      lxc-start 1335813579.705 DEBUG    lxc_conf - 'eth0' has been setup</div><div>      lxc-start 1335813579.705 INFO     lxc_conf - network has been setup</div><div>      lxc-start 1335813579.705 DEBUG    lxc_conf - mounted '/var/lib/lxc/luis-local-mysql-0/rootfs' on '/usr/lib/lxc/root'</div>

<div>      lxc-start 1335813579.706 DEBUG    lxc_conf - mounted 'proc' on '/usr/lib/lxc/root/proc', type 'proc'</div><div>      lxc-start 1335813579.706 DEBUG    lxc_conf - mounted 'sysfs' on '/usr/lib/lxc/root/sys', type 'sysfs'</div>

<div>      lxc-start 1335813579.706 INFO     lxc_conf - mount points have been setup</div><div>      lxc-start 1335813579.706 INFO     lxc_conf - mount points have been setup</div><div>      lxc-start 1335813579.706 DEBUG    lxc_cgroup - lxc_cgroup_path_get: called for subsys devices name luis-local-mysql-0</div>

<div><br></div><div>      lxc-start 1335813579.706 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys devices at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.706 DEBUG    lxc_cgroup - using cgroup mounted at '/sys/fs/cgroup/devices//lxc'</div>

<div>      lxc-start 1335813579.706 DEBUG    lxc_cgroup - lxc_cgroup_path_get: returning /sys/fs/cgroup/devices//lxc/luis-local-mysql-0 for subsystem devices.deny</div><div>      lxc-start 1335813579.706 DEBUG    lxc_conf - cgroup 'devices.deny' set to 'a'</div>

<div>      lxc-start 1335813579.706 DEBUG    lxc_cgroup - lxc_cgroup_path_get: called for subsys devices name luis-local-mysql-0</div><div><br></div><div>      lxc-start 1335813579.706 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys devices at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.707 DEBUG    lxc_cgroup - using cgroup mounted at '/sys/fs/cgroup/devices//lxc'</div><div>      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</div>

<div>      lxc-start 1335813579.707 ERROR    lxc_cgroup - write /sys/fs/cgroup/devices//lxc/luis-local-mysql-0/devices.allow : Invalid argument</div><div>      lxc-start 1335813579.707 ERROR    lxc_conf - failed to setup the cgroups for 'luis-local-mysql-0'</div>

<div>      lxc-start 1335813579.707 ERROR    lxc_start - failed to setup the container</div><div>      lxc-start 1335813579.707 ERROR    lxc_sync - invalid sequence number 1. expected 2</div><div>      lxc-start 1335813579.707 ERROR    lxc_start - failed to spawn 'luis-local-mysql-0'</div>

<div>      lxc-start 1335813579.707 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.707 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/cpuset//lxc/luis-local-mysql-0</div>

<div><br></div><div>      lxc-start 1335813579.764 DEBUG    lxc_cgroup - '/sys/fs/cgroup/cpuset//lxc/luis-local-mysql-0' unlinked</div><div>      lxc-start 1335813579.764 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.764 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/cpu//lxc/luis-local-mysql-0</div><div><br></div><div>      lxc-start 1335813579.800 DEBUG    lxc_cgroup - '/sys/fs/cgroup/cpu//lxc/luis-local-mysql-0' unlinked</div>

<div>      lxc-start 1335813579.800 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.800 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/cpuacct//lxc/luis-local-mysql-0</div>

<div><br></div><div>      lxc-start 1335813579.858 DEBUG    lxc_cgroup - '/sys/fs/cgroup/cpuacct//lxc/luis-local-mysql-0' unlinked</div><div>      lxc-start 1335813579.858 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.858 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/memory//lxc/luis-local-mysql-0</div><div><br></div><div>      lxc-start 1335813579.900 DEBUG    lxc_cgroup - '/sys/fs/cgroup/memory//lxc/luis-local-mysql-0' unlinked</div>

<div>      lxc-start 1335813579.900 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813579.900 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/devices//lxc/luis-local-mysql-0</div>

<div><br></div><div>      lxc-start 1335813579.956 DEBUG    lxc_cgroup - '/sys/fs/cgroup/devices//lxc/luis-local-mysql-0' unlinked</div><div>      lxc-start 1335813579.956 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813579.956 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/freezer//lxc/luis-local-mysql-0</div><div><br></div><div>      lxc-start 1335813580.020 DEBUG    lxc_cgroup - '/sys/fs/cgroup/freezer//lxc/luis-local-mysql-0' unlinked</div>

<div>      lxc-start 1335813580.020 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div><div><br></div><div><br></div><div>      lxc-start 1335813580.020 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/blkio//lxc/luis-local-mysql-0</div>

<div><br></div><div>      lxc-start 1335813580.057 DEBUG    lxc_cgroup - '/sys/fs/cgroup/blkio//lxc/luis-local-mysql-0' unlinked</div><div>      lxc-start 1335813580.058 DEBUG    lxc_cgroup - get_init_cgroup: found init cgroup for subsys (null) at /</div>

<div><br></div><div><br></div><div>      lxc-start 1335813580.058 DEBUG    lxc_cgroup - destroying /sys/fs/cgroup/perf_event//lxc/luis-local-mysql-0</div><div><br></div><div>      lxc-start 1335813580.064 DEBUG    lxc_cgroup - '/sys/fs/cgroup/perf_event//lxc/luis-local-mysql-0' unlinked</div>

<div><br></div><br><div class="gmail_quote">On Mon, Apr 30, 2012 at 12:05 PM, Luis Arias <span dir="ltr"><<a href="mailto:kaaloo@gmail.com" target="_blank">kaaloo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<div><br></div><div>I don't really know what happened, I changed the default series to precise in my environments.yaml and also deleted my local directory under /tmp and tested deploying the wordpress charm and I'm stuck on starting container:</div>


<div><br></div><div><div>luis@athena:~$ juju bootstrap </div><div>2012-04-30 11:21:25,134 INFO Bootstrapping environment 'local' (origin: ppa type: local)...</div><div>2012-04-30 11:21:25,135 INFO Checking for required packages...</div>


<div>2012-04-30 11:21:25,553 INFO Starting networking...</div><div>2012-04-30 11:21:25,669 INFO Starting zookeeper...</div><div>2012-04-30 11:21:25,719 INFO Starting storage server...</div><div>2012-04-30 11:21:27,035 INFO Initializing zookeeper hierarchy</div>


<div>2012-04-30 11:21:27,207 INFO Starting machine agent (origin: ppa)... </div><div>2012-04-30 11:21:28,218 INFO Environment bootstrapped</div><div>2012-04-30 11:21:28,219 INFO 'bootstrap' command finished successfully</div>


<div>luis@athena:~$ cd Code/charms/</div><div>luis@athena:~/Code/charms$ juju deploy wordpress</div><div>2012-04-30 11:21:39,737 INFO Searching for charm cs:precise/wordpress in charm store</div><div>2012-04-30 11:21:41,790 INFO Charm deployed as service: 'wordpress'</div>


<div>2012-04-30 11:21:41,790 INFO 'deploy' command finished successfully</div><div>luis@athena:~/Code/charms$ juju debug-log </div><div>2012-04-30 11:21:46,206 INFO Enabling distributed debug log.</div><div>2012-04-30 11:21:46,231 INFO Tailing logs - Ctrl-C to stop.</div>


<div>^Cluis@athena:~/Code/charms$ juju debug-log </div><div>2012-04-30 11:24:01,417 INFO Enabling distributed debug log.</div><div>2012-04-30 11:24:01,421 INFO Tailing logs - Ctrl-C to stop.</div><div>2012-04-30 11:24:36,990 Machine:0: unit.deploy DEBUG: Created master container luis-local-0-template</div>


<div>2012-04-30 11:24:36,991 Machine:0: unit.deploy INFO: Creating container wordpress-0...</div><div>2012-04-30 11:24:38,544 Machine:0: unit.deploy INFO: Container created for wordpress/0</div><div>2012-04-30 11:24:38,552 Machine:0: unit.deploy DEBUG: Charm extracted into container</div>


<div>2012-04-30 11:24:38,561 Machine:0: unit.deploy DEBUG: Starting container...</div></div><div><br></div><div>I know this step is long (took 15 min on oneiric) but I have been waiting to see if it proceeded for more than half an hour and its still stuck.  Are there any other log files that could bring up some hints as to why this is happening ? </div>


<div><br></div><div>Thanks !</div><span class="HOEnZb"><font color="#888888"><div>Luis</div>
</font></span></blockquote></div><br></div>