install fails due to None being passed to apt-key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mongodb (Juju Charms Collection) |
Fix Released
|
High
|
Jorge Niedbalski |
Bug Description
OpenStack deployment testing started failing with mongodb charm revno 60 (MP 244156). I rolled back to 59 and confirmed successful U-J deployments with the stable and next charm sets.
All supported deployment test targets fail with same/similar error:
utopic-juno
trusty-juno
trusty-icehouse
precise-icehouse
Bear in mind that uosci is currently testing in a new/temporary environment while our lab is rebuilt, I am looking for someone to reproduce and confirm elsewhere.
## steps to reproduce failure
Using this bundle: http://
juju-deployer -B -c default.yaml -d trusty-juno
## deployer
20:45:30 2014-12-09 20:45:30 [DEBUG] deployer.env: Delta unit: mongodb/0 change:error
20:45:30 2014-12-09 20:45:30 [DEBUG] deployer.env: Delta unit: openstack-
20:45:30 2014-12-09 20:45:30 [DEBUG] deployer.env: Delta machine: 19 change:started
20:45:30 2014-12-09 20:45:30 [ERROR] deployer.env: The following units had errors:
20:45:30 unit: mongodb/0: machine: 9 agent-state: error details: hook failed: "install"
20:45:30 2014-12-09 20:45:30 [INFO] deployer.cli: Deployment stopped. run time: 815.81
## mongodb unit
2014-12-09 20:45:27 INFO install gpg: "None" not a key ID: skipping
2014-12-09 20:45:27 INFO install Traceback (most recent call last):
2014-12-09 20:45:27 INFO install File "/var/lib/
2014-12-09 20:45:27 INFO install hooks.execute(
2014-12-09 20:45:27 INFO install File "/var/lib/
2014-12-09 20:45:27 INFO install self._hooks[
2014-12-09 20:45:27 INFO install File "/var/lib/
2014-12-09 20:45:27 INFO install add_source(
2014-12-09 20:45:27 INFO install File "/var/lib/
2014-12-09 20:45:27 INFO install key])
2014-12-09 20:45:27 INFO install File "/usr/lib/
2014-12-09 20:45:27 INFO install raise CalledProcessEr
2014-12-09 20:45:27 INFO install subprocess.
2014-12-09 20:45:27 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
Related branches
- Tim Van Steenburgh (community): Approve
-
Diff: 1066 lines (+334/-334)12 files modifiedMakefile (+26/-7)
config.yaml (+1/-1)
hooks/hooks.py (+88/-94)
test_requirements.txt (+5/-0)
tests/00-setup (+0/-11)
tests/00_setup.sh (+9/-0)
tests/01_deploy_test.py (+127/-0)
tests/01_test_write_log_rotate_config.py (+0/-41)
tests/02_relate_ceilometer_test.py (+43/-0)
tests/200_deploy.test (+0/-127)
tests/200_relate_ceilometer.test (+0/-53)
unit_tests/test_write_log_rotate_config.py (+35/-0)
Changed in mongodb (Juju Charms Collection): | |
status: | New → Fix Committed |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
importance: | Undecided → High |
Changed in mongodb (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
Confirmed deploy success with mongodb revno 61. Thanks for the quick fix!