~aym-frikha/charm-elasticsearch:bug-1748433

Last commit made on 2018-05-13
Get this branch:
git clone -b bug-1748433 https://git.launchpad.net/~aym-frikha/charm-elasticsearch
Only Aymen Frikha can upload to this branch. If you are Aymen Frikha please log in for upload directions.

Branch merges

Branch information

Name:
bug-1748433
Repository:
lp:~aym-frikha/charm-elasticsearch

Recent commits

7fb47b7... by Aymen Frikha

LP:#1748433
- need to specify remote temp file for new version in ANsible
- Need to change with_item syntax in newer version of ansible
- add bionic to metadata

06bd2a8... by Nobuto Murata

Leverage network spaces to determine the ingress address

ansible_default_ipv4 is empty by design when there is no default
gateway. Use a proper IP address with "client" relation.

Closes-Bug: LP: #1755186

cec8a57... by Peter Sabaini

Configure publish address, fix Bug #1763834

f05b52c... by Kevin W Monroe

fixup amulet tests

- remove requests module and drop cargo culted check_response method
- move deployment to xenial
- wait for Ready messages to ensure deployment is ready for testing
- we only ever test elasticsearch/0; sentry that and stop passing around unit=0
- retry curl to allow for slow ES service startup
- be explicit with XGET when hitting the ES API endpoint

5bb1b64... by Kevin W Monroe

ES5 requires java8; ensure ppa is available on trusty

40c7262... by Kevin W Monroe

make dns.py compatible with ansible 1.x and 2.x

Trusty ships with ansible 1, xenial with ansible 2. The lookup
plugin format changed with ansible 2, so we need to modify dns.py
to be compatible with both versions.

Searching led me to a few examples of hybrid plugins:

http://47.95.33.19:8080/ansible_alicloud/latest/porting_guide_2.0.html#id2
https://github.com/jhaals/ansible-vault/blob/master/vault.py#L23

I'm not ansible guru, but this seemed easy enough to implement for
dns.py. I've successfully tested this change with both trusty and
xenial deployments of the elasticsearch charm.

46778ef... by Kevin W Monroe

fix whitespace issues

e13039d... by James Hebden

Added config.yaml entry and template for es-heap-size in jvm.options

add7f1b... by Haw Loeung

[r=mthaddon] Updated to use promulgated charm, remove kibana references

1733580... by Haw Loeung

Updated to use promulgated charm, remove kibana references

Use promulgated charm, cs:elasticsearch. Also remove references to
kibana which there isn't yet a version that supports Xenial.