Merge lp:~jjo/charms/trusty/ceph-osd/fix-ceph-osd-nrpe into lp:~openstack-charmers-archive/charms/trusty/ceph-osd/next

Proposed by JuanJo Ciarlante
Status: Merged
Merged at revision: 44
Proposed branch: lp:~jjo/charms/trusty/ceph-osd/fix-ceph-osd-nrpe
Merge into: lp:~openstack-charmers-archive/charms/trusty/ceph-osd/next
Diff against target: 12 lines (+2/-1)
1 file modified
hooks/hooks.py (+2/-1)
To merge this branch: bzr merge lp:~jjo/charms/trusty/ceph-osd/fix-ceph-osd-nrpe
Reviewer Review Type Date Requested Status
Billy Olsen Approve
Review via email: mp+264915@code.launchpad.net
To post a comment you must log in.
Revision history for this message
uosci-testing-bot (uosci-testing-bot) wrote :

charm_unit_test #5864 ceph-osd-next for jjo mp264915
    UNIT FAIL: unit-test missing

UNIT Results (max last 2 lines):
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.

Full unit test output: http://paste.ubuntu.com/11884484/
Build: http://10.245.162.77:8080/job/charm_unit_test/5864/

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

charm_lint_check #6232 ceph-osd-next for jjo mp264915
    LINT OK: passed

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

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

charm_amulet_test #5131 ceph-osd-next for jjo mp264915
    AMULET OK: passed

Build: http://10.245.162.77:8080/job/charm_amulet_test/5131/

Revision history for this message
Billy Olsen (billy-olsen) wrote :

Definitely seems like a worthwhile change to actually report status of all the OSDs

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'hooks/hooks.py'
2--- hooks/hooks.py 2015-01-12 12:03:59 +0000
3+++ hooks/hooks.py 2015-07-15 19:59:18 +0000
4@@ -221,7 +221,8 @@
5 nrpe_setup.add_check(
6 shortname='ceph-osd',
7 description='process check {%s}' % current_unit,
8- check_cmd='check_upstart_job ceph-osd',
9+ check_cmd=('/bin/cat /var/lib/ceph/osd/ceph-*/whoami |'
10+ 'xargs -I@ status ceph-osd id=@ && exit 0 || exit 2')
11 )
12 nrpe_setup.write()
13

Subscribers

People subscribed via source and target branches