Merge lp:~james-page/charms/trusty/ceph-radosgw/wily into lp:~openstack-charmers-archive/charms/trusty/ceph-radosgw/next

Proposed by James Page
Status: Merged
Merged at revision: 44
Proposed branch: lp:~james-page/charms/trusty/ceph-radosgw/wily
Merge into: lp:~openstack-charmers-archive/charms/trusty/ceph-radosgw/next
Diff against target: 41 lines (+21/-1)
2 files modified
hooks/hooks.py (+1/-1)
hooks/install (+20/-0)
To merge this branch: bzr merge lp:~james-page/charms/trusty/ceph-radosgw/wily
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+271982@code.launchpad.net
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #10443 ceph-radosgw-next for james-page mp271982
    LINT OK: passed

Build: http://10.245.162.77:8080/job/charm_lint_check/10443/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #9638 ceph-radosgw-next for james-page mp271982
    UNIT OK: passed

Build: http://10.245.162.77:8080/job/charm_unit_test/9638/

Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_amulet_test #6593 ceph-radosgw-next for james-page mp271982
    AMULET FAIL: amulet-test failed

AMULET Results (max last 2 lines):
make: *** [functional_test] Error 1
ERROR:root:Make target returned non-zero.

Full amulet test output: http://paste.ubuntu.com/12523836/
Build: http://10.245.162.77:8080/job/charm_amulet_test/6593/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'hooks/hooks.py'
--- hooks/hooks.py 2015-06-02 18:51:37 +0000
+++ hooks/hooks.py 2015-09-22 14:25:40 +0000
@@ -109,7 +109,7 @@
109 apt_install(APACHE_PACKAGES, fatal=True)109 apt_install(APACHE_PACKAGES, fatal=True)
110110
111111
112@hooks.hook('install')112@hooks.hook('install.real')
113def install():113def install():
114 execd_preinstall()114 execd_preinstall()
115 enable_pocket('multiverse')115 enable_pocket('multiverse')
116116
=== modified symlink 'hooks/install' (properties changed: -x to +x)
=== target was u'hooks.py'
--- hooks/install 1970-01-01 00:00:00 +0000
+++ hooks/install 2015-09-22 14:25:40 +0000
@@ -0,0 +1,20 @@
1#!/bin/bash
2# Wrapper to deal with newer Ubuntu versions that don't have py2 installed
3# by default.
4
5declare -a DEPS=('apt' 'netaddr' 'netifaces' 'pip' 'yaml')
6
7check_and_install() {
8 pkg="${1}-${2}"
9 if ! dpkg -s ${pkg} 2>&1 > /dev/null; then
10 apt-get -y install ${pkg}
11 fi
12}
13
14PYTHON="python"
15
16for dep in ${DEPS[@]}; do
17 check_and_install ${PYTHON} ${dep}
18done
19
20exec ./hooks/install.real
021
=== added symlink 'hooks/install.real'
=== target is u'hooks.py'

Subscribers

People subscribed via source and target branches