Role galera_server for OpenStack-Ansible
Go to file
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
defaults Implement a proper WSREP check for galera 2017-12-11 13:44:04 +00:00
doc Fix openstackdocstheme settings 2017-07-03 16:07:56 +08: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-11 13:44:04 +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-11 13:44:04 +00:00
tasks Implement a proper WSREP check for galera 2017-12-11 13:44:04 +00:00
templates Implement a proper WSREP check for galera 2017-12-11 13:44:04 +00:00
tests Implement a proper WSREP check for galera 2017-12-11 13:44:04 +00:00
vars Implement a proper WSREP check for galera 2017-12-11 13:44:04 +00:00
zuul.d Initial OSA zuul v3 role jobs 2017-10-19 18:47:50 +00:00
.gitignore Updated from OpenStack Ansible Tests 2017-06-22 15:18:56 +00:00
.gitreview Update .gitreview for stable/pike 2017-08-18 07:59:02 +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 Update URLs in documents according to document migration 2017-07-14 09:34:44 +08:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 14:59:51 +00:00
bindep.txt Updated from OpenStack Ansible Tests 2017-08-24 17:10:33 +00:00
manual-test.rc Use centralised test scripts 2016-09-27 16:00:50 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-10-31 00:09:02 +00:00
setup.cfg Update URLs in documents according to document migration 2017-07-14 09:34:44 +08:00
setup.py Updated from global requirements 2017-03-02 11:51:11 +00:00
test-requirements.txt Updated from global requirements 2017-07-27 19:16:42 +00:00
tox.ini Separate greenfield and upgrade tests 2017-08-24 10:24:15 +01:00

README.rst

Team and repository tags

image

OpenStack-Ansible Galera server

Documentation for the project can be found at:

https://docs.openstack.org/openstack-ansible-galera_server/latest

The project home is at:

http://launchpad.net/openstack-ansible