juju 1.24.0 bootstrap failure - Waiting for API to become available - Error connection is shutdown

Bug #1468586 reported by Larry Michel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

This bootstrap failure looks a bit similar to bug 1468581 in that it fails while waiting for the API to become available, but the error message is not the same.

This is from console.txt:

==========================================================================
2015-06-19 15:59:12,271 [INFO] oil_ci.juju.client: Boostrapping new environment
Bootstrapping environment "maas"
Starting new instance for initial state server
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
WARNING no architecture was specified, acquiring an arbitrary node
WARNING no architecture was specified, acquiring an arbitrary node
WARNING no architecture was specified, acquiring an arbitrary node
 - /MAAS/api/1.0/nodes/node-9d9cdafa-c4cd-11e3-824b-00163efc5068/
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to hayward-41.oil:22
Attempting to connect to hayward-41.oil:22
Attempting to connect to 10.245.0.161:22
Warning: Permanently added '10.245.0.161' (ECDSA) to the list of known hosts.
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools 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/releases/juju-1.24.0-trusty-amd64.tgz]>
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Waiting for API to become available
ERROR connection is shut down
2015-06-19 16:13:37,294 [ERROR] oil_ci.juju.client: Calling "juju bootstrap" failed!
2015-06-19 16:13:37,296 [ERROR] oil_ci.cli: Deployment failed:
==========================================================================

Tags: oil
Larry Michel (lmic)
summary: - juju 1.24.0 bootstrap failure - Error connection is shutdown
+ juju 1.24.0 bootstrap failure - Waiting for API to become available -
+ Error connection is shutdown
Revision history for this message
Ian Booth (wallyworld) wrote :

How often does this happen? Can we get an example with --debug ?

Revision history for this message
makandrr@gmail.com (makandrr) wrote :
Download full text (34.4 KiB)

***juju-core 1.24.0-0ubuntu1~14.04.1~juju1 *** bootstrap failure please help me with this issue

root@onekey-cluster01:/var/log# juju bootstrap -v
WARNING ignoring environments.yaml: using bootstrap config in file "/root/.juju/environments/maas.jenv"
WARNING This juju environment is already bootstrapped. If you want to start a new Juju
environment, first run juju destroy-environment to clean up, or switch to an
alternative environment.
ERROR environment is already bootstrapped
root@onekey-cluster01:/var/log# juju destroy-environment maas
WARNING environment not found, removing config file
environment not found, removing config file
root@onekey-cluster01:/var/log# juju bootstrap -v
Bootstrapping environment "maas"
Starting new instance for initial state server
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
 - /MAAS/api/1.0/nodes/node-c79f266c-21c6-11e5-a0ef-000c2991659c/
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to cdch8.maas:22
Attempting to connect to cdch8.maas:22
Attempting to connect to 10.0.1.104:22
Logging to /var/log/cloud-init-output.log on remote host
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools 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/releases/juju-1.24.0-trusty-amd64.tgz]>
Cloud-init v. 0.7.5 running 'init-local' at Sat, 04 Jul 2015 05:21:02 +0000. Up 1.99 seconds.
Cloud-init v. 0.7.5 running 'init' at Sat, 04 Jul 2015 05:21:06 +0000. Up 5.93 seconds.
ci-info: ++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++
ci-info: +--------+-------+------------+---------------+-------------------+
ci-info: | Device | Up | Address | Mask | Hw-Address |
ci-info: +--------+-------+------------+---------------+-------------------+
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . |
ci-info: | p18p4 | False | . | . | 00:26:55:e4:6a:be |
ci-info: | p18p2 | False | . | . | 00:26:55:e4:6a:bc |
ci-info: | p18p3 | False | . | . | 00:26:55:e4:6a:bf |
ci-info: | p18p1 | False | . | . | 00:26:55:e4:6a:bd |
ci-info: | eth0 | True | x.x.x.x | 255.255.255.0 | d0:50:99:64:60:4b |
ci-info: +--------+-------+------------+---------------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route info++++++++++++++++++++++++++++++
ci-info: +-------+-------------+----------+---------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-------------+----------+---------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | x.x.x.x | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | x.x.x.x | 0.0.0.0 | 255.255.255.0 | e...

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.