charm-percona-cluster:stable/21.04

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

Branch merges

Branch information

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

Recent commits

d48e2ba... by Corey Bryant

c-h sync - restore proxy env vars for add-apt-repository

Change-Id: I0cd01433e1770d78c1b5b4b23a023b96e338598b

19e10a5... by Aurelien Lourot

Updates for stable branch creation

Set default branch for git review/gerrit.

Update test bundles to point to openstack-charmers.

Change-Id: I0bbea00ecae915c6239e37d4e7cd3de42950b709

432c3f0... by Alex Kavanagh

Ensure that nagios user gets created with a password

The associated bug is due to a change introduced in commit d55dcde
which was to ensure that the correct password update is used for
different versions of mysql (pre and post 5.7.5). However, this change
has broken the nagios user creation due to not setting the password.

This patch creates the nagios user and passord at the same time. The
updating of the password is only done if the account already exists.

The change also corrects the nagios password store in leader-settings to
the 'mysql-nagios.passwd' key instead of 'nagios-password'. This was an
unfortuante error when the nagios change password was introduced. The
charm detects if the 'nagios-password' key is used on charm-upgrade and
moves it to 'mysql-nagios.passwd'. This enables the key to work with
the standard MySQLHelper functions.

Finally, the ALTER command (on percona) doesn't update non-InnoDB tables
and thus needs to be run for each unit when the nagios password is
changed via the action. The changes in percona_utils.py enable this to
happen.

Whilst the change looks large it ONLY affects the nagios password parts
of the charm.

The related bug is a tracking bug to serve as a reminder to fix this in
charm-helpers and this charm (i.e. make the charm-helpers code work to
change a password for any user other than root, and then enable this
charm to use that code).

Change-Id: Ibc751bef7b4654ebffdf843c556b193373e6e80c
Related-Bug: #1925377
Closes-Bug: #1925042

4f51930... by Alex Kavanagh

21.04 sync - add 'hirsute' in UBUNTU_RELEASES

The 'hirsute' key in c-h/core/host_factory/ubuntu.py:
UBUNTU_RELEASES had been missed out, and is needed for
hirsute support in many of the charms. This sync is to
add just that key. See also [1]

Note that this sync is only for classic charms.

[1] https://github.com/juju/charm-helpers/pull/598

Change-Id: Ia190032a975de9bd242c724e54407918be817bc5

cc72eee... by Alex Kavanagh

21.04 libraries freeze for charms on master branch

* charm-helpers sync for classic charms
* build.lock file for reactive charms
* ensure tox.ini is from release-tools
* ensure requirements.txt files are from release-tools
* On reactive charms:
  - ensure stable/21.04 branch for charms.openstack
  - ensure stable/21.04 branch for charm-helpers

Change-Id: I520e34a35b250954c0691250c779eee6e804c749

6b7b31e... by Zuul <email address hidden>

Merge "Add new osci.yaml"

d55dcde... by Alex Kavanagh

Ensure that correct password update is used for mysql version

On mysql pre 5.7.5 and older (e.g. xenial) a different password update
SQL statement is needed. Detect the ubuntu version (assuming the
packages are used) and use the version for that password.

Change-Id: Ifd73f20c2523de164fb23e8f5a5e757393d489e3
Closes-Bug: #1916672

d3937a1... by Chris MacNaughton

Add new osci.yaml

This change is preparatory to migration Ubuntu OpenStack CI
from Jenkins to Zuul

Change-Id: Id44d2037d5743bc882388141d726194c51d82fbf

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"