Merge lp:~brad-marshall/charms/trusty/memcached/add-monitors-relation into lp:charms/trusty/memcached
| Status: | Merged |
|---|---|
| Merge reported by: | Adam Israel |
| Merged at revision: | not available |
| Proposed branch: | lp:~brad-marshall/charms/trusty/memcached/add-monitors-relation |
| Merge into: | lp:charms/trusty/memcached |
| Diff against target: |
94 lines (+32/-8) 3 files modified
hooks/memcached_hooks.py (+20/-7) metadata.yaml (+6/-1) monitors.yaml (+6/-0) |
| To merge this branch: | bzr merge lp:~brad-marshall/charms/trusty/memcached/add-monitors-relation |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Adam Israel | 2015-11-09 | Approve on 2016-03-02 | |
| Konstantinos Tsakalozos | Needs Fixing on 2015-12-10 | ||
| Review Queue (community) | automated testing | Needs Fixing on 2015-11-12 | |
|
Review via email:
|
|||
Description of the Change
Add support for local-monitor interface, this will allow using the nrpe and nagios charms.
charm_unit_test #12504 memcached for brad-marshall mp276958
UNIT OK: passed
| Peter Sabaini (peter-sabaini) wrote : | # |
2 minor comments inline
charm_amulet_test #7821 memcached for brad-marshall mp276958
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://
Build: http://
| Review Queue (review-queue) wrote : | # |
This item has failed automated testing! Results available here http://
| Review Queue (review-queue) wrote : | # |
This item has failed automated testing! Results available here http://
- 72. By Brad Marshall on 2015-11-23
-
[bradm] Fix lint warnings, tidy up comments
charm_lint_check #14250 memcached for brad-marshall mp276958
LINT FAIL: lint-test failed
LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.
Full lint test output: http://
Build: http://
charm_unit_test #13281 memcached for brad-marshall mp276958
UNIT OK: passed
| Brad Marshall (brad-marshall) wrote : | # |
Updated to fix the lint problems I caused, and some other minor issues. The test failures are pre-existing, nothing to do with my changes best I can tell.
charm_amulet_test #8013 memcached for brad-marshall mp276958
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://
Build: http://
The charm tests fail because the firewall blocks port 11214 of memcached while the tests try to telnet there. The newly created bug https:/
The above bug is not directly related to the patch proposed here. However, at this point there is no proper way to verify that we do not break something. Also, there is no test dedicated to the added functionality.
| Adam Israel (aisrael) wrote : | # |
Hi Brad,
I'm happy to report that the blocking bug, lp:1525026, has been addressed. With that in place, your tests now pass.
We'd still like to have tests for the new functionality, but I won't block on that.
Thanks for your work towards improving this charm!

charm_lint_check #13367 memcached for brad-marshall mp276958
LINT FAIL: lint-test failed
LINT Results (max last 2 lines):
make: *** [lint] Error 1
ERROR:root:Make target returned non-zero.
Full lint test output: http:// paste.ubuntu. com/13207679/ 10.245. 162.77: 8080/job/ charm_lint_ check/13367/
Build: http://