Merge lp://qastaging/~brad-marshall/charms/trusty/ceilometer/add-nrpe-checks into lp://qastaging/~openstack-charmers-archive/charms/trusty/ceilometer/trunk
- Trusty Tahr (14.04)
- add-nrpe-checks
- Merge into trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 64 | ||||
Proposed branch: | lp://qastaging/~brad-marshall/charms/trusty/ceilometer/add-nrpe-checks | ||||
Merge into: | lp://qastaging/~openstack-charmers-archive/charms/trusty/ceilometer/trunk | ||||
Diff against target: |
596 lines (+466/-1) 7 files modified
charm-helpers.yaml (+1/-0) config.yaml (+10/-1) hooks/ceilometer_hooks.py (+55/-0) hooks/ceilometer_utils.py (+19/-0) hooks/charmhelpers/contrib/charmsupport/nrpe.py (+222/-0) hooks/charmhelpers/contrib/charmsupport/volumes.py (+156/-0) metadata.yaml (+3/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~brad-marshall/charms/trusty/ceilometer/add-nrpe-checks | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Liam Young (community) | Disapprove | ||
Review via email: mp+241917@code.qastaging.launchpad.net |
This proposal supersedes a proposal from 2014-11-12.
Commit message
Description of the change
Adds nrpe-external-
Ryan Beisner (1chb1n) wrote : Posted in a previous version of this proposal | # |
Ryan Beisner (1chb1n) wrote : Posted in a previous version of this proposal | # |
UOSCI bot says:
charm_unit_test #827 trusty-ceilometer for brad-marshall mp241498
UNIT FAIL: unit-test failed
UNIT Results (max last 5 lines):
hooks/
TOTAL 180 24 87%
Ran 25 tests in 0.729s
FAILED (errors=3)
make: *** [test] Error 1
Full unit test output: http://
Build: http://
Ryan Beisner (1chb1n) wrote : Posted in a previous version of this proposal | # |
UOSCI bot says:
charm_amulet_test #372 trusty-ceilometer for brad-marshall mp241498
AMULET FAIL: amulet-test missing
AMULET Results (max last 5 lines):
INFO:root:Workspace dir: /var/lib/
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test']
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full amulet test output: http://
Build: http://
Liam Young (gnuoy) wrote : Posted in a previous version of this proposal | # |
Thank you for the mp, the nagios checks are sorely needed. It looks fine, there just a few things it would be good to get fixed up.
The list of services that comprise a ceilometer deployment are already compiled as part of the service context in ceilometer_
That being said, it looks like the existing charm has a list of new icehouse packages which are being added to the package list in ceilometer_utils.py but the corresponding services are not being added to the CONFIG_FILES OrderedDict. This means that the ceilometer-alarm* and ceilometer-
So, what I think is needed is:
1) Steal the services() method from nova-cloud-
2) Define a list of ICEHOUSE_SERVICES (probably exactly the same as ICEHOUSE_PACKAGES) and conditionally add (depending on ostack release) to the CEILOMETER_CONF service in register_configs():
if (get_os_
>= 'icehouse'):
Liam Young (gnuoy) wrote : Posted in a previous version of this proposal | # |
Also, could you move the check_upstart_job into charmhelpers as it seems to be common across these mps?
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal | # |
UOSCI bot says:
charm_unit_test #917 trusty-ceilometer for brad-marshall mp241498
UNIT FAIL: unit-test failed
UNIT Results (max last 5 lines):
hooks/
TOTAL 200 41 80%
Ran 25 tests in 0.747s
FAILED (errors=3)
make: *** [test] Error 1
Full unit test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal | # |
UOSCI bot says:
charm_amulet_test #425 trusty-ceilometer for brad-marshall mp241498
AMULET FAIL: amulet-test missing
AMULET Results (max last 5 lines):
INFO:root:Workspace dir: /var/lib/
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test']
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full amulet test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : Posted in a previous version of this proposal | # |
UOSCI bot says:
charm_lint_check #1083 trusty-ceilometer for brad-marshall mp241498
LINT OK: passed
LINT Results (max last 5 lines):
I: config.yaml: option os-internal-network has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option ssl_ca has no default value
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option os-public-network has no default value
Full lint test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_amulet_test #434 trusty-ceilometer for brad-marshall mp241917
AMULET FAIL: amulet-test missing
AMULET Results (max last 5 lines):
INFO:root:Workspace dir: /var/lib/
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test']
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full amulet test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_unit_test #926 trusty-ceilometer for brad-marshall mp241917
UNIT FAIL: unit-test failed
UNIT Results (max last 5 lines):
hooks/
TOTAL 200 41 80%
Ran 25 tests in 0.836s
FAILED (errors=3)
make: *** [test] Error 1
Full unit test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_lint_check #1092 trusty-ceilometer for brad-marshall mp241917
LINT OK: passed
LINT Results (max last 5 lines):
I: config.yaml: option os-internal-network has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option ssl_ca has no default value
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option os-public-network has no default value
Full lint test output: http://
Build: http://
- 63. By Brad Marshall
-
[bradm] Removed puppet header from nagios_plugin module
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_lint_check #1103 trusty-ceilometer for brad-marshall mp241917
LINT OK: passed
LINT Results (max last 5 lines):
I: config.yaml: option os-internal-network has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option ssl_ca has no default value
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option os-public-network has no default value
Full lint test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_unit_test #937 trusty-ceilometer for brad-marshall mp241917
UNIT FAIL: unit-test failed
UNIT Results (max last 5 lines):
hooks/
TOTAL 200 41 80%
Ran 25 tests in 0.751s
FAILED (errors=3)
make: *** [test] Error 1
Full unit test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_amulet_test #445 trusty-ceilometer for brad-marshall mp241917
AMULET FAIL: amulet-test missing
AMULET Results (max last 5 lines):
INFO:root:Workspace dir: /var/lib/
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test']
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full amulet test output: http://
Build: http://
- 64. By Brad Marshall
-
[bradm] Removed nagios check files that were moved to nrpe-external-
master charm
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_amulet_test #453 trusty-ceilometer for brad-marshall mp241917
AMULET FAIL: amulet-test missing
AMULET Results (max last 5 lines):
INFO:root:Workspace dir: /var/lib/
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test']
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full amulet test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_lint_check #1111 trusty-ceilometer for brad-marshall mp241917
LINT OK: passed
LINT Results (max last 5 lines):
I: config.yaml: option os-internal-network has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option ssl_ca has no default value
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option os-public-network has no default value
Full lint test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_unit_test #945 trusty-ceilometer for brad-marshall mp241917
UNIT FAIL: unit-test failed
UNIT Results (max last 5 lines):
hooks/
TOTAL 199 40 80%
Ran 25 tests in 0.731s
FAILED (errors=3)
make: *** [test] Error 1
Full unit test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_lint_check #1254 trusty-ceilometer for brad-marshall mp241917
LINT OK: passed
LINT Results (max last 5 lines):
I: config.yaml: option os-internal-network has no default value
I: config.yaml: option os-admin-network has no default value
I: config.yaml: option ssl_ca has no default value
I: config.yaml: option ssl_cert has no default value
I: config.yaml: option os-public-network has no default value
Full lint test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_unit_test #1088 trusty-ceilometer for brad-marshall mp241917
UNIT FAIL: unit-test failed
UNIT Results (max last 5 lines):
hooks/
TOTAL 199 40 80%
Ran 25 tests in 0.833s
FAILED (errors=3)
make: *** [test] Error 1
Full unit test output: http://
Build: http://
uosci-testing-bot (uosci-testing-bot) wrote : | # |
UOSCI bot says:
charm_amulet_test #557 trusty-ceilometer for brad-marshall mp241917
AMULET FAIL: amulet-test missing
AMULET Results (max last 5 lines):
INFO:root:Workspace dir: /var/lib/
INFO:root:Reading file: Makefile
INFO:root:Searching for: ['@juju test']
INFO:root:Search string not found in makefile target commands.
ERROR:root:No make target was executed.
Full amulet test output: http://
Build: http://
Liam Young (gnuoy) wrote : | # |
Thank for the mp. The new nrpe support is very gratefully received !
I've taken this branch and centralised the common code between this and the other nrpe branches and moved it to charm-helpers. To land it I created a new branch from this one which has now been merged into the 'next' charm. The 'next' charms will overwrite the stable ones in a couple of weeks.
UOSCI bot says:
charm_lint_check #992 trusty-ceilometer for brad-marshall mp241498
LINT FAIL: lint-test failed
LINT Results (max last 5 lines): ceilometer_ hooks.py: 146:80: E501 line too long (92 > 79 characters) ceilometer_ hooks.py: 174:22: E251 unexpected spaces around keyword / parameter equals ceilometer_ hooks.py: 174:24: E251 unexpected spaces around keyword / parameter equals
ERROR:root:Make target returned non-zero.
hooks/
hooks/
hooks/
make: *** [lint] Error 1
Full lint test output: http:// paste.ubuntu. com/8955755/ 10.98.191. 181:8080/ job/charm_ lint_check/ 992/
Build: http://