deploying mysql service hang in "pending" state with lxc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to leanr juju on a oneiric box with lxc container.
I installed juju with:
$ sudo add-apt-repository ppa:juju/pkgs
$ sudo add-apt-repository ppa:charmers/
$ sudo apt-get update && sudo apt-get install juju charm-tools
I insalled charm with:
$ charm getall charm-repo/oneiric
juju version is 0.5+bzr504-
My environment.yaml is:
##################
environments:
lxc:
type: local
control-bucket: juju-ede2a53e03
admin-secret: c0f5b723fb2743a
default-series: oneiric
juju-origin: distro
data-dir: /var/jujustuff
default-
##################
I reproduce the problem several time after destroying my environment, and bootstraping again.
When i launch a mysql service with:
$ juju deploy --repository /home/ubuntu/
It end up in a pending state (even 45mn after the deployemnt).
juju status gives:
ubuntu@
machines:
0:
agent-state: running
dns-name: localhost
instance-id: local
instance-state: running
services:
mysql:
charm: local:oneiric/
relations: {}
units:
mysql/0:
machine: 0
2012-04-02 18:03:03,767 INFO 'status' command finished successfully
juju debug-log:
ubuntu@
2012-04-02 17:13:31,108 INFO Enabling distributed debug log.
2012-04-02 17:13:31,120 INFO Tailing logs - Ctrl-C to stop.
2012-04-02 17:13:53,391 Machine:0: juju.agents.machine DEBUG: Units changed old:set([]) new:set(
2012-04-02 17:13:53,391 Machine:0: juju.agents.machine DEBUG: Starting service unit: mysql/0 ...
2012-04-02 17:13:53,470 Machine:0: juju.state.unit DEBUG: Downloading charm local:oneiric/
2012-04-02 17:13:53,540 Machine:0: juju.state.unit DEBUG: Starting service unit mysql/0...
2012-04-02 17:13:53,544 Machine:0: unit.deploy DEBUG: Creating master container...
2012-04-02 17:28:34,070 Machine:0: unit.deploy DEBUG: Created master container ubuntu-
2012-04-02 17:28:34,071 Machine:0: unit.deploy INFO: Creating container mysql-0...
2012-04-02 17:28:40,314 Machine:0: unit.deploy INFO: Container created for mysql/0
2012-04-02 17:28:40,331 Machine:0: unit.deploy DEBUG: Charm extracted into container
2012-04-02 17:28:40,339 Machine:0: unit.deploy DEBUG: Starting container...
2012-04-02 17:28:40,407 Machine:0: unit.deploy INFO: Started container for mysql/0
2012-04-02 17:28:40,465 Machine:0: juju.state.unit INFO: Started service unit mysql/0
The lxc vm is up as i can have access to the console with
sudo lxc-console --name ubuntu-lxc-mysql-0
Changed in juju: | |
status: | New → Invalid |
Mhhh, works way better with "origin: ppa"....
this can be closed.