Each slave in a mysql replication cluster needs to have a unique 'server-id' set. This is an arbitrary integer, and often people select 1,2,3 etc. For easy deterministic uniqueness without needing to look at what you've already used, a simple filter has been created to allow for the hostname to be converted into an integer. The server ID variable has been added to the my.cnf.j2 template and the galera_server defaults/main.yml file. The generation of the server-id variable happens within the `galera-install.yml` play making it so there is no future impact in role requires. Conflicts: playbooks/plugins/filters/osa-filters.py Change-Id: Id15149e59cb03ab268bb3b7eeaf391334dfc0c01 Closes-Bug: #1479484 (cherry picked from commit
|7 years ago|
|doc||7 years ago|
|etc||7 years ago|
|playbooks||7 years ago|
|rpc_deployment||8 years ago|
|scripts||7 years ago|
|tests||7 years ago|
|.gitignore||7 years ago|
|.gitreview||7 years ago|
|LICENSE.txt||7 years ago|
|README.rst||7 years ago|
|ansible-role-requirements.yml||7 years ago|
|ansible-role-requirements.yml.example||8 years ago|
|dev-requirements.txt||7 years ago|
|global-requirement-pins.txt||7 years ago|
|requirements.txt||7 years ago|
|setup.cfg||7 years ago|
|setup.py||7 years ago|
|tox.ini||7 years ago|
OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.
For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.
For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.
For more detailed Installation and Operator documentation, please see the Install Guide.
If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.
If you have some questions, or would like some assistance with achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists (particularly openstack-operators or openstack-dev) or on IRC in
#openstack-ansible on the freenode network.