Juju bootstrap times out way too fast

Bug #1274052 reported by Ronald McCollam
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

When performing a 'juju bootstrap', juju begins trying to make an ssh connection to the target system and waits 10 minutes before deciding that the target has not finished building, at which point it terminates the bootstrap process.

Some enterprise hardware can take approximately this long to POST, let alone install. This timeout should probably be longer and ideally configurable.

Sample output from a deployment that failed for this reason while cloud-init was running on the target system:

ubuntu@CloudOne:~$ juju bootstrap --upload-tools -v
verbose is deprecated with the current meaning, use show-log
2014-01-29 10:35:25 INFO juju.environs open.go:156 environment info already exists; using New not Prepare
2014-01-29 10:35:26 INFO juju.environs.tools build.go:162 found existing jujud
2014-01-29 10:35:26 INFO juju.environs.tools build.go:172 target: /tmp/juju-tools064938138/jujud
2014-01-29 10:35:29 INFO juju.environs.sync sync.go:230 built 1.17.0.1-trusty-amd64 (6562kB)
2014-01-29 10:35:29 INFO juju.environs.sync sync.go:71 listing available tools
2014-01-29 10:35:29 INFO juju.environs.sync sync.go:95 found 2 tools
2014-01-29 10:35:29 INFO juju.environs.sync sync.go:105 listing target bucket
2014-01-29 10:35:32 INFO juju.environs.sync sync.go:118 found 2 tools in target; 0 tools to be copied
2014-01-29 10:35:32 INFO juju.environs.sync sync.go:123 copied 0 tools
2014-01-29 10:35:32 INFO juju.environs.sync sync.go:125 generating tools metadata
2014-01-29 10:35:35 INFO juju.environs.tools simplestreams.go:357 Writing tools/streams/v1/index.json
2014-01-29 10:35:36 INFO juju.environs.tools simplestreams.go:357 Writing tools/streams/v1/com.ubuntu.juju:released:tools.json
2014-01-29 10:35:36 INFO juju.environs.sync sync.go:137 tools metadata written
2014-01-29 10:35:37 INFO juju.environs.bootstrap bootstrap.go:46 bootstrapping environment "maas"
2014-01-29 10:35:37 INFO juju.environs.tools tools.go:85 reading tools with major.minor version 1.17
2014-01-29 10:35:37 INFO juju.environs.tools tools.go:93 filtering tools by version: 1.17.0.1
2014-01-29 10:35:37 INFO juju.environs.tools tools.go:96 filtering tools by series: precise
2014-01-29 10:35:39 INFO juju.environs.bootstrap bootstrap.go:58 picked newest version: 1.17.0.1
Launching instance
2014-01-29 10:35:39 WARNING juju.provider.maas environ.go:193 picked arbitrary tools &{"1.17.0.1-precise-amd64" "http://10.0.0.1/MAAS/api/1.0/files/?key=cef059a6-88c8-11e3-9210-eca86bfd11f4&op=get_by_key" "6e7578b0bb530f407bf4269c20210b7b48a2f117fe6f89a5ed842e3ab1d7c082" %!q(int64=6719611)}
 - /MAAS/api/1.0/nodes/node-db10f41c-83ae-11e3-bd54-eca86bfd11f4/
Waiting for address
Attempting to connect to Slave6.master:22
Attempting to connect to 10.0.0.15:22
2014-01-29 10:45:40 ERROR juju.provider.common bootstrap.go:85 bootstrap failed: waited for 10m0s without being able to connect: ssh: connect to host 10.0.0.15 port 22: Connection refused
Stopping instance...
2014-01-29 10:45:40 ERROR juju.cmd supercommand.go:294 waited for 10m0s without being able to connect: ssh: connect to host 10.0.0.15 port 22: Connection refused

Ronald McCollam (fader)
affects: juju → juju-core
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.