2015-04-23 18:47:47 |
Ryan Beisner |
bug |
|
|
added bug |
2015-04-23 18:48:18 |
Ryan Beisner |
branch linked |
|
lp:~1chb1n/charms/trusty/ubuntu/vivid-enablement |
|
2015-04-23 18:48:57 |
Ryan Beisner |
description |
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 validation workload to exercise and validate 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 |
|
2015-04-23 20:28:57 |
Ryan Beisner |
summary |
ubuntu charm fails to deploy vivid (config-changed hook - ImportError: No module named yaml) |
trusty/ubuntu charm fails to deploy vivid and precise |
|
2015-04-23 20:29:31 |
Ryan Beisner |
description |
In UOSCI, we use the Ubuntu charm as a lightweight validation workload to exercise and validate 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 validation workload to exercise and validate proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
Vivid: config-changed hook fails - ImportError: No module named yaml.
Precise: amulet test fails with regard to lxc feature testing.
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 |
|
2015-04-27 14:13:24 |
Ryan Beisner |
description |
In UOSCI, we use the Ubuntu charm as a lightweight validation workload to exercise and validate proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
Vivid: config-changed hook fails - ImportError: No module named yaml.
Precise: amulet test fails with regard to lxc feature testing.
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 validation workload to exercise and validate proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
## Vivid: config-changed hook fails - ImportError: No module named yaml.
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
...
## Precise: unit: ubuntu/1: machine: 2 agent-state: error details: hook failed: "config-changed"
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
|
2015-04-28 12:04:05 |
Ryan Beisner |
description |
In UOSCI, we use the Ubuntu charm as a lightweight validation workload to exercise and validate proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
## Vivid: config-changed hook fails - ImportError: No module named yaml.
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
...
## Precise: unit: ubuntu/1: machine: 2 agent-state: error details: hook failed: "config-changed"
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
The Ubuntu charm fails to deploy Vivid and Precise.
It is important that the Ubuntu charm is deployable on all currently-supported Ubuntu releases, since it is used as a lightweight validation workload to exercise and validate proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
|
2015-04-28 12:52:22 |
Ryan Beisner |
attachment added |
|
precise-archive.zip https://bugs.launchpad.net/charms/+source/ubuntu/+bug/1447765/+attachment/4386617/+files/precise-archive.zip |
|
2015-04-28 12:52:35 |
Ryan Beisner |
attachment added |
|
trusty-archive.zip https://bugs.launchpad.net/charms/+source/ubuntu/+bug/1447765/+attachment/4386618/+files/trusty-archive.zip |
|
2015-04-28 12:53:17 |
Ryan Beisner |
attachment added |
|
utopic-archive.zip https://bugs.launchpad.net/charms/+source/ubuntu/+bug/1447765/+attachment/4386619/+files/utopic-archive.zip |
|
2015-04-28 12:53:35 |
Ryan Beisner |
attachment added |
|
vivid-archive.zip https://bugs.launchpad.net/charms/+source/ubuntu/+bug/1447765/+attachment/4386620/+files/vivid-archive.zip |
|
2015-04-29 05:48:27 |
Ryan Beisner |
summary |
trusty/ubuntu charm fails to deploy vivid and precise |
trusty/ubuntu charm: rev 9 broke Precise, Utopic, Vivid |
|
2015-04-29 05:55:00 |
Ryan Beisner |
description |
The Ubuntu charm fails to deploy Vivid and Precise.
It is important that the Ubuntu charm is deployable on all currently-supported Ubuntu releases, since it is used as a lightweight validation workload to exercise and validate proposed and development versions of juju, juju-deployer, amulet, and other CI toolsets.
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
Ater rev9 of the Ubuntu charm, it fails to deploy Precise, Utopic and Vivid, each for slightly different reasons. But the common cause is rev9 (new-lxc-network) feature addition.
It is important that the Ubuntu charm be kept functional on all currently-supported Ubuntu releases.
TLDR:
Vivid - python-yaml dependency issue.
Utopic - lxc is not installed by default; and if it is installed ahead of the config-changed hook, the new-lxc-network boolean will cause a the unit to become unreachable following activation of the rendered template.
Trusty - OK
Precise - python-six dependency issue, solved by a charm-helper sync. Once that is resolved, the issue then becomes no lxc or bridge-utils by default.
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
|
2015-04-29 06:08:07 |
Ryan Beisner |
description |
Ater rev9 of the Ubuntu charm, it fails to deploy Precise, Utopic and Vivid, each for slightly different reasons. But the common cause is rev9 (new-lxc-network) feature addition.
It is important that the Ubuntu charm be kept functional on all currently-supported Ubuntu releases.
TLDR:
Vivid - python-yaml dependency issue.
Utopic - lxc is not installed by default; and if it is installed ahead of the config-changed hook, the new-lxc-network boolean will cause a the unit to become unreachable following activation of the rendered template.
Trusty - OK
Precise - python-six dependency issue, solved by a charm-helper sync. Once that is resolved, the issue then becomes no lxc or bridge-utils by default.
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
The Ubuntu charm fails to deploy Precise, Utopic and Vivid (even without enabling the new-lxc-network charm config option introduced at rev9).
Before rev9, deployments of this charm were successful to these supported releases.
Additionally, once the initial issues are resolved with these releases, use of the new-lxc-network charm config options results in an unreachable unit on Utopic, and additional errors on Precise.
It is important that the Ubuntu charm be kept functional on all currently-supported Ubuntu releases.
TLDR:
Vivid: python-yaml dependency issue. OK after that is resolved.
Utopic: lxc is not installed by default; and if it is installed ahead of the config-changed hook, use of the new-lxc-network option will cause a the unit to become unreachable following activation of the rendered template.
Trusty: OK as-is.
Precise: python-six dependency issue, solved by a charm-helper sync. Once that is resolved, the issue then becomes no lxc or bridge-utils by default.
...
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
|
2015-04-29 06:16:17 |
Ryan Beisner |
description |
The Ubuntu charm fails to deploy Precise, Utopic and Vivid (even without enabling the new-lxc-network charm config option introduced at rev9).
Before rev9, deployments of this charm were successful to these supported releases.
Additionally, once the initial issues are resolved with these releases, use of the new-lxc-network charm config options results in an unreachable unit on Utopic, and additional errors on Precise.
It is important that the Ubuntu charm be kept functional on all currently-supported Ubuntu releases.
TLDR:
Vivid: python-yaml dependency issue. OK after that is resolved.
Utopic: lxc is not installed by default; and if it is installed ahead of the config-changed hook, use of the new-lxc-network option will cause a the unit to become unreachable following activation of the rendered template.
Trusty: OK as-is.
Precise: python-six dependency issue, solved by a charm-helper sync. Once that is resolved, the issue then becomes no lxc or bridge-utils by default.
...
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
The Ubuntu charm fails to deploy Precise, Utopic and Vivid (even without enabling the new-lxc-network charm config option introduced at rev9).
Before rev9, deployments of this charm were successful to these supported releases.
Additionally, once the initial issues are resolved with these releases, use of the new-lxc-network charm config options results in an unreachable unit on Utopic, and additional errors on Precise.
It is important that the Ubuntu charm be kept functional on all currently-supported Ubuntu releases.
TLDR:
Vivid: python-yaml dependency issue. OK after that is resolved.
Utopic: lxc is not installed by default; and if it is installed ahead of the config-changed hook, use of the new-lxc-network option will cause a the unit to become unreachable following activation of the rendered template. http://paste.ubuntu.com/10935790/
Trusty: OK as-is.
Precise: python-six dependency issue, solved by a charm-helper sync. Once that is resolved, the issue then becomes no lxc or bridge-utils by default.
...
## Vivid: config-changed hook fails - ImportError: No module named yaml.
--> Python 2 dependency python-yaml can no longer be expected to be present in Vivid and later.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 Traceback (most recent call last):
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/config-changed", line 24, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 from charmhelpers.core.hookenv import (
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 File "/var/lib/juju/agents/unit-ubuntu-0/charm/hooks/charmhelpers/core/hookenv.py", line 30, in <module>
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 import six
2015-04-27 13:43:51 INFO unit.ubuntu/0.config-changed logger.go:40 ImportError: No module named six
2015-04-27 13:43:51 ERROR juju.worker.uniter.operation runhook.go:89 hook "config-changed" failed: exit status 1 |
|
2015-04-29 14:13:31 |
Ryan Beisner |
branch linked |
|
lp:~1chb1n/charms/trusty/ubuntu/simplify-and-test |
|
2015-04-29 14:14:40 |
Ryan Beisner |
branch unlinked |
lp:~1chb1n/charms/trusty/ubuntu/vivid-enablement |
|
|
2015-04-30 13:36:50 |
Ryan Beisner |
branch linked |
|
lp:~1chb1n/charms/trusty/ubuntu/simplify-and-test |
|