juju bootstrap hangs

Vidmantas Rinkevičius vidmantas.rinkevicius at vgtu.lt
Fri Dec 22 07:52:32 UTC 2017


Hi,
I am having issues with juju on 16.04 xenial. I am deploying openstack. Bootstrap never finishes. Waitted for 12 hours

Debug log
09:37:22 DEBUG juju.provider.maas environprovider.go:61 opening model "controller".
09:37:23 INFO  cmd bootstrap.go:502 Creating Juju controller "osmaas" on osmaas
09:37:23 INFO  juju.cmd.juju.commands bootstrap.go:563 combined bootstrap constraints:
09:37:23 DEBUG juju.environs.bootstrap bootstrap.go:199 model "controller" supports service/machine networks: true
09:37:23 DEBUG juju.environs.bootstrap bootstrap.go:201 network management by juju enabled: true
09:37:23 INFO  cmd bootstrap.go:233 Loading image metadata
09:37:23 INFO  cmd bootstrap.go:296 Looking for packaged Juju agent version 2.3.1 for amd64
09:37:23 INFO  juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.3.1
09:37:23 DEBUG juju.environs.tools tools.go:102 finding agent binaries in stream: "released"
09:37:23 DEBUG juju.environs.tools tools.go:104 reading agent binaries with major.minor version 2.3
09:37:23 DEBUG juju.environs.tools tools.go:112 filtering agent binaries by version: 2.3.1
09:37:23 DEBUG juju.environs.tools tools.go:118 filtering agent binaries by architecture: amd64
09:37:23 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
09:37:23 DEBUG juju.environs.simplestreams simplestreams.go:683 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
09:37:24 INFO  juju.environs.bootstrap tools.go:74 found 16 packaged agent binaries
09:37:24 INFO  cmd bootstrap.go:371 Starting new instance for initial controller
09:37:25 INFO  cmd bootstrap.go:151 Launching controller instance(s) on osmaas...
09:37:25 DEBUG juju.provider.maas environ.go:929 attempting to acquire node in zone "default"
09:37:25 DEBUG juju.cloudconfig.instancecfg instancecfg.go:828 Setting numa ctl preference to false
09:37:25 DEBUG juju.service discovery.go:63 discovered init system "systemd" from series "xenial"
09:37:25 DEBUG juju.provider.maas environ.go:1019 maas user data; 3456 bytes
09:37:27 DEBUG juju.provider.maas environ.go:1051 started instance "6gng4x"
09:37:27 INFO  cmd bootstrap.go:225  - 6gng4x (arch=amd64 mem=8G cores=4)
09:37:27 INFO  juju.environs.bootstrap bootstrap.go:620 newest version: 2.3.1
09:37:27 INFO  juju.environs.bootstrap bootstrap.go:635 picked bootstrap agent binary version: 2.3.1
09:37:27 INFO  cmd bootstrap.go:407 Installing Juju agent on bootstrap instance
09:37:28 INFO  cmd bootstrap.go:499 Fetching Juju GUI 2.11.1
09:42:08 DEBUG juju.cloudconfig.instancecfg instancecfg.go:828 Setting numa ctl preference to false
Waiting for address
Attempting to connect to 10.100.255.5:22
09:42:08 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: ssh: connect to host 10.100.255.5 port 22: Connection refused
09:42:13 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: ssh: connect to host 10.100.255.5 port 22: Connection refused
09:42:19 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:24 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:29 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:34 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:40 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:45 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:50 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:42:55 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:43:01 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:43:06 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:43:11 DEBUG juju.provider.common bootstrap.go:561 connection attempt for 10.100.255.5 failed: /var/lib/juju/nonce.txt does not exist
09:43:16 INFO  cmd bootstrap.go:333 Connected to 10.100.255.5
09:43:16 INFO  juju.cloudconfig userdatacfg_unix.go:408 Fetching agent: curl -sSfw 'agent binaries from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https://streams.canonical.com/juju/tools/agent/2.3.1/juju-2.3.1-ubuntu-amd64.tgz]>
09:43:16 INFO  cmd bootstrap.go:400 Running machine configuration script...

MAAS shows that machine is up, I can ping it.

Any ideas why bootstrap is stuck?





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171222/99854d1a/attachment.html>


More information about the Juju mailing list