I have recently updated to juju2.0-beta11
running on Ubuntu 16.04.
I was using the previous release with success but I am having problems since the upgrade a few days ago. When I now try and run any commands about the model on my controller the command line hangs. If I run a --debug
option, I get a message about permissions denied on LXD and wondering if I am the lxd group:
2016-07-04 12:51:53 DEBUG juju.juju api.go:143 failed to connect via bootstrap config: constructing environ: invalid config: can't connect to the local LXD server: Permission denied, are you in the lxd group?
Please configure LXD by running:
$ newgrp lxd
$ lxd init
If I run groups
I can see that I am already in the lxd group
infinityplusb@mypc:~$ groups
lxd adm cdrom sudo ...
If I try and destroy the controller, I cannot, nor can I create a new controller, all due to the same issue with lxd permissions. How can I a) fix the permissions and/or b) delete the existing controller/models, so I can get back to work again. :)