Last commit made on 2020-10-16
Get this branch:
git clone -b stable/21.01
Members of Llama (LMA) Charmers can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

1061146... by Alvaro Uria

Merge remote-tracking branch 'drew/lint-20.10'

Reviewed-by: Alvaro Uria <email address hidden>

7b2d1a5... by Drew Freiberger

Import order linting

ed9cebd... by Andrea Ieri

Make the linter happy

fea9b74... by Edin S

Reformat to conform to lint standards

033140c... by Edin S

Use simpler pkill to identify Prometheus processes to restart

798b492... by Edin S

Properly reload all Prometheus processes. Fixes LP#1891942.

This solution is very similar to that which was *removed* in
30e80. The removed solution did not identify and reload all Prometheus
processes. As per the official Prometheus documentation SIGHUP can be
used to reload Prometheus:

An alternative solution was considered where Prometheus would be
reloaded using the HTTP API. This solution was not implemented because
it had additional security implications that needed to be considered.

ae30894... by Alvaro Uria

Update license, charm proof built code

e0ab4a8... by Alvaro Uria

Refactor charm structure (src, Makefile, tox)

 * Charm code has been relocated to the "src/" folder
 * Makefile and tox.ini have been standardized, in alignment to other
 LMA stack projects
 * Linting and unit tests execution fixed after previous changes

Reviewed-by: Alvaro Uria <email address hidden>

30e80dd... by Drew Freiberger

Fixing how prometheus services are restarted

New prometheus versions the service can no longer be
restared with: killall -HUP prometheus, now using the
/-/reload endpoint to gracefully re-read the config file

Also fixed lint errors

123a233... by Peter Sabaini

Return ipaddr on dns faults instead of "unknown-host"