unit-drupal-0: 2014-11-27 22:54:51 INFO juju.worker runner.go:260 start "rsyslog"
unit-drupal-0: 2014-11-27 22:54:51 DEBUG juju.worker.rsyslog worker.go:75 starting rsyslog worker mode 1 for "unit-drupal-0" "vagrant-local"
unit-drupal-0: 2014-11-27 22:54:51 DEBUG juju.worker.logger logger.go:45 reconfiguring logging from "<root>=DEBUG" to "<root>=WARNING;unit=DEBUG"
unit-drupal-0: 2014-11-27 22:54:52 INFO install Traceback (most recent call last):
unit-drupal-0: 2014-11-27 22:54:52 INFO install File "/var/lib/juju/agents/unit-drupal-0/charm/hooks/install", line 5, in <module>
unit-drupal-0: 2014-11-27 22:54:52 INFO install import charmhelpers.contrib.ansible
unit-drupal-0: 2014-11-27 22:54:52 INFO install File "/var/lib/juju/agents/unit-drupal-0/charm/hooks/charmhelpers/contrib/ansible/__init__.py", line 66, in <module>
unit-drupal-0: 2014-11-27 22:54:52 INFO install import charmhelpers.contrib.templating.contexts
unit-drupal-0: 2014-11-27 22:54:52 INFO install File "/var/lib/juju/agents/unit-drupal-0/charm/hooks/charmhelpers/contrib/templating/contexts.py", line 9, in <module>
unit-drupal-0: 2014-11-27 22:54:52 INFO install import six
unit-drupal-0: 2014-11-27 22:54:52 INFO install ImportError: No module named six
unit-drupal-0: 2014-11-27 22:54:52 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
I'm getting this with the last charm-helpers version in my charm, so I have to install six manually now.
Where should it be this new dependency?
Oh! my charm is in precise, only (for now).
On trunk, charmhelpers/ __init_ _.py detects that six is not installed and installs the python-six package with apt.
If your charmhelpers/ __init_ _.py is empty, you managed to sync trunk when it was broken. Updating charm-helpers should fix your problem.
If the import code is in charmhelpers/ __init_ _.py, then we need to understand why it is not being invoked as it was when we tested it.