Since we moved all functionality of galera-client part to galera-server
role there's no sense in futher keeping and branching of client part.
Depends-On: https://review.opendev.org/c/openstack/project-config/+/765777
Change-Id: I1623dbc80bee4eb7d889ee570d0ce27697b58cea
If we're installing a client, there's absolutely no need for us
to be touching things inside /etc. This is not being done inside
the process installing on Debian based operating systems however
it is being done under CentOS and SUSE.
Change-Id: I49790baa8394d9d6d412bf06252e9812f766ea30
We have mirrored provided by the OpenStack infrastructure which
should reduce the amount of network failures with MariaDB.
Also, use nodepool variables so that we use our infrastructure
provided mirrors.
Depends-On: I49a744ee5c41279f4a17bc7d2339d12c3a132026
Change-Id: I81f716f640f6742c787e7aaedfdbf942893142de
Now that run_tests.sh handles the tests repo clone, we can
remove the use of the older tests-repo-clone.sh script.
Change-Id: I1f389f983db3ab33c294b69d026cbb21cf35fa8d
If the galera_client role is templating its config file on a galera
server host it should always use a localhost address.
Change-Id: I468b171c1e72697ea6450fe08aa0acb3faf91201
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.
Change-Id: Ib24c5cb4f6bd9487ced12a0b98070ccf34d7fff6
When executing the tests repo clone in OpenStack-CI,
use zuul-cloner instead of git to enable cross-repo
testing. This ensures that if a dependent patch from
the tests repo is noted using 'Depends-On: <change-id>'
in the commit message, that patch will be included.
Change-Id: I5c59632f845305db9c858c03301c4744cee6171b
Depends-On: Idce7abebf32f24c356a27e099fbca954d917402b
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.
Change-Id: I3ab2d10277f042cc3b2f49d3e472975b86abf0fe
For improved idempotence within the role, replace the use of `grep` and
`which` through the 'command' module with the 'find' module.
changed_when and failed_when statements around these tasks can be
removed.
Partial-Bug: 1640134
Partial-Bug: 1640144
Change-Id: Iebbcd52f673dba657117ac21ef1fa809bf344521
This patch consumes the test scripts implemented by
https://review.openstack.org/375061 to ensure that
the tests and test preparation is consistent and
more maintainable.
Change-Id: I22a0106dd9c62ba947c9ae4631c15a3da38e08b0
This commit updates the role to support Ubuntu 14/16.04 and CentOS7
Change-Id: Ieadcdd70e9b8271aee3880896255a5037f56567e
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
Add a dependency on the apt_package_pinning role and use it, instead of a
template within this role, to pin the MariaDB repo.
Change-Id: I26111d7191db793b9cddca29c681399040ab6011
This patch updates the tox.ini the same bashate exceptions as are
currently in the OpenStack-Ansible playbook repo.
It also ensures that the linters and all lint targets work
appropriately and normalises the tox.ini configuration to use
uniform formatting.
The use of ansible.cfg is removed as there is no way of being
certain which paths can be used without reverting to an ugly
sed hack in the commands. This is why it is preferred to make
use of environment variables which make use of tox's default
substitutions instead. It's a more reliable way of achieving
the goal for the purpose of gating and testing.
The switch to using a git clone instead of ansible-galaxy to
download the plugins is due to the path spec not being able to
work in Ansible 2.x. [1]
[1] https://github.com/ansible/ansible/issues/13563
Change-Id: I964c7dcc3c3be4debb405414401eface7664e6a7
Carrying Xtrabackup as a hard dependency across all hosts acting as a client
of the cluster is unnecessary, as it is only required on the Galera server cluster
members themselves.
Change-Id: I2fa0e862e3a9ad73c6391969564891d913273a79