Commit Graph

12 Commits

Author SHA1 Message Date
OpenStack Proposal Bot edd360694e Updated from OpenStack Ansible Tests
Change-Id: Ibe6a5b497ddd6490b4b0cd2bee8b3170fa79a9d3
2019-08-20 03:05:01 +00:00
OpenStack Proposal Bot 3f092e60cd Updated from OpenStack Ansible Tests
Change-Id: I1b82c1ae4d6745bf3ec057e507507972e3e5bcf0
2018-10-02 14:50:40 +00:00
OpenStack Proposal Bot 7ad19d8241 Updated from OpenStack Ansible Tests
Change-Id: I0004a93e1a1fcea3c06d0297a1722224b426520a
2018-03-27 15:47:23 +00:00
OpenStack Proposal Bot 3881511c72 Updated from OpenStack Ansible Tests
Change-Id: I80c3479e30a017457406627f4dd5e43e37a13996
2017-06-22 15:18:56 +00:00
Markos Chandras 0b06c1658c Sync test files with the openstack-ansible-tests repository
In preparation for adding support for SUSE distributions, we sync the
test files from the openstack-ansible-tests repository so the upcoming
commits can be tested on all supported distributions.

Change-Id: I2244f7cf0de908a10eec244122f8be32c3ade459
2017-06-14 15:32:14 +00:00
Kyle L. Henderson 2f68a18908 Add tests/common to .gitignore
Running 'tox -e linters' generates files in 'tests/common' which
then triggers git to show them as changed files.

Change-Id: Ie3c992b4fa3ab2a460c3f9a14295280d086f1f27
2016-10-17 08:16:19 -05:00
Kevin Carter 6029354891 Update testing bits for consistency
Change-Id: I5f449375e873c5358ac979bb6729873d2ab519d3
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-09-17 17:10:10 -04:00
Travis Truman a04ca292a0 Adding Vagrantfile for local testing
Running `vagrant up` will emulate the gate tests

Change-Id: I3075e778939a70d3657de2f1ba512ca5dbf79a28
2016-08-14 09:38:35 +00:00
Mike Carden 35b16687eb Remove duplicates from .gitignore
This patch removes the duplicated releasenotes/build
lines from .gitignore.

Change-Id: I3b1e690e509de0e6514a4210e0b0066e802c0da8
2016-07-15 11:27:52 +10:00
Jesse Pretorius 05cdf7c454 Add .swp files to .gitignore
Change-Id: I06df957c6a71ab101831b003eb72db13513932a2
2016-05-04 15:18:07 +01:00
Jesse Pretorius 4cff43f12d Add reno scaffolding for release notes management
Change-Id: I3949d724ce4e80001fbaa45683a6c8de8e08bb3f
2016-04-14 01:50:36 +00:00
Kevin Carter cd11c5a56e Updated repo for new org
The role was changed to make it compatible with the OpenStack
CI. The changes effect defaults, handlers, and the tests for 
the role and adds gitignore/review files. 

The changes essentially get the role to a state where its passing
the tests which are spinning up a galera cluster, adding users 
and databases, and then testing integrity from every node. The 
tests specifically ensure we're able to guarantee that after the
role runs everything works. Previously to these changes the role
assumed everything was working and nothing had been done to 
guarantee cluster state. 

In the handler changes, the temporary "sst" directory is cleaned up
should the handler restart fail. This ensure that a node is in a clean
state if a leftover sst directory was on the disk which would cause 
a node to fail to join a cluster or bootstrap. Additionally the 
environment variable "MYSQLD_STARTUP_TIMEOUT" is now being passed
into the init script because the defaults are not being sourced
at the init script runtime. 

In the task changes a new configuration file, that is part of the 
mariadb package, is being removed which has unforeseen options within
it causing no logs to be created.

the default option "galera_innodb_additional_mem_pool_size" was removed
because its no longer valid within MariaDB10 and we'd never caught that
error message until now.

The tests were updated to support running the role from a user which 
was not root.

Change-Id: I16af30c660790656fc2d59f9943c172b88098905
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-12-14 15:20:02 +00:00