Okay checked out and tested but no dice currently:
***@tomsdevbox:~$ juju --version
2.0-beta2-xenial-amd64
***@tomsdevbox:~/work/src/github.com/juju/juju$ lxc --version
2.0.0.beta4
***@tomsdevbox:~/work/src/github.com/juju/juju$ lxd --version
2.0.0.beta4
***@tomsdevbox:~/work/src/github.com/juju/juju$ juju bootstrap
mycontroller lxd --debug --upload-tools
2016-02-27 13:09:10 INFO juju.cmd supercommand.go:59 running juju
[2.0-beta2 gc go1.6]
2016-02-27 13:09:10 INFO cmd cmd.go:141 cloud "lxd" not found, trying as a
provider name
2016-02-27 13:09:10 INFO cmd cmd.go:141 no credentials found, checking
environment
2016-02-27 13:09:10 DEBUG juju.cmd.juju.commands bootstrap.go:340 preparing
controller with config: map[type:lxd name:mycontroller]
2016-02-27 13:09:14 DEBUG juju.container.lxd.lxdclient client.go:57 loading
LXD client config from "/home/bugg/.config/lxc/juju-mycontroller"
2016-02-27 13:09:14 DEBUG juju.container.lxd.lxdclient client.go:64 using
LXD remote "local"
2016-02-27 13:09:14 ERROR cmd supercommand.go:448 invalid config: json:
cannot unmarshal string into Go value of type int
***@tomsdevbox:~/work/src/github.com/juju/juju$
--------------
Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316
(Thanks to the Saiku community we reached our Kickstart
<http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
goal, but you can always help by sponsoring the project
<http://www.meteorite.bi/products/saiku/sponsorship>)
Post by Tom BarberCreating my-test-container
Starting my-test-container
root 1800 0.0 0.0 61380 5408 ? Ss 12:59 0:00
/usr/sbin/sshd -D
root 1993 0.0 0.0 8868 784 ? S+ 13:00 0:00 grep
--color=auto ssh
Seems alright if I just launch an instance. Also inside the juju
bootstrapped containers you can see some ssh related stuff where it sets
keys etc in the logs so its logging in and doing something.
I've compiled everything from 1.26 alpha2 to master so I'll happily wipe
it clean and try the branch! ;)
Tom
--------------
Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316
(Thanks to the Saiku community we reached our Kickstart
<http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
goal, but you can always help by sponsoring the project
<http://www.meteorite.bi/products/saiku/sponsorship>)
Post by John MeinelBTW, if you are comfortable running Juju from master, there is a branch
"lxd-container-type" which should support LXD 2.0.0~beta4 (I have it
running here), and I'd be happy to get feedback on it.
John
=:->
Post by John MeinelThat does seem correct. But I thought cloud-images run openssh by
default. So that seems surprising.
What happens if you just do "lxc create" to spawn an instance instead of
using Juju?
John
=:->
Post by Tom Barberlxd-images import ubuntu trusty amd64 --sync --alias ubuntu-trusty
Which I stole from Jorge's blog.
+----------------+--------------+--------+------------------------------------+--------+----------+------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION
| ARCH | SIZE | UPLOAD DATE |
+----------------+--------------+--------+------------------------------------+--------+----------+------------------------------+
| ubuntu-precise | 4029ee764a39 | no | Ubuntu 12.04 LTS server
(20160222) | x86_64 | 155.25MB | Feb 26, 2016 at 5:12pm (CET) |
| ubuntu-trusty | 510c27eb5e30 | no | Ubuntu 14.04 LTS server
(20160222) | x86_64 | 118.51MB | Feb 26, 2016 at 5:13pm (CET) |
| ubuntu-wily | fb2cf6ab4af1 | no | Ubuntu 15.10 server
(20160222) | x86_64 | 154.27MB | Feb 26, 2016 at 5:12pm (CET) |
+----------------+--------------+--------+------------------------------------+--------+----------+------------------------------+
--------------
Director Meteorite.bi - Saiku Analytics Founder
Tel: +44(0)5603641316
(Thanks to the Saiku community we reached our Kickstart
<http://kickstarter.com/projects/2117053714/saiku-reporting-interactive-report-designer/>
goal, but you can always help by sponsoring the project
<http://www.meteorite.bi/products/saiku/sponsorship>)
Post by John Meinellxd-images import ubuntu trusty --alias ubuntu-trusty
(substitute xenial/wily etc as relevant.)
That looks like you are using an image from linuxcontainers.org which
is very different from the ones built by cloud-images.ubuntu.com
John
=:->
Post by Tom BarberThanks John
That was sort of my thinking too. But it's not a groups thing that I
can see. Same issue as root or as unprivileged users.
bugg lxd
2.0.0.beta2
2.0.0.beta2
at which point the bootstrap trust image starts fine, and i can
lxc exec juju-...... /bin/bash
into it. But sshd isn't running which explains why the connection
refused error appears.
Tom
Post by John MeinelConnection refused isn't the error you would be getting if it was
the current incompatibilities. What you're seeing looks more like you
aren't in the "LXD" group, or you didn't refresh your groups after
installing LXD. (newgrp lxd)
John
=:->
On Sat, Feb 27, 2016 at 12:08 AM, Tom Barber <
Post by Tom BarberNo worries Serge I was just some Friday fun to get me out of the
daily grind. Thanks for the update.
Tom
Post by Tom BarberPost by Tom BarberAfternoon, got bored decided to try Jorge's blog post about Juju
LXD and ZFS
Post by Tom BarberI'd read on a few posts about the requirement for LXD beta2
because of API
Post by Tom Barberincompatibilities so I found the deb's and installed them.
Its up and running and images start fine, but juju bootstrap
fails with
Post by Tom Barberconnection refused when trying to SSH in. Something stupid i'm
doing or
Post by Tom Barberjust broke for now?
Hi Tom,
Yeah it's just broken for now. It will be fixed when a new feature branch
is merged, which I think is supposed to happen on or before Monday.
-serge
--
Juju mailing list
https://lists.ubuntu.com/mailman/listinfo/juju