jujuclient cannot read juju2 api
Bug #1592473 reported by
Nicholas Skaggs
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://
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.
The error looks like this
2016-06-23 15:28:48 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/ python- django- 19 bin/juju- deployer" , line 9, in <module> entry_point( 'juju-deployer= =0.8.0' , 'console_scripts', 'juju-deployer')() lib/python2. 7/dist- packages/ juju_deployer- 0.8.0-py2. 7.egg/deployer/ cli.py" , line 140, in main lib/python2. 7/dist- packages/ juju_deployer- 0.8.0-py2. 7.egg/deployer/ cli.py" , line 248, in run Importer( env, deployment, options).run() lib/python2. 7/dist- packages/ juju_deployer- 0.8.0-py2. 7.egg/deployer/ action/ importer. py", line 301, in run env.connect( ) lib/python2. 7/dist- packages/ juju_deployer- 0.8.0-py2. 7.egg/deployer/ env/go. py", line 73, in connect nt.connect( self.name) jenkins/ .local/ lib/python2. 7/site- packages/ jujuclient. py", line 712, in connect ).run(cls, env_name) jenkins/ .local/ lib/python2. 7/site- packages/ jujuclient. py", line 178, in run 'environ- uuid')) jenkins/ .local/ lib/python2. 7/site- packages/ jujuclient. py", line 189, in connect_env login(user= user, password=password) jenkins/ .local/ lib/python2. 7/site- packages/ jujuclient. py", line 727, in login facades( self, self._info) jenkins/ .local/ lib/python2. 7/site- packages/ jujuclient. py", line 1413, in negotiate_facades map.get( fenv['Name' ])
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/
load_
File "/usr/local/
run()
File "/usr/local/
importer.
File "/usr/local/
self.
File "/usr/local/
self.client = EnvironmentClie
File "/var/lib/
return Connector(
File "/var/lib/
cert_path, data.get(
File "/var/lib/
env.
File "/var/lib/
negotiate_
File "/var/lib/
factory = facade_
KeyError: 'Name'