charm-mysql-innodb-cluster:stable/focal

Last commit made on 2023-03-15
Get this branch:
git clone -b stable/focal https://git.launchpad.net/charm-mysql-innodb-cluster

Branch merges

Branch information

Name:
stable/focal
Repository:
lp:charm-mysql-innodb-cluster

Recent commits

0d8e7ac... by Felipe Reyes

Retire the stable/focal git branch.

This (stable) branch was cut originally to support the
mysql-innodb-cluster charm with the "20.04" base, although due to a
series of events to simplify the management it was decided to use the
stable/jammy git branch to source the `8.0` charmhub track and provide a
charm capable of running on "20.04" and "22.04".

Change-Id: I3e0e6a3f0e99f59d98778298d56e72bbfa837b80

203f5c4... by Mustafa Kemal Gilor

mysqldump: add --set-gtid-purged=COMMENTED to mysqldump command

The backup file taken from a charm-managed mysql instance contains
"@@GLOBAL.GTID_PURGED" variable at the beginning, which causes
restore operation to fail with the following message: "Cannot
update GTID_PURGED with the Group Replication plugin running".
The workaround for this issue is to supply "--set-gtid-purged=OFF"
to command, which omits the "GTID_PURGED" from the mysqldump output.

This patch fixes the issue by adding "--set-gtid-purged=COMMENTED"
to mysqldump command, which causes mysqldump to emit the GTID_PURGED
variable as a commented out line. In this way, we don't lose the
GTID_PURGED variable information which may be needed in some scenarios
and can be un-commented out before restoring if needed.

Closes-bug: 1989975
Change-Id: Ie3b71a60e4c7afda48114a53cce9cf713b933d71
(cherry picked from commit 82ebc349fab662d65366fa5958669d653958eaf8)

fa0d8f3... by Corey Bryant

Pin tox to < 4.0.0

Tox 4.0.0 was recently released and it has several breaking changes.
We pin to < 4.0.0 here. We are planning to move forward only on the
master charm branches.

Tox is also pinned to < 4.0.0 for stable branches in upstream
openstack-zuul-jobs as well as in zosci-config. However, the
requires= section in the charm's tox.ini file ends up installing
tox>4, wiping out the zuul-pinned tox<4 that was already installed
installed. This patch fixes that.

Additional changes include:
- Add bindep.txt changes from origin/master by hand.
- Switch charm-tools to 2.8.5 to remove ruamel requirement that
  doesn't work on Python 3.10.
- Pin zipp<=1.2.0, zipp >1.2.0. require setuptools>=42 (41.6.0 available atm)

Related-Bug: #2002788
Change-Id: If5e5beda90a918e8ff48f1d47fc91d90d79d27fe
Signed-off-by: Mustafa Kemal Gilor <email address hidden>

b522c6d... by Alex Kavanagh

Update to build using charmcraft - focal batch

The 'focal' batch includes charms that are distro based, rather than
OpenStack release based.

Note: this has a modified charmcraft.yaml to work with bionic / tox
needs to be 3.18 (bionic comes with 2.5), so tox is pip installed as
user in the charmcraft lxd.

The charmcraft build use 18.04 (bionic) to build on, but the charm will
run on 18.04 and 20.04. This is so that the charm can be used to series
upgrade from bionic to focal.

Change-Id: Id9cb60030ec94ec0494ea23d2016cc68c873e91a

a011db6... by Alex Kavanagh

21.10 - Release

Remove the "channel: candidate" from the func-test
bundles.

Change-Id: Ib1982c2317a304802c3bcf96c7f014b32501a122

ba475e7... by Alex Kavanagh

21.10 - Update requirements.txt - pin cffi 1.14.6

* On stable/21.10 branch
* Pin cffi 1.14.6 in requirements.txt used in charm build
  for py35 compatability.

Change-Id: I61b529800081ad381c6e2bd7d34a224a2232386d

da2c17f... by Alex Kavanagh

21.10 - Stable cut of charms for testing period

* use stable/21.10 libraries
* use zaza/zaza-openstack-tests at stable/21.10
* build.lock files for reactive charms
* bundles refer to ~openstack-charms candidate channel

Change-Id: I03186dd638a32cc5e00693af956b9601108595c8

57b0293... by Alex Kavanagh

Add impish bundles

- add non-voting impish bundles
- fix series bugs in hirsute bundles
- rebuild to pick up charm-helpers changes
- update tox/pip.sh to ensure setuptools<50.0.0
- remove groovy bundle

Change-Id: Ibf7ef38a3b8864f58157da88787183c677a59733

a6c1b08... by Peter Matulis

Fix LP 1936704

Add an admonishment about network spaces and the 'db-router'
endpoint.

Counterpart to I405e8f2692be76695ac3f57a7618deae98e45225

Related-Bug: #1936704
Change-Id: Ie6a91e4e6a387ff0cfe66770cb65fb210ecc77d8

1774de9... by Aurelien Lourot

Remove the openstack-upgrade action

The openstack-principle reactive layer brings both the
openstack-origin option and the openstack-upgrade
action, none of which being needed for this charm.
This layer has been used already since the very first
commit of this charm, most likely for no specific
reason.

Also synced tox/pip boilerplate in order to include:
* https://github.com/openstack-charmers/release-tools/pull/156
* https://github.com/openstack-charmers/release-tools/pull/157

Closes-Bug: #1944953
Change-Id: I001f435c648229b65fb718a78a33e6303a0faf11