Comment 1 for bug 1592473

Revision history for this message
Curtis Hovey (sinzui) wrote : Re: cs:trusty/python-django-19 missing key 'name'

The error looks like this

2016-06-23 15:28:48 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/python-django-19
2016-06-23 15:28:49 [DEBUG] deployer.deploy: Resolving configuration
2016-06-23 15:28:49 [DEBUG] deployer.env: Connecting to environment...
Traceback (most recent call last):
  File "/usr/local/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.8.0', 'console_scripts', 'juju-deployer')()
  File "/usr/local/lib/python2.7/dist-packages/juju_deployer-0.8.0-py2.7.egg/deployer/cli.py", line 140, in main
    run()
  File "/usr/local/lib/python2.7/dist-packages/juju_deployer-0.8.0-py2.7.egg/deployer/cli.py", line 248, in run
    importer.Importer(env, deployment, options).run()
  File "/usr/local/lib/python2.7/dist-packages/juju_deployer-0.8.0-py2.7.egg/deployer/action/importer.py", line 301, in run
    self.env.connect()
  File "/usr/local/lib/python2.7/dist-packages/juju_deployer-0.8.0-py2.7.egg/deployer/env/go.py", line 73, in connect
    self.client = EnvironmentClient.connect(self.name)
  File "/var/lib/jenkins/.local/lib/python2.7/site-packages/jujuclient.py", line 712, in connect
    return Connector().run(cls, env_name)
  File "/var/lib/jenkins/.local/lib/python2.7/site-packages/jujuclient.py", line 178, in run
    cert_path, data.get('environ-uuid'))
  File "/var/lib/jenkins/.local/lib/python2.7/site-packages/jujuclient.py", line 189, in connect_env
    env.login(user=user, password=password)
  File "/var/lib/jenkins/.local/lib/python2.7/site-packages/jujuclient.py", line 727, in login
    negotiate_facades(self, self._info)
  File "/var/lib/jenkins/.local/lib/python2.7/site-packages/jujuclient.py", line 1413, in negotiate_facades
    factory = facade_map.get(fenv['Name'])
KeyError: 'Name'