~xavpaice/charm-graylog:bug/1925272

Last commit made on 2021-06-30
Get this branch:
git clone -b bug/1925272 https://git.launchpad.net/~xavpaice/charm-graylog
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Name:
bug/1925272
Repository:
lp:~xavpaice/charm-graylog

Recent commits

f7b31f9... by Xav Paice

Enable config for Graylog2 TLS

Enables TLS relation for Graylog 2, which was allowed but not tested or
working previously.

Also forces elasticsearch to use a smaller heap so it can be tested on
smaller server instances.

dff5a06... by Xav Paice

Update unit name for nrpe functest

The functional test for NRPE checks is changed in this commit to use
'graylog/0' rather than 'nrpe/0' which can be a different unit number in
different models.

Reviewed-on: https://code.launchpad.net/~xavpaice/charm-graylog/+git/graylog-charm/+merge/401670
Reviewed-by: James Troup <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>

aec0988... by Xav Paice

Update unit name for nrpe functest

The functional test for NRPE checks is changed in this commit to use
'graylog/0' rather than 'nrpe/0' which can be a different unit number in
different models.

ed75b69... by Xav Paice

Linting and add exclusions for Black/flake8 conflicts

9de3a43... by Heather Lemon

email config options lp#1794505

85cfd97... by Xav Paice

Update tests for new ubuntu charm

3b45c83... by Xav Paice

Reduce elastic heap size in tests

To allow functional tests to run in smaller VMs, reduce the es_heap_size
to 1G for the test bundles.

0644cef... by Joe Guo

src/config.yaml: adjust jvm_heap_size description to be more helpful

Signed-off-by: Joe Guo <email address hidden>

c26232b... by Joe Guo

src/tests/unit/test_graylog.py: add tests for validate_jvm_heap_size

Signed-off-by: Joe Guo <email address hidden>

cfe68aa... by Joe Guo

src/reactive/graylog.py: validate jvm heap size

if jvm_heap_size is configured to be greater than machine total mem,
graylog java process will keep getting killed and cause REST API to
fail without obvious error message.
Juju status will show "Waiting for: REST API" forever, and functional
tests will timeout/fail.

This patch will check jvm_heap_size to ensure it's valid and not too large.

LP: #1899158

Signed-off-by: Joe Guo <email address hidden>