While running "juju deployer -c simple.yaml simple" I consistently get the following error:
2014-10-20 11:34:37 Starting deployment of simple
Traceback (most recent call last):
File "/usr/bin/juju-deployer", line 9, in <module>
load_entry_point('juju-deployer==0.4.1', 'console_scripts', 'juju-deployer')()
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 127, in main
run()
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 225, in run
importer.Importer(env, deployment, options).run()
File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 186, in run
self.get_charms()
File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 67, in get_charms
self.deployment.resolve(self.options.overrides or ())
File "/usr/lib/python2.7/dist-packages/deployer/deployment.py", line 148, in resolve
self.validate_placement()
File "/usr/lib/python2.7/dist-packages/deployer/deployment.py", line 245, in validate_placement
feedback.extend(placement.validate())
File "/usr/lib/python2.7/dist-packages/deployer/service.py", line 96, in validate
self.service.name, unit_placement[idx])
TypeError: error() takes exactly 2 arguments (4 given)
ERROR subprocess encountered error code 1
Packages:
* juju-core 1.20.9-0ubuntu1~14.10.1~juju
* juju-deployer 0.4.1-1
I'm using Ubuntu 14.10, but juju is installed from ppa:juju/stable. The configuration file used is attached.
FYI, I get the same stacktrace when using juju-deployer 0.4.3 (installed from pypi)