hi, using ppa:juju/stable i install juju and juju-deployer but i get a juju 1.x type error. i notice that juju-deployer is not actually installed from ppa:juju/stable but from universe. i think there is a packaging snafu
$ juju-deployer -Wdv -c landscape-bundle.yaml
Traceback (most recent call last):
File "/usr/bin/juju-deployer", line 9, in <module>
load_entry_point('juju-deployer==0.6.4', 'console_scripts', 'juju-deployer')()
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
run()
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 158, in run
env_name = get_env_name(options.juju_env)
File "/usr/lib/python2.7/dist-packages/deployer/utils.py", line 377, in get_env_name
with open(os.path.join(juju_home, 'environments.yaml')) as fh:
IOError: [Errno 2] No such file or directory: '/home/ubuntu/.juju/environments.yaml'
$ apt-cache policy juju
juju:
Installed: 1:2.0.2-0ubuntu1~16.04.1~juju1
Candidate: 1:2.0.2-0ubuntu1~16.04.1~juju1
Version table:
*** 1:2.0.2-0ubuntu1~16.04.1~juju1 500
500 http://ppa.launchpad.net/juju/stable/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
2.0.0-0ubuntu0.16.04.2 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
2.0~beta4-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
1.25.6-0ubuntu1~16.04.1~juju1 500
500 http://ppa.launchpad.net/juju/stable/ubuntu xenial/main amd64 Packages
$ apt-cache policy juju-deployer
juju-deployer:
Installed: 0.6.4-0ubuntu1
Candidate: 0.6.4-0ubuntu1
Version table:
*** 0.6.4-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
0.6.4~bzr168~49~ubuntu16.04.1 500
500 http://ppa.launchpad.net/juju/stable/ubuntu xenial/main amd64 Packages