Merge lp:~1chb1n/charms/trusty/nova-compute/next-amulet-lp1440953 into lp:~openstack-charmers-archive/charms/trusty/nova-compute/next

Proposed by Ryan Beisner
Status: Merged
Merged at revision: 121
Proposed branch: lp:~1chb1n/charms/trusty/nova-compute/next-amulet-lp1440953
Merge into: lp:~openstack-charmers-archive/charms/trusty/nova-compute/next
Diff against target: 61 lines (+9/-4)
4 files modified
hooks/charmhelpers/contrib/openstack/templates/git.upstart (+4/-0)
hooks/charmhelpers/core/strutils.py (+2/-2)
hooks/nova_compute_utils.py (+1/-0)
tests/basic_deployment.py (+2/-2)
To merge this branch: bzr merge lp:~1chb1n/charms/trusty/nova-compute/next-amulet-lp1440953
Reviewer Review Type Date Requested Status
OpenStack Charmers Pending
Review via email: mp+256104@code.launchpad.net

Description of the change

- explicitly install librbd1 re: bug 1440953
 - flip amulet next charm on
 - flip amulet test debug on
 - sync charm helpers
 - delint

Also resolves amulet test failure on nova-cloud-controller.

To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_lint_check #3321 nova-compute-next for 1chb1n mp256104
    LINT OK: passed

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

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

charm_unit_test #3109 nova-compute-next for 1chb1n mp256104
    UNIT OK: passed

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

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

charm_amulet_test #3142 nova-compute-next for 1chb1n mp256104
    AMULET FAIL: amulet-test failed

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

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

Revision history for this message
James Page (james-page) wrote :

This looks fine - dealing with the amulet test failure (due to landed commit not being fully tested).

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/charmhelpers/contrib/openstack/templates/git.upstart'
2--- hooks/charmhelpers/contrib/openstack/templates/git.upstart 2015-03-31 15:01:48 +0000
3+++ hooks/charmhelpers/contrib/openstack/templates/git.upstart 2015-04-14 05:37:11 +0000
4@@ -9,5 +9,9 @@
5 exec start-stop-daemon --start --chuid {{ user_name }} \
6 --chdir {{ start_dir }} --name {{ process_name }} \
7 --exec {{ executable_name }} -- \
8+ {% for config_file in config_files -%}
9 --config-file={{ config_file }} \
10+ {% endfor -%}
11+ {% if log_file -%}
12 --log-file={{ log_file }}
13+ {% endif -%}
14
15=== modified file 'hooks/charmhelpers/core/strutils.py'
16--- hooks/charmhelpers/core/strutils.py 2015-02-19 04:35:23 +0000
17+++ hooks/charmhelpers/core/strutils.py 2015-04-14 05:37:11 +0000
18@@ -33,9 +33,9 @@
19
20 value = value.strip().lower()
21
22- if value in ['y', 'yes', 'true', 't']:
23+ if value in ['y', 'yes', 'true', 't', 'on']:
24 return True
25- elif value in ['n', 'no', 'false', 'f']:
26+ elif value in ['n', 'no', 'false', 'f', 'off']:
27 return False
28
29 msg = "Unable to interpret string value '%s' as boolean" % (value)
30
31=== modified file 'hooks/nova_compute_utils.py'
32--- hooks/nova_compute_utils.py 2015-04-13 12:22:05 +0000
33+++ hooks/nova_compute_utils.py 2015-04-14 05:37:11 +0000
34@@ -57,6 +57,7 @@
35 BASE_PACKAGES = [
36 'nova-compute',
37 'genisoimage', # was missing as a package dependency until raring.
38+ 'librbd1', # bug 1440953
39 'python-six',
40 ]
41
42
43=== modified file 'tests/basic_deployment.py'
44--- tests/basic_deployment.py 2015-03-31 13:31:23 +0000
45+++ tests/basic_deployment.py 2015-04-14 05:37:11 +0000
46@@ -14,13 +14,13 @@
47 )
48
49 # Use DEBUG to turn on debug logging
50-u = OpenStackAmuletUtils(ERROR)
51+u = OpenStackAmuletUtils(DEBUG)
52
53
54 class NovaBasicDeployment(OpenStackAmuletDeployment):
55 """Amulet tests on a basic nova compute deployment."""
56
57- def __init__(self, series=None, openstack=None, source=None, stable=True):
58+ def __init__(self, series=None, openstack=None, source=None, stable=False):
59 """Deploy the entire test environment."""
60 super(NovaBasicDeployment, self).__init__(series, openstack, source, stable)
61 self._add_services()

Subscribers

People subscribed via source and target branches