jujuclient cannot read juju2 api

Bug #1592473 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-jujuclient
New
Undecided
Unassigned

Bug Description

We need to specify a specific, older, working version for our deployer tests of this charm. See

http://reports.vapour.ws/releases/issue/57600d61749a561c68857aab

Revision history for this message
Curtis Hovey (sinzui) wrote :

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'

Curtis Hovey (sinzui)
summary: - cs:trusty/python-django-19 missing key 'name'
+ jujuclient cannot read juju2 api
affects: juju-ci-tools → python-jujuclient
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.