Hi Anita Make sure you can run lxd images as your user. When you install lxd you need to fully logout or su to create a new shell for that user so the lxd group is picked up.
Tom On 2 Jun 2016 11:46 a.m., "Anita Nayak1" <anitana...@in.ibm.com> wrote: > Hi All, > > We are trying to install JUJU 2.0 by following URL : > https://jujucharms.com/docs/devel/getting-started > > While installing as non-root user, we got permission denied error for the > following commands: > > juju bootstrap lxd-test lxd > juju list-controllers > > charm@c277-pkvm-vm62:~$ juju bootstrap lxd-test lxd > ERROR invalid config: can't connect to the local LXD server: Permisson > denied, are you in the lxd group? > > Please configure LXD by running: > $ newgrp lxd > $ lxd init > > charm@c277-pkvm-vm62:~$ newgrp lxd > Password: > newgrp: failed to crypt password with previous salt: Invalid argument > > The above commands work with "sudo". > > However while installing as root user, the above command executions are > successful. > > Can you please confirm that whether JUJU 2.0 can be installed as a root > user only? If it can be installed as a non-root user, then please let us > know how to resolve the above mentioned errors. > > Thanks & Regards, > Anita. > > -- > Juju mailing list > Juju@lists.ubuntu.com > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju > >
-- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju