openstack-ansible-galera_se.../tasks
Kevin Carter ed739a5243 Implement a proper WSREP check for galera
The galera cluster rely on WSREP for cluster consistency. While the
default MySQL monitor will allow us to know when the database node is
minimally functional it does not provide the ability to query the node
state allowing loadbalancers, operators, and deployers to know a node
is healthy prior to being allowed to accept connections. This change
implements the checkcluster script as provided by the fine folks at
Percona. The implementation of this check follows the guild-lines noted
here [0]. With this in-place, we'll be able to convert our haproxy check
for the galera cluster nodes to use an HTTP check on port 9200 instead
of the default MySQL login which will provide for a more robust and
fault tolerant cluster.

[0] https://www.percona.com/doc/percona-xtradb-cluster/LATEST/howtos/virt_sandbox.html

Combined backport of:
- https://review.openstack.org/520665
- https://review.openstack.org/523850

Closes-Bug: #1665667
Change-Id: Ie1b3b9724dd33de1d90634166e585ecceb1f4c96
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-12-11 13:44:04 +00:00
..
galera_bootstrap.yml Add support for the openSUSE Leap distributions 2017-06-19 20:57:29 +01:00
galera_cluster_state.yml Fix linting issues for ansible-lint 3.4.1 2016-11-01 21:18:09 +00:00
galera_install.yml Add support for the openSUSE Leap distributions 2017-06-19 20:57:29 +01:00
galera_install_apt.yml Use block/rescue for error handling 2017-08-11 08:07:43 +00:00
galera_install_dnf.yml Add dnf support 2017-08-02 13:17:33 -05:00
galera_install_yum.yml Suppress command/shell warnings 2017-10-19 18:47:58 +00:00
galera_install_zypper.yml Allow MariaDB repo overrides without extra-vars 2017-08-09 10:22:56 +00:00
galera_post_install.yml Implement a proper WSREP check for galera 2017-12-11 13:44:04 +00:00
galera_pre_install.yml Add fallback fetch for xtrabackup and qpress 2017-04-26 00:37:44 +00:00
galera_running_check.yml Fix fact set using ternary filter 2017-02-28 10:36:05 -08:00
galera_secure_mysql.yml Suppress command/shell warnings 2017-10-19 18:47:58 +00:00
galera_setup.yml Add CentOS7 support to Galera Server 2016-05-23 13:04:38 -05:00
galera_ssl.yml Added Galera SSL support 2017-03-30 09:42:38 -05:00
galera_ssl_key_create.yml Added Galera SSL support 2017-03-30 09:42:38 -05:00
galera_upgrade_check.yml Add support for the openSUSE Leap distributions 2017-06-19 20:57:29 +01:00
galera_upgrade_check_apt.yml Install MariaDB 10.1 server 2016-11-30 10:48:30 -08:00
galera_upgrade_check_dnf.yml Add upgrade check for dnf 2017-08-10 16:03:21 +01:00
galera_upgrade_check_yum.yml Suppress command/shell warnings 2017-10-19 18:47:58 +00:00
galera_upgrade_check_zypper.yml Add support for the openSUSE Leap distributions 2017-06-19 20:57:29 +01:00
galera_upgrade_post.yml tasks: galera_upgrade_post: Retry if starting the MariaDB service failed 2017-06-14 15:32:01 +00:00
galera_upgrade_pre.yml Add support for the openSUSE Leap distributions 2017-06-19 20:57:29 +01:00
main.yml tasks: galera_upgrade_post: Retry if starting the MariaDB service failed 2017-06-14 15:32:01 +00:00