Estou tentando fazer juju bootstrap lxd lxd-local
, mas ele falha com o seguinte erro:
Select a cloud [localhost]:
Enter a name for the Controller [localhost-localhost]:
Resolved LXD host address on bridge lxdbr0: 10.122.27.1:8443
no credentials found, checking environment
Adding contents of "/home/lurscher/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
Creating Juju controller "localhost-localhost" on localhost/localhost
Loading image metadata
Looking for packaged Juju agent version 2.2.5 for amd64
Starting new instance for initial controller
To configure your system to better support LXD containers, please see: https://github.com/lxc/lxd/blob/master/doc/production-setup.md
Launching controller instance(s) on localhost/localhost...
- juju-5d7c6c-0 (arch=amd64)
Fetching Juju GUI 2.10.2
Waiting for address
ERROR failed to bootstrap model: waited for 20m0s without getting any addresses
Estou executando o kubuntu 17.04, versão juju 2.2.5-zesty-amd64, ambos lxd e lxc são versão 2.19
Enquanto estava esperando a mensagem de endereço, eu despejei o conteúdo de /var/log/cloud-init.log
e ele está em este link pastebin .
Por outro lado, /var/log/cloud-init-output.log
tem apenas uma linha:
lxc exec juju-a9264f-0 cat /var/log/cloud-init-output.log
Cloud-init v. 0.7.9 running 'init-local' at Wed, 25 Oct 2017 23:50:41 +0000. Up 1.00 seconds.