Comment 0 for bug 1644566

Revision history for this message
Martin Pitt (pitti) wrote : juju bootstrap hangs forever at "Attempting to connect to 10.0.4.32:22"

In current zesty, "juju-2.0 bootstrap" does:

Creating Juju controller "lxd" on localhost/localhost
Looking for packaged Juju agent version 2.0-rc3 for amd64
Launching controller instance(s) on localhost/localhost...
 - juju-5fc6db-0
Fetching Juju GUI 2.2.3
Waiting for address
Attempting to connect to 10.0.4.130:22

and then hangs forever. It does create the container:

| juju-5fc6db-0 | RUNNING | 10.0.4.130 (eth0) | | PERSISTENT | 0 |

and it runs:

$ lxc exec juju-5fc6db-0 systemctl is-active ssh
active

but ssh into it does not work:

Warning: Permanently added '10.0.4.130' (ECDSA) to the list of known hosts.
Permission denied (publickey).

Indeed it does not install an ssh key:

$ lxc exec juju-5fc6db-0 -- ls -l /home/ubuntu/.ssh
total 0
-rw------- 1 ubuntu ubuntu 0 Nov 24 14:04 authorized_keys

I guess it's supposed to, as apparently password authentication is disabled.

I didn't find a --debug switch or log file or anything similar -- can you reproduce this? If not, what can I do to provide further debugging?

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: juju-2.0 2.0~rc3-0ubuntu4.16.10.1
ProcVersionSignature: Ubuntu 4.8.0-29.31~lp1626436ProposedWithTwoPatches-generic 4.8.8
Uname: Linux 4.8.0-29-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: i3
Date: Thu Nov 24 15:01:52 2016
EcryptfsInUse: Yes
SourcePackage: juju-core
UpgradeStatus: No upgrade log present (probably fresh install)