Merge lp:~james-page/charms/trusty/mysql/forward-compat-xenial into lp:charms/trusty/mysql

Proposed by James Page
Status: Merged
Merged at revision: 156
Proposed branch: lp:~james-page/charms/trusty/mysql/forward-compat-xenial
Merge into: lp:charms/trusty/mysql
Diff against target: 26 lines (+20/-0)
1 file modified
hooks/install (+20/-0)
To merge this branch: bzr merge lp:~james-page/charms/trusty/mysql/forward-compat-xenial
Reviewer Review Type Date Requested Status
Ryan Beisner (community) Approve
charmers Pending
Review via email: mp+287311@code.launchpad.net
To post a comment you must log in.
158. By James Page

Fix perms

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

charm_lint_check #1545 mysql for james-page mp287311
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/1545/

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

charm_unit_test #1296 mysql for james-page mp287311
    UNIT OK: passed

Build: http://10.245.162.36:8080/job/charm_unit_test/1296/

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

charm_amulet_test #544 mysql for james-page mp287311
    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/15206495/
Build: http://10.245.162.36:8080/job/charm_amulet_test/544/

159. By James Page

Disable xenial tests for now as the keystone charm is not currently compat

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

charm_lint_check #1549 mysql for james-page mp287311
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/1549/

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

charm_unit_test #1298 mysql for james-page mp287311
    UNIT OK: passed

Build: http://10.245.162.36:8080/job/charm_unit_test/1298/

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

charm_amulet_test #546 mysql for james-page mp287311
    AMULET OK: passed

Build: http://10.245.162.36:8080/job/charm_amulet_test/546/

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

charm_lint_check #1733 mysql for james-page mp287311
    LINT OK: passed

Build: http://10.245.162.36:8080/job/charm_lint_check/1733/

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

charm_unit_test #1471 mysql for james-page mp287311
    UNIT OK: passed

Build: http://10.245.162.36:8080/job/charm_unit_test/1471/

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

charm_amulet_test #617 mysql for james-page mp287311
    AMULET OK: passed

Build: http://10.245.162.36:8080/job/charm_amulet_test/617/

Revision history for this message
Ryan Beisner (1chb1n) :
review: Approve
Revision history for this message
Ryan Beisner (1chb1n) wrote :

+1 on this work-around and the mongodb change to un-wedge xenial. It's not deployable at all after the python27 removal in xenial-dev, and that blocks a lot of other things that are inter-related on mysql and mongodb.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'hooks/install'
2--- hooks/install 1970-01-01 00:00:00 +0000
3+++ hooks/install 2016-02-26 15:45:59 +0000
4@@ -0,0 +1,20 @@
5+#!/bin/bash
6+# Wrapper to deal with newer Ubuntu versions that don't have py2 installed
7+# by default.
8+
9+declare -a DEPS=('apt' 'netaddr' 'netifaces' 'pip' 'yaml')
10+
11+check_and_install() {
12+ pkg="${1}-${2}"
13+ if ! dpkg -s ${pkg} 2>&1 > /dev/null; then
14+ apt-get -y install ${pkg}
15+ fi
16+}
17+
18+PYTHON="python"
19+
20+for dep in ${DEPS[@]}; do
21+ check_and_install ${PYTHON} ${dep}
22+done
23+
24+exec ./hooks/install.real
25
26=== renamed file 'hooks/install' => 'hooks/install.real'

Subscribers

People subscribed via source and target branches

to all changes: