Re: Installing JUJU 2.0 as non-root user
On 02/06/16 13:00, Tom Barber wrote: > > 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. > Anita, can you see what happens if you try these commands? lxc list lxc launch ubuntu: lxc list If those work without trouble then your LXD container hypervisor is working fine. If not, you need to setup LXD :) Once that is working, then you can bootstrap Juju onto that hypervisor. Mark -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
Re: Installing JUJU 2.0 as non-root user
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"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
Installing JUJU 2.0 as non-root user
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