<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Mon, Nov 23, 2015 at 11:50 AM Tim Penhey <<a href="mailto:tim.penhey@canonical.com">tim.penhey@canonical.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I noticed that the lxd provider was now in master and attempted to use<br>
it to help debug an HA problem.<br>
<br>
In environments.yaml file I added a very simple clause:<br>
<br>
   lxd:<br>
      type: lxd<br>
<br>
But when I try to bootstrap, I get the following:<br>
<br>
$ juju bootstrap --debug<br>
2015-11-23 03:26:14 INFO juju.cmd supercommand.go:58 running juju<br>
[1.26-alpha2 gc]<br>
2015-11-23 03:26:14 DEBUG juju.environs.config config.go:1473 coercion<br>
failed attributes: map[string]interface {}{"namespace":"tim-lxd",<br>
"container":"lxd"}, checker:<br>
schema.fieldMapC{fields:schema.Fields{"container":environschema.oneOfValuesChecker{vals:[]interface<br>
{}{"lxc", "kvm"}, checker:schema.stringC{}},<br>
"storage-port":schema.forceIntC{}, "namespace":schema.stringC{},<br>
"root-dir":schema.stringC{}, "bootstrap-ip":schema.stringC{},<br>
"network-bridge":schema.stringC{}},<br>
defaults:schema.Defaults{"container":"lxc",<br>
"bootstrap-ip":schema.omit{}, "storage-port":8040, "namespace":"",<br>
"root-dir":"", "network-bridge":""}, strict:false}, container: expected<br>
one of [lxc kvm], got "lxd"<br>
2015-11-23 03:26:14 DEBUG juju.cmd.juju common.go:96 Destroying<br>
environment info.<br>
2015-11-23 03:26:14 INFO cmd cmd.go:129 Bootstrap failed, cleaning up<br>
the environment.<br>
2015-11-23 03:26:14 ERROR cmd supercommand.go:448 there was an issue<br>
examining the environment: failed to validate unknown attrs: container:<br>
expected one of [lxc kvm], got "lxd"<br>
<br>
I have lxd installed (on trusty):<br>
<br>
$ apt-cache policy lxd<br>
lxd:<br>
  Installed: 0.22-0ubuntu2~ubuntu14.04.1~ppa1<br>
  Candidate: 0.22-0ubuntu2~ubuntu14.04.1~ppa1<br>
  Version table:<br>
     0.22-0ubuntu2~ubuntu14.04.1 0<br>
        100 <a href="http://archive.ubuntu.com/ubuntu/" rel="noreferrer" target="_blank">http://archive.ubuntu.com/ubuntu/</a> trusty-backports/universe<br>
amd64 Packages<br>
 *** 0.22-0ubuntu2~ubuntu14.04.1~ppa1 0<br>
        500 <a href="http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu/trusty/main" rel="noreferrer" target="_blank">http://ppa.launchpad.net/ubuntu-lxc/lxd-stable/ubuntu/<br>
trusty/main</a> amd64 Packages<br>
        100 /var/lib/dpkg/status<br>
<br>
<br>
There appears to be no feature flag for the lxd provider, so what am I<br>
missing?<br></blockquote><div><br></div><div>Have you added yourself to the lxd group? ("newgrp lxd")</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
Tim<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div></div>