juju 1.20.x slow bootstrap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins | ||
1.20 |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
Running :
juju 1.20.0.1
Problem:
juju bootstrap sits at "Bootstrapping juju agent" indefinitely.
environments.yaml:
default: local
environments:
local:
type: local
container: lxc
lxc-use-clone: true
admin-secret: pass
Debug:
2014-07-06 02:01:29 INFO juju.cmd supercommand.go:37 running juju [1.20.0-
2014-07-06 02:01:29 WARNING juju.environs config.go:106 Config attribute "lxc-use-clone" has been renamed to "lxc-clone".
Please update your environment configuration.
2014-07-06 02:01:29 DEBUG juju.environs.
2014-07-06 02:01:30 INFO juju.provider.local environprovider
2014-07-06 02:01:30 INFO juju.provider.local environprovider
2014-07-06 02:01:30 INFO juju.provider.local environprovider
2014-07-06 02:01:30 DEBUG juju.provider.local environ.go:297 found "10.0.3.1" as address for "lxcbr0"
2014-07-06 02:01:30 INFO juju.environs.
2014-07-06 02:01:30 INFO juju.cmd cmd.go:113 uploading tools for series [precise trusty]
2014-07-06 02:01:30 DEBUG juju.environs.sync sync.go:277 Building tools
2014-07-06 02:01:30 DEBUG juju.environs.tools build.go:115 looking for: juju
2014-07-06 02:01:30 DEBUG juju.environs.tools build.go:156 checking: /usr/bin/jujud
2014-07-06 02:01:30 INFO juju.environs.tools build.go:162 found existing jujud
2014-07-06 02:01:30 INFO juju.environs.tools build.go:172 target: /tmp/juju-
2014-07-06 02:01:30 DEBUG juju.environs.tools build.go:227 forcing version to 1.20.0.1
2014-07-06 02:01:30 DEBUG juju.environs.tools build.go:39 adding entry: &tar.Header{
2014-07-06 02:01:30 DEBUG juju.environs.tools build.go:39 adding entry: &tar.Header{
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:296 built tools 1.20.0.
2014-07-06 02:01:34 DEBUG juju.environs.sync sync.go:201 Uploading tools for [precise trusty]
2014-07-06 02:01:34 DEBUG juju.environs.sync sync.go:231 generating tarballs for [precise trusty]
2014-07-06 02:01:34 DEBUG juju.environs.sync sync.go:251 generating tools metadata
2014-07-06 02:01:34 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2014-07-06 02:01:34 DEBUG juju.environs.tools tools.go:57 no series specified when finding tools, looking for any
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 INFO juju.environs.tools simplestreams.
2014-07-06 02:01:34 INFO juju.environs.tools simplestreams.
2014-07-06 02:01:34 DEBUG juju.environs.sync sync.go:340 uploading tools to cloud storage
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:142 using sync tools source: file://
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:65 listing available tools
2014-07-06 02:01:34 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2014-07-06 02:01:34 DEBUG juju.environs.tools tools.go:57 no series specified when finding tools, looking for any
2014-07-06 02:01:34 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-07-06 02:01:34 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:86 found 2 tools
2014-07-06 02:01:34 DEBUG juju.environs.sync sync.go:93 found source tool: &{1.20.
2014-07-06 02:01:34 DEBUG juju.environs.sync sync.go:93 found source tool: &{1.20.
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:96 listing target tools storage
2014-07-06 02:01:34 DEBUG juju.environs.tools storage.go:35 reading v1.* tools
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:109 found 0 tools in target; 2 tools to be copied
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:149 copying 1.20.0.
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:163 copying tools/releases/
2014-07-06 02:01:34 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:176 downloaded tools/releases/
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:177 download 7830kB, uploading
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:149 copying 1.20.0.
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:163 copying tools/releases/
2014-07-06 02:01:34 INFO juju.utils http.go:59 hostname SSL verification enabled
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:176 downloaded tools/releases/
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:177 download 7830kB, uploading
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:114 copied 2 tools
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:116 generating tools metadata
2014-07-06 02:01:34 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any
2014-07-06 02:01:34 DEBUG juju.environs.tools tools.go:57 no series specified when finding tools, looking for any
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 DEBUG juju.environs.
2014-07-06 02:01:34 INFO juju.environs.tools simplestreams.
2014-07-06 02:01:34 INFO juju.environs.tools simplestreams.
2014-07-06 02:01:34 INFO juju.environs.sync sync.go:128 tools metadata written
2014-07-06 02:01:35 DEBUG juju.provider.local environ.go:297 found "10.0.3.1" as address for "lxcbr0"
2014-07-06 02:01:35 DEBUG juju.environs.
2014-07-06 02:01:35 INFO juju.environs.
2014-07-06 02:01:35 DEBUG juju.provider.
2014-07-06 02:01:36 DEBUG juju.provider.local environ.go:297 found "10.0.3.1" as address for "lxcbr0"
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 INFO juju.environs.tools tools.go:87 reading tools with major.minor version 1.20
2014-07-06 02:01:36 INFO juju.environs.tools tools.go:95 filtering tools by version: 1.20.0.1
2014-07-06 02:01:36 INFO juju.environs.tools tools.go:98 filtering tools by series: trusty
2014-07-06 02:01:36 INFO juju.environs.tools tools.go:101 filtering tools by architecture: amd64
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 DEBUG juju.environs.
2014-07-06 02:01:36 INFO juju.environs.
2014-07-06 02:01:36 INFO juju.environs.
Logging to /home/adam/
Bootstrapping Juju machine agent
tags: | added: cloud-installer local-provider |
Changed in juju-core: | |
status: | Triaged → In Progress |
assignee: | nobody → Andrew Wilkins (axwalk) |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
1.20 bootstraps are much slower than 1.18 because mongo is setup for replication. I the develops need more information to identify the cause the the hang. Can you tail /home/adam/ .juju/local/ cloud-init- output. log when you see "Bootstrapping Juju machine agent" to identify what is happening?