Commit Graph

25 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov d3ef8b1256 Deprecate openstack-ansible-galera_client role
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
2020-12-07 12:41:44 +02:00
melissaml eb335ccfa7 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Id8efd9fadfa11ed5b75768ab66c8f51294cbc563
2019-05-05 19:39:30 +08:00
Zuul 60f9d61ca8 Merge "Trivial: Fix the pep8 warning" 2019-04-24 19:27:28 +00:00
Mohammed Naser 30cb1e72d6 cleanup: stop managing files inside /etc
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
2018-12-29 17:44:22 -05:00
melissaml 9321604171 Trivial: Fix the pep8 warning
The yaml should start with "---"

Change-Id: If64a53e502b06a21bf106fee2f1f8cfe372b658c
2018-11-08 22:35:10 +08:00
caoyuan 6d9464b9df Use include_tasks instead of include
Change-Id: Ic8f2d3ea0adc230fe8346f19a7ebb7f5475d72fe
2018-07-24 19:15:20 +08:00
Mohammed Naser 6b705298a5 Use OpenStack infrastructure MariaDB mirrors
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
2018-06-28 14:20:29 -04:00
Jesse Pretorius b731a115a3 Remove tests-repo-clone.sh
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
2018-03-28 10:11:07 +01:00
OpenStack Proposal Bot f4909a9a45 Updated from OpenStack Ansible Tests
Change-Id: Ie52118df0fb3e67c0e3aebde91714d46901e5cbf
2018-02-14 20:03:43 +00:00
Jimmy McCrory a50ecdac0f Always template a localhost config when server
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
2017-12-14 09:26:18 -08:00
Jean-Philippe Evrard e853a5e2cd Initial OSA zuul v3 role jobs
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
2017-10-17 18:23:11 +00:00
OpenStack Proposal Bot da86b10bfd Updated from OpenStack Ansible Tests
Change-Id: I2261d798268586137707e01fc09aeae8b4126b35
2017-10-12 20:43:45 +00:00
OpenStack Proposal Bot 5c78a67d01 Updated from OpenStack Ansible Tests
Change-Id: I248da143d0534a8677a8b4636e021830280a442c
2017-06-18 14:41:23 +00:00
Jesse Pretorius c6e2dcca0f Use zuul-cloner for tests repo in OpenStack-CI
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
2017-05-04 16:49:08 +01:00
Jimmy McCrory 7625c63d4d Fix role gate tests for Ansible 2.3
Add 'become' and root 'user' options to the playbook instead of using
'ansible_become' through an inventory variable.

Change-Id: I3ab2d10277f042cc3b2f49d3e472975b86abf0fe
2017-04-26 09:23:22 -07:00
Jimmy McCrory 22b7d9c761 Replace grep and which commands with find module
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
2017-02-14 11:07:27 -08:00
Jesse Pretorius 9bab6558f7 Use centralised test scripts
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
2016-09-27 16:03:27 +01:00
Kevin Carter d394277b21
Update Multi-distro support for CentOS7
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>
2016-05-15 21:59:40 -05:00
Jimmy McCrory 03936b3f11 Use the apt_package_pinning role
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
2016-05-05 19:11:15 -07:00
Travis Truman 97ec09fcf1 Test cnf not created when galera_client_drop_config_file is false
Test playbook was clearly asserting on this desired state previously.

Change-Id: I727b838377aa782b09939cec9b10c34d448611ba
2016-03-08 14:53:38 -05:00
Jenkins afb5a2e306 Merge "Update tox config and add bashate E006, E040 exceptions" 2016-02-12 14:29:34 +00:00
Jesse Pretorius 12b72581a9 Update tox config and add bashate E006, E040 exceptions
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
2016-02-12 11:22:59 +00:00
Logan V e19d5d4a51 Remove Xtrabackup from Galera client role
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
2016-02-07 14:17:59 -06:00
Kevin Carter 315030e064
updated repo pathing for new org
Change-Id: Ib93a8fa71674ada66fa4241c07a2028934b3d7e9
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-12-10 20:49:56 -06:00
Kevin Carter ab36aed999
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-12-09 09:23:13 -06:00