Stuck on Starting container... since upgrade to precise :(
Luis Arias
kaaloo at gmail.com
Mon Apr 30 19:23:55 UTC 2012
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.438 DEBUG lxc_conf - allocated pty
'/dev/pts/2' (4/5)
lxc-start 1335813579.438 DEBUG lxc_conf - allocated pty
'/dev/pts/5' (6/7)
lxc-start 1335813579.438 DEBUG lxc_conf - allocated pty
'/dev/pts/7' (8/9)
lxc-start 1335813579.438 DEBUG lxc_conf - allocated pty
'/dev/pts/8' (10/11)
lxc-start 1335813579.438 INFO lxc_conf - tty's configured
lxc-start 1335813579.438 DEBUG lxc_console - using '/dev/null' as
console
lxc-start 1335813579.438 DEBUG lxc_start - sigchild handler set
lxc-start 1335813579.438 INFO lxc_start - 'luis-local-mysql-0' is
initialized
lxc-start 1335813579.504 DEBUG lxc_start - Not dropping
cap_sys_boot or watching utmp
lxc-start 1335813579.515 DEBUG lxc_conf - instanciated veth
'veth8r7CN0/veth4k3zZf', index is '19'
lxc-start 1335813579.515 INFO lxc_conf - opened
/var/lib/lxc/luis-local-mysql-0/rootfs.hold as fd 18
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/' (rootfs)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/sys' (sysfs)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/proc' (proc)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/dev'
(devtmpfs)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/dev/pts'
(devpts)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/run' (tmpfs)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking '/' (ext4)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup' (tmpfs)
lxc-start 1335813579.520 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/cpuset' (cgroup)
lxc-start 1335813579.520 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/cpuset'
lxc-start 1335813579.521 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.521 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/cpuset has flags 0x2
lxc-start 1335813579.544 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/cpuset//lxc/luis-local-mysql-0'
lxc-start 1335813579.544 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/cpu' (cgroup)
lxc-start 1335813579.544 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/cpu'
lxc-start 1335813579.544 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.544 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/cpu has flags 0x2
lxc-start 1335813579.576 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/cpu//lxc/luis-local-mysql-0'
lxc-start 1335813579.576 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/cpuacct' (cgroup)
lxc-start 1335813579.576 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/cpuacct'
lxc-start 1335813579.576 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.576 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/cpuacct has flags 0x2
lxc-start 1335813579.596 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/cpuacct//lxc/luis-local-mysql-0'
lxc-start 1335813579.596 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/memory' (cgroup)
lxc-start 1335813579.596 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/memory'
lxc-start 1335813579.596 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.596 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/memory has flags 0x2
lxc-start 1335813579.632 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/memory//lxc/luis-local-mysql-0'
lxc-start 1335813579.632 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/devices' (cgroup)
lxc-start 1335813579.632 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/devices'
lxc-start 1335813579.632 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.632 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
lxc-start 1335813579.633 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/devices//lxc/luis-local-mysql-0'
lxc-start 1335813579.633 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/freezer' (cgroup)
lxc-start 1335813579.633 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/freezer'
lxc-start 1335813579.633 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.633 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/freezer has flags 0x2
lxc-start 1335813579.696 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/freezer//lxc/luis-local-mysql-0'
lxc-start 1335813579.696 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/blkio' (cgroup)
lxc-start 1335813579.696 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/blkio'
lxc-start 1335813579.696 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.696 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/blkio has flags 0x2
lxc-start 1335813579.697 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/blkio//lxc/luis-local-mysql-0'
lxc-start 1335813579.697 DEBUG lxc_cgroup - checking
'/sys/fs/cgroup/perf_event' (cgroup)
lxc-start 1335813579.697 INFO lxc_cgroup - found cgroup mounted
at '/sys/fs/cgroup/perf_event'
lxc-start 1335813579.697 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.697 DEBUG lxc_cgroup - cgroup
/sys/fs/cgroup/perf_event has flags 0x2
lxc-start 1335813579.697 INFO lxc_cgroup - created cgroup
'/sys/fs/cgroup/perf_event//lxc/luis-local-mysql-0'
lxc-start 1335813579.697 DEBUG lxc_cgroup - checking
'/sys/fs/fuse/connections' (fusectl)
lxc-start 1335813579.697 DEBUG lxc_cgroup - checking
'/sys/kernel/debug' (debugfs)
lxc-start 1335813579.697 DEBUG lxc_cgroup - checking
'/sys/kernel/security' (securityfs)
lxc-start 1335813579.698 DEBUG lxc_cgroup - checking '/run/lock'
(tmpfs)
lxc-start 1335813579.698 DEBUG lxc_cgroup - checking '/run/shm'
(tmpfs)
lxc-start 1335813579.698 DEBUG lxc_cgroup - checking
'/proc/sys/fs/binfmt_misc' (binfmt_misc)
lxc-start 1335813579.698 DEBUG lxc_cgroup - checking
'/home/luis/.gvfs' (fuse.gvfs-fuse-daemon)
lxc-start 1335813579.699 DEBUG lxc_conf - move '(null)' to '29587'
lxc-start 1335813579.699 INFO lxc_conf - 'luis-local-mysql-0'
hostname has been setup
lxc-start 1335813579.702 DEBUG lxc_conf - mac address
'00:16:3e:15:b9:65' on 'eth0' has been setup
lxc-start 1335813579.705 DEBUG lxc_conf - 'eth0' has been setup
lxc-start 1335813579.705 INFO lxc_conf - network has been setup
lxc-start 1335813579.705 DEBUG lxc_conf - mounted
'/var/lib/lxc/luis-local-mysql-0/rootfs' on '/usr/lib/lxc/root'
lxc-start 1335813579.706 DEBUG lxc_conf - mounted 'proc' on
'/usr/lib/lxc/root/proc', type 'proc'
lxc-start 1335813579.706 DEBUG lxc_conf - mounted 'sysfs' on
'/usr/lib/lxc/root/sys', type 'sysfs'
lxc-start 1335813579.706 INFO lxc_conf - mount points have been
setup
lxc-start 1335813579.706 INFO lxc_conf - mount points have been
setup
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.706 DEBUG lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
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
lxc-start 1335813579.706 DEBUG lxc_conf - cgroup 'devices.deny'
set to 'a'
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
lxc-start 1335813579.707 ERROR lxc_conf - failed to setup the
cgroups for 'luis-local-mysql-0'
lxc-start 1335813579.707 ERROR lxc_start - failed to setup the
container
lxc-start 1335813579.707 ERROR lxc_sync - invalid sequence number
1. expected 2
lxc-start 1335813579.707 ERROR lxc_start - failed to spawn
'luis-local-mysql-0'
lxc-start 1335813579.707 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.707 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/cpuset//lxc/luis-local-mysql-0
lxc-start 1335813579.764 DEBUG lxc_cgroup -
'/sys/fs/cgroup/cpuset//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813579.764 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.764 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/cpu//lxc/luis-local-mysql-0
lxc-start 1335813579.800 DEBUG lxc_cgroup -
'/sys/fs/cgroup/cpu//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813579.800 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.800 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/cpuacct//lxc/luis-local-mysql-0
lxc-start 1335813579.858 DEBUG lxc_cgroup -
'/sys/fs/cgroup/cpuacct//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813579.858 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.858 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/memory//lxc/luis-local-mysql-0
lxc-start 1335813579.900 DEBUG lxc_cgroup -
'/sys/fs/cgroup/memory//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813579.900 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.900 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/devices//lxc/luis-local-mysql-0
lxc-start 1335813579.956 DEBUG lxc_cgroup -
'/sys/fs/cgroup/devices//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813579.956 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813579.956 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/freezer//lxc/luis-local-mysql-0
lxc-start 1335813580.020 DEBUG lxc_cgroup -
'/sys/fs/cgroup/freezer//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813580.020 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813580.020 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/blkio//lxc/luis-local-mysql-0
lxc-start 1335813580.057 DEBUG lxc_cgroup -
'/sys/fs/cgroup/blkio//lxc/luis-local-mysql-0' unlinked
lxc-start 1335813580.058 DEBUG lxc_cgroup - get_init_cgroup: found
init cgroup for subsys (null) at /
lxc-start 1335813580.058 DEBUG lxc_cgroup - destroying
/sys/fs/cgroup/perf_event//lxc/luis-local-mysql-0
lxc-start 1335813580.064 DEBUG lxc_cgroup -
'/sys/fs/cgroup/perf_event//lxc/luis-local-mysql-0' unlinked
On Mon, Apr 30, 2012 at 12:05 PM, Luis Arias <kaaloo at gmail.com> wrote:
> Hi,
>
> 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:
>
> luis at athena:~$ juju bootstrap
> 2012-04-30 11:21:25,134 INFO Bootstrapping environment 'local' (origin:
> ppa type: local)...
> 2012-04-30 11:21:25,135 INFO Checking for required packages...
> 2012-04-30 11:21:25,553 INFO Starting networking...
> 2012-04-30 11:21:25,669 INFO Starting zookeeper...
> 2012-04-30 11:21:25,719 INFO Starting storage server...
> 2012-04-30 11:21:27,035 INFO Initializing zookeeper hierarchy
> 2012-04-30 11:21:27,207 INFO Starting machine agent (origin: ppa)...
> 2012-04-30 11:21:28,218 INFO Environment bootstrapped
> 2012-04-30 11:21:28,219 INFO 'bootstrap' command finished successfully
> luis at athena:~$ cd Code/charms/
> luis at athena:~/Code/charms$ juju deploy wordpress
> 2012-04-30 11:21:39,737 INFO Searching for charm cs:precise/wordpress in
> charm store
> 2012-04-30 11:21:41,790 INFO Charm deployed as service: 'wordpress'
> 2012-04-30 11:21:41,790 INFO 'deploy' command finished successfully
> luis at athena:~/Code/charms$ juju debug-log
> 2012-04-30 11:21:46,206 INFO Enabling distributed debug log.
> 2012-04-30 11:21:46,231 INFO Tailing logs - Ctrl-C to stop.
> ^Cluis at athena:~/Code/charms$ juju debug-log
> 2012-04-30 11:24:01,417 INFO Enabling distributed debug log.
> 2012-04-30 11:24:01,421 INFO Tailing logs - Ctrl-C to stop.
> 2012-04-30 11:24:36,990 Machine:0: unit.deploy DEBUG: Created master
> container luis-local-0-template
> 2012-04-30 11:24:36,991 Machine:0: unit.deploy INFO: Creating container
> wordpress-0...
> 2012-04-30 11:24:38,544 Machine:0: unit.deploy INFO: Container created for
> wordpress/0
> 2012-04-30 11:24:38,552 Machine:0: unit.deploy DEBUG: Charm extracted into
> container
> 2012-04-30 11:24:38,561 Machine:0: unit.deploy DEBUG: Starting container...
>
> 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 ?
>
> Thanks !
> Luis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120430/512d9379/attachment-0001.html>
More information about the Juju
mailing list