juju 2.0-alpha2 with lxd

Marco Ceppi marco.ceppi at canonical.com
Sun Feb 14 23:55:10 UTC 2016


What version of Ubuntu are you using? If it's anything other than Xenial or
Wily the LXD provider won't work. LXD bindings require a golang version
that's too new for Trusty.

On Sun, Feb 14, 2016 at 6:14 PM Daniel Bidwell <drbidwell at gmail.com> wrote:

> I am trying to bootstrap lxd.
>
> I started with 'juju init' and then 'juju -v --debug bootstrap -m lxd'
> It allocated a container and deployed to it and ended with the
> following lines of debug output:
>
> 2016-02-14 23:04:46 INFO juju.cmd supercommand.go:59 running jujud [2.0
> -alpha2 gc go1.2.1]
> 2016-02-14 23:04:46 DEBUG juju.agent agent.go:506 read agent config,
> format "1.18"
> 2016-02-14 23:04:46 INFO juju.network network.go:248 setting prefer
> -ipv6 to false
> 2016-02-14 23:04:46 ERROR cmd supercommand.go:448 no registered
> provider for "lxd"
> 2016-02-14 23:04:46 ERROR cmd supercommand.go:448 failed to bootstrap
> model: subprocess encountered error code 1
>
> What do I have to do to "register the lxd provider"?  Is this done
> before the boostrap command, during, or after?
>
> A 'juju status' command hangs for ever.  Another 'juju bootstrap'
> command starts out happy, but then tells me that lxd is already
> deployed.  I can 'ssh ubuntu at 10.0.3.x' and get into the container just
> fine, but not 'juju ssh 0'.
>
> What am I missing?
> --
> Daniel Bidwell <drbidwell at gmail.com>
>
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160214/939f057e/attachment.html>


More information about the Juju-dev mailing list