Unless you are building Juju from source (which it doesn't look like you are) you don't need a Go compiler installed.
On Mon, Feb 15, 2016 at 11:20 AM, Marco Ceppi <[email protected]> wrote: > Right, it's not going to work: > >> It's not so much that you don't have golang installed, it's about the >> version of golang juju was compiled with at build time. If you take the >> juju-core deb from Xenial and install it on a machine that has LXD working >> it'll work. However, since the builders that run to build the packages >> install golang from the main archive (1.2 in trusty, 1.3 in vivid, 1.5 in >> wily, and 1.6 in xenial) and because the LXD bindings require a pretty >> recent version of golang to work - even if you have LXD installed, etc >> you'll still need to grab the compiled Juju client from a newer version to >> use it. > > On Sun, Feb 14, 2016 at 7:17 PM Daniel Bidwell <[email protected]> wrote: >> >> Let's try this again. I am running wiley 15.10 with golang 2:1.5.1 and >> lxd 0.20. Adding golang didn't do anything for me. >> >> 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 <[email protected]> >> > 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 [email protected]' and get into the container >> > > just >> > > fine, but not 'juju ssh 0'. >> > > >> > > What am I missing? >> > > -- >> > > Daniel Bidwell <[email protected]> >> > > >> > > >> > > -- >> > > Juju-dev mailing list >> > > [email protected] >> > > Modify settings or unsubscribe at: >> > > https://lists.ubuntu.com/mailman/listinfo/juju-dev >> > > >> -- >> Daniel Bidwell <[email protected]> >> > > -- > Juju-dev mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev > -- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
