In UOSCI, we use the Ubuntu charm as a lightweight and simple validation workload to exercise proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
2015-04-23 15:14:07 INFO juju.worker.uniter.operation executor.go:87 preparing operation "run config-changed hook"
2015-04-23 15:14:07 DEBUG juju.worker.uniter.filter filter.go:627 discarded config event
2015-04-23 15:14:07 INFO juju.worker.uniter.operation executor.go:87 executing operation "run config-changed hook"
2015-04-23 15:14:07 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-23 15:14:07 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 12, in <module>
2015-04-23 15:14:07 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-23 15:14:07 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 25, in <module>
2015-04-23 15:14:07 INFO unit.ubuntu/0.config-changed logger.go:40 import yaml
2015-04-23 15:14:07 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named yaml
2015-04-23 15:14:07 INFO juju.worker.uniter.context context.go:381 handling reboot
2015-04-23 15:14:07 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1
2015-04-23 15:14:07 INFO juju.worker.uniter modes.go:452 ModeAbide exiting
In UOSCI, we use the Ubuntu charm as a lightweight and simple validation workload to exercise proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
2015-04-23 15:14:07 INFO juju.worker. uniter. operation executor.go:87 preparing operation "run config-changed hook" uniter. filter filter.go:627 discarded config event uniter. operation executor.go:87 executing operation "run config-changed hook" 0.config- changed logger.go:40 Traceback (most recent call last): 0.config- changed logger.go:40 File "/var/lib/ juju/agents/ unit-ubuntu- 0/charm/ hooks/config- changed" , line 12, in <module> 0.config- changed logger.go:40 from charmhelpers. core.hookenv import ( 0.config- changed logger.go:40 File "/var/lib/ juju/agents/ unit-ubuntu- 0/charm/ hooks/charmhelp ers/core/ hookenv. py", line 25, in <module> 0.config- changed logger.go:40 import yaml 0.config- changed logger.go:40 ImportError: No module named yaml uniter. context context.go:381 handling reboot uniter. operation runhook.go:89 hook "config-changed" failed: exit status 1
2015-04-23 15:14:07 DEBUG juju.worker.
2015-04-23 15:14:07 INFO juju.worker.
2015-04-23 15:14:07 INFO unit.ubuntu/
2015-04-23 15:14:07 INFO unit.ubuntu/
2015-04-23 15:14:07 INFO unit.ubuntu/
2015-04-23 15:14:07 INFO unit.ubuntu/
2015-04-23 15:14:07 INFO unit.ubuntu/
2015-04-23 15:14:07 INFO unit.ubuntu/
2015-04-23 15:14:07 INFO juju.worker.
2015-04-23 15:14:07 ERROR juju.worker.
2015-04-23 15:14:07 INFO juju.worker.uniter modes.go:452 ModeAbide exiting