Ubuntu Pastebin

Paste from kjackal at Mon, 12 Dec 2016 15:08:53 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
Will not add the password field in ~/.local/share/juju/accounts.yaml and CWR will fail with this error:
CWR with registered controllers:
2016-11-25 08:41:47 ERROR Jujuclient exception(lxd): Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/cloudweatherreport/cloud_weather_report.py", line 203, in main
    env_name, args.juju_major_version, logging=logging)
  File "/usr/local/lib/python2.7/dist-packages/cloudweatherreport/utils.py", line 219, in connect_juju_client
    env = juju_client.connect(env_name=env_name)
  File "/usr/local/lib/python2.7/dist-packages/jujuclient/environment.py", line 87, in connect
    return connector().run(cls, env_name)
  File "/usr/local/lib/python2.7/dist-packages/jujuclient/connector.py", line 41, in run
    jhome, data = self.parse_env(env_name)
  File "/usr/local/lib/python2.7/dist-packages/jujuclient/juju2/connector.py", line 57, in parse_env
    controller_name, model_name, owner = self._parse_env_name(env_name)
  File "/usr/local/lib/python2.7/dist-packages/jujuclient/juju2/connector.py", line 38, in _parse_env_name
    raise Exception('Invalid environment name: %s', env_name)
Exception: ('Invalid environment name: %s', 'lxd')
Download as text