juju 2.0-alpha2 with lxd
Andreas Hasenack
andreas at canonical.com
Mon Feb 15 00:06:18 UTC 2016
I had the same issue. I then remembered the tools and bootstrapped with
--upload-tools and then it worked. Might have worked had I set the agent
stream to devel too, but I didn't you that yet.
On Feb 14, 2016 22:01, "Daniel Bidwell" <drbidwell at gmail.com> wrote:
> I am running 15.10 wiley with lxd version 0.20.
>
> Ooops. It looks like golang wasn't installed. Getting it and trying
> again. Thanks.
>
> On Sun, 2016-02-14 at 23:55 +0000, Marco Ceppi wrote:
> > 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
> > >
> --
> 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/attachments/20160214/3196012d/attachment.html>
More information about the Juju
mailing list