charm-percona-cluster:stable/21.01

Last commit made on 2021-02-10
Get this branch:
git clone -b stable/21.01 https://git.launchpad.net/charm-percona-cluster

Branch merges

Branch information

Name:
stable/21.01
Repository:
lp:charm-percona-cluster

Recent commits

60be059... by Aurelien Lourot

Updates for stable branch creation 21.01

Set default branch for git review/gerrit.
Switch tests to stable.
Switch to using stable charm-helpers branch.
Switch to using stable charm.openstack branch.
Switch to using stable zaza branch.
Switch to using stable zaza-openstack-tests branch.

Change-Id: I25069e74f3156d5758a45c8202182735718b7057

af9c467... by Alex Kavanagh

Updates for testing period for 20.01 release

Includes updates to charmhelpers/charms.openstack for cert_utils
and unit-get for the install hook error on Juju 2.9

* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers
* Include NoNetworkBinding late fix.

func-test-pr: https://github.com/openstack-charmers/zaza/pull/409
Change-Id: I1a97004410c5cf4ef98164281137bce46756b12c

7bbfb34... by Zuul <email address hidden>

Merge "Updates for testing period for 20.01 release"

e586074... by Alex Kavanagh

Updates for testing period for 20.01 release

* charm-helpers sync for classic charms
* rebuild for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure master branch for charms.openstack
  - ensure master branch for charm-helpers

Change-Id: I99b9f3570549921b40c937a983c2624e254bc677

712bb3d... by Aurelien Lourot

Remove Disco and Eoan bits

Change-Id: I6f9833e4b5a17e6b5a2ada4426bf02a991253dca

eac7bce... by Zuul <email address hidden>

Merge "Raise file limits to allow max-connections >4190"

4335d0b... by Peter Matulis

Improve deprecation text

This improves the messaging surrounding the
deprecation of this charm.

Fix links.

The removed upstream links will be placed in the
linked CDG resource (on upgrading to non-focal
series).

Change-Id: I6c00fa9f452583cdf5072938e57b4cf611a3115f

151034b... by Aurelien Lourot

Sync release-tools

Sync release-tools boilerplate containing these changes
in order to pin pip < 20.3:
https://github.com/openstack-charmers/release-tools/pull/125
https://github.com/openstack-charmers/release-tools/pull/126
https://github.com/openstack-charmers/release-tools/pull/127
https://github.com/openstack-charmers/release-tools/pull/129

Change-Id: I9b801a2ca6c7679117fcd2322cc324c7a8d8077b

5952b3d... by Trent Lloyd

Raise file limits to allow max-connections >4190

Install a systemd unit override with LimitNOFILE raised to the required
number based on the same calculation the server performs to ensure both
the requested max_connections and table_open_cache values can be met.

The MySQL server does make some attempt to do this itself when started
as root which worked under Xenial, however in Bionic the systemd service
is started as the mysql user with LimitNOFILE=5000. As a result, the
server cannot raise the limit itself and caps max-connections to 4190,
table-open-cache to 200 and logs a warning to that effect:
[Warning] Changed limits: max_connections: 4190 (requested 12000)

More background:
https://www.percona.com/blog/2017/10/12/open_files_limit-mystery/

Change-Id: I25b429cc9b4970e3d7ef39bb9e6d738fe943686f
Closes-Bug: #1905366

11ee1ef... by Robert Gildein

NRPE: Monitor threads connected to MySQL.

Add a NRPE check to monitor the number of threads connected
to the MySQL database, in proportion to the maximum number of connections.
For this check, a nagios user will be created. This user does not have any
permissions set, does not have access to any database and can only connect
from localhost.
Warning and Critical thresholds (in percentage) can be configured.

Add an action to reset nagios's password. This action could only be run
on the leader unit.

Closes-Bug: #1816759
Change-Id: Id35b0331322c2744a9f839b3eb153eed1bc53aac