It happened again on a CI run:
(...)
04:37:55 2016-01-08 04:37:55 Deploying services...
04:37:55 2016-01-08 04:37:55 Deploying service haproxy using cs:trusty/haproxy-10
04:38:22 2016-01-08 04:38:22 Deploying service landscape-server using local:trusty/landscape-server
04:38:53 2016-01-08 04:38:53 Deploying service postgresql using cs:trusty/postgresql-27
04:39:18 2016-01-08 04:39:17 Deploying service rabbitmq-server using cs:trusty/rabbitmq-server-26
04:40:54 2016-01-08 04:40:54 Adding 1 more units to haproxy
04:42:01 2016-01-08 04:42:01 Adding 1 more units to landscape-server
04:43:16 2016-01-08 04:43:16 Adding 1 more units to postgresql
04:44:25 2016-01-08 04:44:25 Adding 1 more units to rabbitmq-server
04:44:30 2016-01-08 04:44:30 Adding relations...
04:44:30 Traceback (most recent call last):
04:44:30 File "/usr/bin/juju-deployer", line 9, in <module>
04:44:30 load_entry_point('juju-deployer==0.6.1', 'console_scripts', 'juju-deployer')()
04:44:30 File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
04:44:30 run()
04:44:30 File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 234, in run
04:44:30 importer.Importer(env, deployment, options).run()
04:44:30 File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 325, in run
04:44:30 rels_created = self.add_relations()
04:44:30 File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 232, in add_relations
04:44:30 if self._rel_exists(status, end_a, end_b):
04:44:30 File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 252, in _rel_exists
04:44:30 rels_svc_a = status['services'][name_a].get('relations', {})
04:44:30 KeyError: 'landscape-server'
It happened again on a CI run: haproxy- 10 landscape- server postgresql- 27 rabbitmq- server- 26 juju-deployer" , line 9, in <module> point(' juju-deployer= =0.6.1' , 'console_scripts', 'juju-deployer')() python2. 7/dist- packages/ deployer/ cli.py" , line 135, in main python2. 7/dist- packages/ deployer/ cli.py" , line 234, in run Importer( env, deployment, options).run() python2. 7/dist- packages/ deployer/ action/ importer. py", line 325, in run relations( ) python2. 7/dist- packages/ deployer/ action/ importer. py", line 232, in add_relations exists( status, end_a, end_b): python2. 7/dist- packages/ deployer/ action/ importer. py", line 252, in _rel_exists 'services' ][name_ a].get( 'relations' , {})
(...)
04:37:55 2016-01-08 04:37:55 Deploying services...
04:37:55 2016-01-08 04:37:55 Deploying service haproxy using cs:trusty/
04:38:22 2016-01-08 04:38:22 Deploying service landscape-server using local:trusty/
04:38:53 2016-01-08 04:38:53 Deploying service postgresql using cs:trusty/
04:39:18 2016-01-08 04:39:17 Deploying service rabbitmq-server using cs:trusty/
04:40:54 2016-01-08 04:40:54 Adding 1 more units to haproxy
04:42:01 2016-01-08 04:42:01 Adding 1 more units to landscape-server
04:43:16 2016-01-08 04:43:16 Adding 1 more units to postgresql
04:44:25 2016-01-08 04:44:25 Adding 1 more units to rabbitmq-server
04:44:30 2016-01-08 04:44:30 Adding relations...
04:44:30 Traceback (most recent call last):
04:44:30 File "/usr/bin/
04:44:30 load_entry_
04:44:30 File "/usr/lib/
04:44:30 run()
04:44:30 File "/usr/lib/
04:44:30 importer.
04:44:30 File "/usr/lib/
04:44:30 rels_created = self.add_
04:44:30 File "/usr/lib/
04:44:30 if self._rel_
04:44:30 File "/usr/lib/
04:44:30 rels_svc_a = status[
04:44:30 KeyError: 'landscape-server'