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