trusty/ubuntu charm: rev 9 broke Precise, Utopic, Vivid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug 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. http://
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.
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
...
## Precise: ImportError: No module named six
--> This is fixed in charmhelpers. Sync needed.
2015-04-27 13:43:51 INFO unit.ubuntu/
2015-04-27 13:43:51 INFO unit.ubuntu/
2015-04-27 13:43:51 INFO unit.ubuntu/
2015-04-27 13:43:51 INFO unit.ubuntu/
2015-04-27 13:43:51 INFO unit.ubuntu/
2015-04-27 13:43:51 INFO unit.ubuntu/
2015-04-27 13:43:51 ERROR juju.worker.
Related branches
- Tim Van Steenburgh (community): Approve
-
Diff: 4371 lines (+655/-3480)41 files modifiedMakefile (+57/-0)
README.md (+5/-21)
charm-helpers-hooks.yaml (+0/-5)
charm-helpers-tests.yaml (+4/-0)
config.yaml (+0/-8)
files/bundle-example.yaml (+14/-0)
hooks/charmhelpers/core/__init__.py (+0/-15)
hooks/charmhelpers/core/decorators.py (+0/-57)
hooks/charmhelpers/core/fstab.py (+0/-134)
hooks/charmhelpers/core/hookenv.py (+0/-568)
hooks/charmhelpers/core/host.py (+0/-446)
hooks/charmhelpers/core/services/__init__.py (+0/-18)
hooks/charmhelpers/core/services/base.py (+0/-329)
hooks/charmhelpers/core/services/helpers.py (+0/-259)
hooks/charmhelpers/core/strutils.py (+0/-42)
hooks/charmhelpers/core/sysctl.py (+0/-56)
hooks/charmhelpers/core/templating.py (+0/-68)
hooks/charmhelpers/core/unitdata.py (+0/-477)
hooks/charmhelpers/fetch/__init__.py (+0/-439)
hooks/charmhelpers/fetch/archiveurl.py (+0/-161)
hooks/charmhelpers/fetch/bzrurl.py (+0/-78)
hooks/charmhelpers/fetch/giturl.py (+0/-71)
hooks/config-changed (+0/-43)
hooks/hooks.py (+0/-45)
hooks/install (+0/-2)
hooks/utils.py (+0/-27)
metadata.yaml (+1/-1)
templates/lxc-bridge.conf (+0/-10)
tests/00-setup.sh (+4/-10)
tests/010_basic_precise (+7/-0)
tests/015_basic_trusty (+7/-0)
tests/020_basic_utopic (+7/-0)
tests/025_basic_vivid (+7/-0)
tests/10-deploy-test.py (+0/-90)
tests/basic_deployment.py (+49/-0)
tests/charmhelpers/__init__.py (+38/-0)
tests/charmhelpers/contrib/__init__.py (+15/-0)
tests/charmhelpers/contrib/amulet/__init__.py (+15/-0)
tests/charmhelpers/contrib/amulet/deployment.py (+93/-0)
tests/charmhelpers/contrib/amulet/utils.py (+323/-0)
tests/tests.yaml (+9/-0)
description: | updated |
summary: |
- ubuntu charm fails to deploy vivid (config-changed hook - ImportError: - No module named yaml) + trusty/ubuntu charm fails to deploy vivid and precise |
description: | updated |
description: | updated |
description: | updated |
summary: |
- trusty/ubuntu charm fails to deploy vivid and precise + trusty/ubuntu charm: rev 9 broke Precise, Utopic, Vivid |
description: | updated |
description: | updated |
The proposed branch deployed OK for Precise, Trusty, Utopic and Vivid. Attaching corresponding jenkins artifacts and logs from these deployment checks.