~peppepetra/charm-graylog:lp1805043

Last commit made on 2020-02-20
Get this branch:
git clone -b lp1805043 https://git.launchpad.net/~peppepetra/charm-graylog
Only Giuseppe Petralia can upload to this branch. If you are Giuseppe Petralia please log in for upload directions.

Branch merges

Branch information

Name:
lp1805043
Repository:
lp:~peppepetra/charm-graylog

Recent commits

c2f2554... by Giuseppe Petralia

Fix linting

83b85b0... by Giuseppe Petralia

Address review comments:

- use with open(file) instead of f = open()
- improve action descritpion and comments
- refactor variable names to be more explicit

1aa6489... by Giuseppe Petralia

Add ignore-indexer-failures action

When the action is run, all the index failures happened before that time
are ignored by the nrpe check.

Closes-Bug: #1805043

0036ea9... by Seyeong Kim

Fixing typo for http_external_uri from web_endpoint_uri

Fixing typo for http_external_uri,
currently it is rest_endpoint_uri.

7cb4b82... by Kevin W Monroe

Enable snap 'channel' config so users can switch between graylog versions.

Reviewed-on: https://code.launchpad.net/~graylog-charmers/graylog-charm/+git/graylog-charm/+merge/371274
Reviewed-by: Stuart Bishop <email address hidden>
Reviewed-by: Paul Goins <email address hidden>

1b0b6d2... by Kevin W Monroe

reconfigure nagios when api changes

24c8f89... by Kevin W Monroe

leader password data

All graylog peers should have the same admin and secret password config.
It's ok for this data to change during graylog's lifecycle, but it must
have a common value amongst peers. When upgrading from v2 to v3, keep the
same pre-upgrade data by setting it in unitdata and not configuring
graylog until it is available.

b8e47f1... by Kevin W Monroe

rework refresh handler

Don't use hookenv.config.previous() to guard snap.refresh. When upgrading
from a charm without 'channel' config, this value will be empty. Hence
the snap would not refresh on charm upgrade.

Keep track of the snap version before and after refresh; we only need to
reconfigure graylog if we've had a version change.

Update refresh unit tests to match above logic.

8cdcbeb... by Kevin W Monroe

handle is_v2 even if the snap isnt installed yet

8b72765... by Kevin W Monroe

readme formatting, add upgrade section