'EnvJujuClient' object has no attribute 'client'

Bug #1425975 reported by Curtis Hovey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-ci-tools
Invalid
High
John George

Bug Description

ERROR:root:'EnvJujuClient' object has no attribute 'client'
Traceback (most recent call last):
  File "./assess_recovery.py", line 212, in main
    dump_env_logs(client, bootstrap_host, log_dir)
  File "/home/hduran/Develop/qa/juju-ci-tools/deploy_stack.py", line 178, in dump_env_logs
    client = env.client.get_env_client(env)
AttributeError: 'EnvJujuClient' object has no attribute 'client'

Curtis reverted revno 876 to fix tip.
     bzr merge --merge3 -r 876..875

The dump_logs function needs to be more intelligent about getting the client from the env.

Curtis Hovey (sinzui)
Changed in juju-ci-tools:
assignee: nobody → John George (jog)
Revision history for this message
Aaron Bentley (abentley) wrote :

dump_logs does not need to be more intelligent about getting the client from the env. It is written to use EnvJujuClient, which is the new hotness. Only deploy_stack still uses Environment, and that is something we need to fix.

Aaron Bentley (abentley)
Changed in juju-ci-tools:
status: Triaged → Invalid
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.