LXD bootstrap inside KVM failed

Tim Penhey tim.penhey at canonical.com
Tue Aug 8 01:51:22 UTC 2017


Yep, that is pretty strange. Why was bind running?

Tim

On 03/08/17 07:45, fengxia wrote:
> For anyone, the solution is rather strange:
> 
> $ sudo service stop bind9
> 
> $ sudo lxd start
> 
> Reference: https://github.com/lxc/lxd/issues/2046
> 
> 
> 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?
>>
> 



More information about the Juju mailing list