Role galera_server for OpenStack-Ansible
Go to file
Andy McCrae 0508515d25 Fix upgrades for multinode galera
During an upgrade, we run the upgrade in serial, and we attempt to
bootstrap the cluster from the "galera_server_bootstrap_node". This
causes issues when there is an existing cluster that is still up.

To avoid this, we can simply attempt to start the cluster normally, if
it fails to start, and join the existing cluster,  we can bootstrap as
usual.

Additionally, we can make the bootstrap slightly more efficient by only
running it against the bootstrap host and splitting out the
"galera_upgrade_post.yml" tasks.

Finally - run the upgrade in serial which mirrors our approach in the
integrated repo.

Change-Id: Ic4d69f0fa75c1eea81d10a76cca9a8d9c3822094
Closes-Bug: #1667103
(cherry picked from commit db64210b12)
2017-03-22 17:28:57 +00:00
defaults Cap the number of worker threads 2017-03-02 04:37:34 -05: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 Remove Trusty support from galera_server role 2016-12-15 13:12:54 +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 Cap the number of worker threads 2017-03-02 04:37:34 -05:00
tasks Fix upgrades for multinode galera 2017-03-22 17:28:57 +00:00
templates Cap the number of worker threads 2017-03-02 04:37:34 -05:00
tests Fix upgrades for multinode galera 2017-03-22 17:28:57 +00:00
vars Upgrade: Make removal list distribution-specific 2017-03-16 13:41:00 +00:00
.gitignore Add tests/common to .gitignore 2016-10-17 08:16:19 -05: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 Remove Trusty support from galera_server role 2016-12-15 13:12:54 +00:00
bindep.txt Install python2-pyOpenSSL package on CentOS 2017-03-03 13:21:25 -06:00
manual-test.rc Use centralised test scripts 2016-09-27 16:00:50 +01:00
run_tests.sh Update and clean up run_tests.sh 2017-01-06 16:49:34 +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 Update repo for stable/ocata 2017-02-16 12:30:36 +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