juju bootstrap hangs in slow environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Andrew Wilkins | ||
1.20 |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
When juju bootstrap on Azure cloud using:
juju bootstrap -e azure
the process is stuck forever after apt-get upgrade, usually the ssh timeout after a few hours and the bootstrap is reverted. What I can do is put it into background and use it anyway: juju status displays correctly and everything seems fine (the bootstrap logs say nothing special, no error). I have asked "jose" on IRC and he can reproduce the bug. The output:
$ juju bootstrap -e azure
Launching instance
- juju-azure-
Waiting for address
Attempting to connect to 10.0.0.4:22
Attempting to connect to juju-azure-
Logging to /var/log/
Running apt-get update
Running apt-get upgrade
^Z
Versions:
juju 1.18.2-trusty-amd64
Ubuntu 14.04 3.13.0-24-generic
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
affects: | juju → juju-core |
Changed in juju-core: | |
status: | Triaged → In Progress |
assignee: | nobody → Andrew Wilkins (axwalk) |
Changed in juju-core: | |
milestone: | 1.20.0 → 1.21-alpha1 |
summary: |
- juju bootstrap hangs in slow environments + juju bootstrap hangs with daily image-stream |
summary: |
- juju bootstrap hangs with daily image-stream + juju bootstrap hangs with "released" image-stream in slow environments |
summary: |
- juju bootstrap hangs with "released" image-stream in slow environments + juju bootstrap hangs in slow environment |
summary: |
- juju bootstrap hangs in slow environment + juju bootstrap hangs in slow environments |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
I cannot reproduce this. Can you try again with
juju --debug bootstrap -e azure
to gather more information.
Which region are you using?