add_unit to deployed service fails
Bug #1430488 reported by
Robert C Jennings
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Amulet |
Fix Released
|
Critical
|
Adam Israel |
Bug Description
The UnitSentry.
Changed in amulet: | |
importance: | Undecided → Critical |
milestone: | none → 1.10.1 |
Changed in amulet: | |
assignee: | Marco Ceppi (marcoceppi) → Adam Israel (aisrael) |
status: | New → In Progress |
Changed in amulet: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Testing my charm fails when I try to add a unit.
Test: http:// bazaar. launchpad. net/~rcj/ charms/ trusty/ ubuntu- repository- cache/trunk/ view/head: /tests/ 110-multi_ unit.simple amazon- test juju charm test -e amazon-test --timeout 2000s -v --constraints instance- type=m3. medium tests/110- multi_unit. simple type=m3. medium -e amazon-test cloud-init- output. log on remote host /juju-dist. s3.amazonaws. com/tools/ releases/ juju-1. 21.3-trusty- amd64.tgz]> conductor. 110-multi_ unit.simple DEBUG : Running 110-multi_ unit.simple (tests/ 110-multi_ unit.simple) repository- cache using local:trusty/ ubuntu- repository- cache repository- cache' identification: Connection closed by remote host 110-multi_ unit.simple" , line 96, in <module> unit('ubuntu- repository- cache') python3/ dist-p. ..
Failure:
$ JUJU_ENV=
juju-test INFO : Starting test run on amazon-test using Juju 1.21.3
juju-test DEBUG : Loading configuration options from testplan YAML
juju-test DEBUG : Creating a new Conductor
juju-test.conductor DEBUG : Starting a bootstrap for amazon-test, kill after 300
juju-test.conductor DEBUG : Running the following: juju bootstrap --constraints instance-
Bootstrapping environment "amazon-test"
Starting new instance for initial state server
Launching instance
- i-a2e89558
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 54.242.46.69:22
Attempting to connect to 10.187.27.170:22
Warning: Permanently added '54.242.46.69' (ECDSA) to the list of known hosts.
Logging to /var/log/
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
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:/
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap complete
juju-test.conductor DEBUG : Waiting for bootstrap
juju-test.conductor DEBUG : Still not bootstrapped
juju-test.conductor DEBUG : Running the following: juju status -e amazon-test
juju-test.conductor DEBUG : State for 1.21.3: started
juju-test.
2015-03-02 09:49:44 Starting deployment of amazon-test
2015-03-02 09:49:46 Deploying services...
2015-03-02 09:49:47 Deploying service ubuntu-
2015-03-02 09:52:19 Adding relations...
2015-03-02 09:52:20 Exposing service 'ubuntu-
2015-03-02 09:52:21 Deployment complete in 156.42 seconds
2015-03-02 09:52:34,657 juju-test WARNING : test: Setup complete, waiting for startup to complete.
2015-03-02 09:52:36,948 juju-test WARNING : test: Start complete
2015-03-02 09:53:06,990 juju-test WARNING : test: PASS: Leader is not serving metadata too early
2015-03-02 09:53:37,009 juju-test WARNING : test: PASS: Leader is not serving pool too early
2015-03-02 09:53:37,009 juju-test WARNING : test: INFO: Adding 2nd unit
ERROR exit status 1 (Warning: Permanently added '54.242.46.69' (ECDSA) to the list of known hosts.
ERROR subprocess encountered error code 1
ssh_exchange_
lost connection)
Traceback (most recent call last):
File "tests/
d.add_
File "/usr/lib/