Commit Graph

10 Commits

Author SHA1 Message Date
Jonathan Rosser 49b7d9488b Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: I50bb0f00658e292f39269c3980109e56319a00ca
2021-03-16 09:23:50 +00:00
Jonathan Rosser 374b64435e Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654

Change-Id: I88dc5a3da8b8abe801eb533ec93cffdbeed7bd65
2021-02-25 12:26:58 +00:00
Dmitriy Rabotyagov 0a36313fa0 Bump MariaDB version to 10.4
Patch aims to use next stable release of MariaDB

Remove no_log from functional tests, the only credentials used here
are for the purposes of the test and debug output is valuable.

Change-Id: Ic4cdc26ddf1cb0591f0a2218355b7cca7af0b0fb
2020-05-28 12:56:36 +03:00
Jonathan Rosser 49b95ebcb7 Combine galera client role into galera_server
Depends-On: https://review.opendev.org/725902
Depends-On: https://review.opendev.org/728434
Change-Id: I02dc06d61006bb71a417a1470343e9c9c77d7935
2020-05-22 15:13:20 +03:00
Jonathan Rosser d74863bc52 Ensure python3 mysql client libraries are present
These are required when ansible uses python3 on the target host.

Change-Id: I97e8e9b8cb5aa4901207079c0c45813fe9d7f887
2020-04-03 21:10:55 +01:00
Mohammed Naser 7c7ade4fc9 cleanup: refactor into galera_mariadb_service_name
We had two variable names which were duplicated for the service
name, this converges them all to "mariadb" which uses the actual
systemd unit instead of the init.d compatiblity layer.

Change-Id: I5805fb11a5118c4011701377cd30b2511edca505
2019-07-12 12:42:24 -04:00
Dirk Mueller 5965bf6e50 Fix galera_server installation for openSUSE Leap 15.1
The MariaDB repositories are offering a download repo under
the leap major version, e.g. "opensuse15" or "opensuse42" for all leap
42.x and leap 15.x versions, respectively. There isn't a specific
build for openSUSE Leap 15.1, so the previous logic selected
a repo url of opensuse-151 which does not exist.

Change-Id: Ia0985c03d51c3bfe06b98ae73a3533c3402453e3
2019-06-26 18:56:52 +02:00
Mohammed Naser 94640cd215 Bump version and use mariabackup
We're currently deploying 10.2.17 which is quite old and we seem
to be having issues in the gate with some database sync's causing
MariaDB to crash, as well as personal experience with similar
crashes around Cinder database syncs

In addition, this change implements the usage of mariabackup for
SST transfers which eliminates the need for the Percona repos.

The compression is no longer recommended by upstream now, therefore,
we remove it.

Change-Id: I59a0e225205be43b5bfc76c4bc3381b6e9c54cfd
2019-03-19 17:12:15 -04:00
Jesse Pretorius c2b73bff52 Normalise in-repo GPG key implementation
To ensure that we have a consistent implementation
between the galera_client and galera_server roles,
we change the galera_server role to match galera_client
as was done in I520ccbadf3320b0d07fc83e3dbec9ea2bd16ec83

This updates it to a mechanism which will be easier to
maintain.

Change-Id: I7ac1a5e3a05aa3d0b4fae86c4a325ef147a9a528
2018-12-18 12:41:15 +00:00
Markos Chandras 8ec910c4c2 SUSE: Add support for openSUSE Leap 15
Change-Id: I655c81c9857b51dcdbf94fd1e955317d2812997e
2018-09-12 12:11:34 +01:00