setup tutorial with local provider - never goes beyond pending

Andrew Wilkins andrew.wilkins at canonical.com
Mon Oct 7 06:29:03 UTC 2013


Hi Dan,

It may take a while to come up the first time, as the LXC template will
need to debootstrap. If it never comes up, then
~/.juju/local/log/machine-0.log is probably the best bet for diagnosis. If
you could share that, I'll take a look. In the mean time, I'm installing
12.04.03 and juju 1.14.1, and I'll see what I get.

Cheers,
Andrew


On Mon, Oct 7, 2013 at 11:48 AM, Dan Kortschak <
dan.kortschak at adelaide.edu.au> wrote:

> I have installed juju according to the instructions at [1] for a local
> machine running 12.04 (with the recommended raring 3.8 kernel).
>
> I have then run through the micro tutorial/demo at [2] - including
> turning of ufw. Everything seems to work except that the status does not
> go beyond pending:
>
> $ sudo juju bootstrap
> $ juju deploy mysql
> $ juju deploy wordpress
> $ juju add-relation wordpress mysql
> $ juju expose wordpress
> $ juju status
> environment: local
> machines:
>   "0":
>     agent-state: started
>     agent-version: 1.14.1.1
>     dns-name: 10.0.3.1
>     instance-id: localhost
>     series: precise
>   "1":
>     instance-id: pending
>     series: precise
>   "2":
>     instance-id: pending
>     series: precise
> services:
>   mysql:
>     charm: cs:precise/mysql-27
>     exposed: false
>     relations:
>       cluster:
>       - mysql
>       db:
>       - wordpress
>     units:
>       mysql/0:
>         agent-state: pending
>         machine: "1"
>   wordpress:
>     charm: cs:precise/wordpress-19
>     exposed: true
>     relations:
>       db:
>       - mysql
>       loadbalancer:
>       - wordpress
>     units:
>       wordpress/0:
>         agent-state: pending
>         machine: "2"
>
> Is this what is expected? If it is, where do I get see the exposed
> service/public address? If not, what is going on?
>
> thanks
> Dan
>
> [1]https://juju.ubuntu.com/docs/config-local.html
> [2]https://juju.ubuntu.com/docs/getting-started.html
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20131007/d8996b8a/attachment.html>


More information about the Juju mailing list