Role galera_server for OpenStack-Ansible
Go to file
Kevin Carter 515ab131fa 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

Conflicts:
>------handlers/main.yml
>------tests/test-galera-server-functional.yml
>------vars/suse-42.yml

Closes-Bug: #1665667
Change-Id: Ie1b3b9724dd33de1d90634166e585ecceb1f4c96
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
(cherry picked from commit ed739a5243)
2017-12-13 12:22:26 +00:00
defaults Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
doc Update repository with reference to role git location 2016-12-22 14:26:20 +00:00
examples [DOCS] Move example playbook to separate file 2016-08-12 13:31:55 -05:00
files Implement Xenial Support 2016-05-19 16:38:40 -04:00
handlers Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
library Prevent galera_cluster_name from changing. 2016-09-13 17:32:53 +01:00
meta Remove Trusty support from galera_server role 2016-12-15 13:12:54 +00:00
releasenotes Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
tasks Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
templates Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
tests Used cached git sources and enable depends-on 2017-11-06 18:20:24 +00:00
vars Implement a proper WSREP check for galera 2017-12-13 12:22:26 +00:00
zuul.d Initial Zuul v3 role jobs 2017-10-23 12:49:41 +00:00
.gitignore Updated from OpenStack Ansible Tests 2017-08-25 11:27:16 +00:00
.gitreview Update .gitreview for stable/ocata 2017-02-03 18:57:29 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 15:03:45 -04:00
LICENSE first commit 2015-12-09 09:23:50 -06:00
README.rst Show team and repo badges on README 2016-11-25 16:01:44 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-08-25 11:27:16 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-08-25 11:27:16 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:00:50 +01:00
run_tests.sh Used cached git sources and enable depends-on 2017-11-06 18:20:24 +00:00
setup.cfg Update homepage with developer documentation page 2016-09-20 12:42:19 +05:30
setup.py Updated from global requirements 2016-07-15 03:57:25 +00:00
test-requirements.txt Updated from global requirements 2016-12-02 05:10:17 +00:00
tox.ini Used cached git sources and enable depends-on 2017-11-06 18:20:24 +00:00

README.rst

Team and repository tags

image

OpenStack-Ansible Galera server

Documentation for the project can be found at:

http://docs.openstack.org/developer/openstack-ansible-galera_server

The project home is at:

http://launchpad.net/openstack-ansible