Issue:
1) Multiple pipelines failure due to ssl class include:
Once service.galera.ssl class being included,
galera:
master:
pillar appears on slave nodes, which results to deploy failures.
2) Test pillars lacks of ssl hashes
Fix:
1) Split class into two separate classes.
Now it is possible to include them separately in infra/conf.yml:
openstack_database_node01:
params:
linux_system_codename: xenial
classes:
- cluster.${_param:cluster_name}.openstack.database_init
- cluster.${_param:cluster_name}.openstack.database.ssl.master
openstack_database_node02:
params:
linux_system_codename: xenial
classes:
- cluster.${_param:cluster_name}.openstack.database.ssl.slave
Further usage of service.galera.ssl class should be deprecated.
2) Adding ssl hashes to test pillars
Change-Id: I2df8b3c0da018e53cf7e97e24d3b1b9b49d3f75e
There is no guarntee that pillars are loaded before pillars-from-file
as result we cant assume variables defined via pillars: are available
when pillars-from-file is loaded. Move 'source' definitions of repos to
.kitchen.yml as it uses ENV variable
Change-Id: Id94edd2351f17f5ac130db41a97d3be9cd5f3be4
Mitaka staging test repository for test-kitchen was
missing KEY_ID which prevented apt-get update to
run successfuly.
Signed-off-by: Ondrej Vasko <ondrej.vaskoo@gmail.com>
Galera repository has changed in upstream and has
divided wsrep and galera directories.
This patch sets up 2 repositories `galera-3` and
`mysql`wsrep-5.6`.
Signed-off-by: Ondrej Vasko <ondrej.vaskoo@gmail.com>
Make max_connections and innodb_buffer_pool_size configurable
through soft params instead of hard.
Change-Id: Id0bb8f6b6091289275864bf4dd6a6890d11b4782