fix mariadb galera config

- the mariadb config looks for the first address on the wsrep_node_address_interface
  this will lead to missconfigurations when using virtual IPs - drop it
- mariadb uses when wsrep_node_incoming_address not defined bind-address
  or wsrep-node-address in that order. Since bind-address has to be
  defined by our cookbook logic, the drop of
  wsrep_node_address_interface is no problem

Change-Id: Ic3442522e8f6e02244e653017b6d161a96412425
This commit is contained in:
Christoph Albers 2020-08-05 12:21:09 +02:00
parent 38d0a27c66
commit 75e4ccfae2
No known key found for this signature in database
GPG Key ID: 8AA076DB0013468F
2 changed files with 0 additions and 2 deletions

View File

@ -58,7 +58,6 @@ mariadb_galera_configuration 'MariaDB Galera Configuration' do
version node['openstack']['mariadb']['version']
cluster_name 'openstack'
gcomm_address gcomm_address
wsrep_node_address_interface bind_db['interface']
wsrep_provider_options provider_options
wsrep_sst_method 'rsync'
end

View File

@ -21,7 +21,6 @@ describe 'openstack-ops-database::mariadb-cluster-server' do
version: '10.3',
cluster_name: 'openstack',
gcomm_address: 'gcomm://',
wsrep_node_address_interface: 'lo',
wsrep_provider_options: { 'gcache.size': '512M', 'gmcast.listen_addr': 'tcp://127.0.0.1:4567' },
wsrep_sst_method: 'rsync'
)