charm-helpers:tidy-long-lines-docstring-contrib-ceph

Last commit made on 2020-08-06
Get this branch:
git clone -b tidy-long-lines-docstring-contrib-ceph https://git.launchpad.net/charm-helpers

Branch merges

Branch information

Name:
tidy-long-lines-docstring-contrib-ceph
Repository:
lp:charm-helpers

Recent commits

4c97894... by Frode Nordahl

contrib/ceph: Tidy up long lines and update docstring format

In preparing for updates to the ``Pool`` classes I am doing some
tidying up as a separate commit to avoid too much thrashing in the
commits that does the functional changes.

b682a00... by James Page

Pin path version (#499)

path 14.0.0 renamed `tempdir` to TempDir and breaks Amulet.

02bc7dc... by Aurelien Lourot

Clean-up around adding linux bridges to OVS bridges (#449)

* Fix typo

* Mark OVS ports as managed by us

Before we used to mark only OVS interfaces

* add_ovsbridge_linuxbridge fixes

1. Fix missing 'ifup' on bionic.
2. Mark the OVS port also when upgrading the charm.

* Fix typos

* Use deprecate decorator

* Don't install ifupdown automatically

* Make dependency explicit

* Deprecate adding a linux bridge to an openvswitch bridge

* Minor improvements

* Make linter happy

* Raise on focal+

a9810ba... by Adam Dyess

BugFix: snap services always use systemd, even in trusty (#494)

* Unpin runtime requirements because the pinning occurs at charm-build time, not charm-install time. This gives downstream charmers the flexibilty to pin as they wish

* move specific version pinning to test_requirements.txt

* remove requirements.txt from test_requirements.txt... all runtime tests are installed

* Make charmhelpers.core.host.init_is_systemd depend on optional service_name so snap packages are always systemd regarless of the os-release

* Fix Linting issues

9e20a38... by Alex Kavanagh <email address hidden>

Fix directory /etc/nagios/nrpe.d/ issue (#492)

* Fix directory /etc/nagios/nrpe.d/ issue

Under certain deployment conditions, the charm can attempt to write to
the /etc/nagios/nrpe.d/ directory before it exists. This directory is
created by the nrpe charm, but if the hacluster gets installed first,
then it can be triggered to attempt to set up the nrpe entries before
the directory can be created by nrpe. This change (and the associated
charm-helpers change) ensures that the charm will delay the nrpe config
until the directory is available (and thus, the nrpe charm is fully
installed)

Related Bug: LP: #1882557

* Simplify the check so it doesn't do the write.

Co-authored-by: David Ames <email address hidden>

b6cb715... by Aurelien Lourot

Add useful traces around peer readiness detection (#476)

https://bugs.launchpad.net/charm-keystone/+bug/1818113

6565024... by Frode Nordahl

contrib/ovs: Fix deletion of virtual bridge ports (#491)

The OVS `del_bridge_port` helper currently assumes it will be used
with interfaces that actually exist in the system.

This is not always the case. Add arguments that allow the caller
to decide whether a interface link and promiscuous settings should
be touched after removing the port from a OVS bridge. Defaults to
being compatible with the current behaviour.

27d6ceb... by Nobuto Murata

Refresh cipher suites and protocols (#485)

* Refresh cipher suites and protocols

The last update was 2016, and it's time to drop TLSv1 and TLSv1.1 as the
base configuration recommended by Mozilla.
https://wiki.mozilla.org/Security/Server_Side_TLS

Follow-up of the following commits:
cac799b31e94341c7ff03f6bda2d5688bcb1b483
14ca7a00ea99bce03261f14abfba020281437d90

Closes-Bug: LP: #1886630

* Drop the explanation of SSLSessionTickets from the template

SSLSessionTickets is supported by Apache 2.4.11 or later. The following
line can be enabled when trusty support is dropped.
https://httpd.apache.org/docs/trunk/mod/mod_ssl.html#sslsessiontickets

SSLSessionTickets off

f3e8d9f... by Liam Young

Reuse connection in MySQLHelper (#478)

If a connection exists in MySQLHelper (self.connection) then reuse
it rather than creating a new one.

Co-authored-by: David Ames <email address hidden>

d9c9169... by Corey Bryant

Add Victoria/Groovy release and version details (#490)