Merge lp://staging/~canonical-is-sa/charms/trusty/kibana/kibana4 into lp://staging/charms/trusty/kibana
Status: | Merged |
---|---|
Merged at revision: | 20 |
Proposed branch: | lp://staging/~canonical-is-sa/charms/trusty/kibana/kibana4 |
Merge into: | lp://staging/charms/trusty/kibana |
Diff against target: |
212 lines (+33/-40) 9 files modified
README.md (+1/-1) config.yaml (+2/-6) files/charm/config.yml (+2/-1) files/charm/kibana.init (+1/-1) files/charm/kibana_lb.conf (+4/-1) hooks/config-changed (+0/-2) hooks/install (+10/-6) hooks/web-relation-joined (+0/-9) tests/11-scale-elastic.py (+13/-13) |
To merge this branch: | bzr merge lp://staging/~canonical-is-sa/charms/trusty/kibana/kibana4 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Kevin W Monroe (community) | Approve | ||
Konstantinos Tsakalozos (community) | Approve | ||
Chris MacNaughton (community) | Approve | ||
Review Queue (community) | automated testing | Approve | |
Review via email: mp+276944@code.staging.launchpad.net |
Commit message
Fixes nginx proxy so only local requests to :9200 are forwarded to elasticsearch units.
Updates to latest kibana4 as default.
Specifies missing kibana config file and uses explicit logging option.
Adds support for exec.d pre-install hook.
Description of the change
Note: I wasn't planning on merging these changes to upstream kibana, because I thought you might see fallout if the kibana charm now defaults to kibana4, but other related charms (elatsicsearch, logstash) don't default to the required newer versions. But since the kibana4 changes have already been landed, here are some small changes :)
I'll comment below inline on each change, but I've tested the 11-scale-elastec locally:
dev-trusty# ~/charms/
$ ./tests/
2015-11-09 03:09:35 Starting deployment of local
2015-11-09 03:09:35 Deploying services...
2015-11-09 03:09:35 Deploying service elasticsearch using cs:trusty/
2015-11-09 03:09:43 Deploying service kibana using /home/michael/
2015-11-09 03:09:48 Deploying service logstash-indexer using cs:precise/
2015-11-09 03:13:08 Adding relations...
2015-11-09 03:13:08 Adding relation logstash-
2015-11-09 03:13:09 Adding relation kibana:rest <-> elasticsearch:
2015-11-09 03:14:09 Exposing service 'kibana'
2015-11-09 03:14:09 Deployment complete in 275.00 seconds
dev-trusty# ~/charms/
$
Adding inline comments.