LXD bootstrap inside KVM failed

fengxia fxia1 at lenovo.com
Wed Aug 2 19:39:12 UTC 2017


Here is an update. Manually run this command,

$ sudo lxd --group lxd

Then $ lxc list works. So the LXD service was not started after reboot. 
Permission issue?

On 08/02/2017 03:33 PM, fengxia wrote:
> Hi Juju,
>
> I have a 16.04 KVM. Installed juju and LXD from apt.
>
> $ juju bootstrap localhost test
>
> ERROR creating LXD client: can't connect to the local LXD server: Get 
> http://unix.socket/1.0: read unix @->/var/lib/lxd/unix.socket: read: 
> connection reset by peer
>
> Please install LXD by running:
>     $ sudo apt-get install lxd
> and then configure it with:
>     $ newgrp lxd
>     $ lxd init
>
> Tried the suggested commands. Rebooted KVM. No avail.
>
> Is this because I'm running LXD inside KVM?
>

-- 
Feng xia
Engineer
Lenovo USA

Phone: 5088011794
fxia1 at lenovo.com
  	
Lenovo.com
Twitter | Facebook | Instagram | Blogs | Forums




More information about the Juju mailing list