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:
parent
38d0a27c66
commit
75e4ccfae2
|
@ -58,7 +58,6 @@ mariadb_galera_configuration 'MariaDB Galera Configuration' do
|
||||||
version node['openstack']['mariadb']['version']
|
version node['openstack']['mariadb']['version']
|
||||||
cluster_name 'openstack'
|
cluster_name 'openstack'
|
||||||
gcomm_address gcomm_address
|
gcomm_address gcomm_address
|
||||||
wsrep_node_address_interface bind_db['interface']
|
|
||||||
wsrep_provider_options provider_options
|
wsrep_provider_options provider_options
|
||||||
wsrep_sst_method 'rsync'
|
wsrep_sst_method 'rsync'
|
||||||
end
|
end
|
||||||
|
|
|
@ -21,7 +21,6 @@ describe 'openstack-ops-database::mariadb-cluster-server' do
|
||||||
version: '10.3',
|
version: '10.3',
|
||||||
cluster_name: 'openstack',
|
cluster_name: 'openstack',
|
||||||
gcomm_address: 'gcomm://',
|
gcomm_address: 'gcomm://',
|
||||||
wsrep_node_address_interface: 'lo',
|
|
||||||
wsrep_provider_options: { 'gcache.size': '512M', 'gmcast.listen_addr': 'tcp://127.0.0.1:4567' },
|
wsrep_provider_options: { 'gcache.size': '512M', 'gmcast.listen_addr': 'tcp://127.0.0.1:4567' },
|
||||||
wsrep_sst_method: 'rsync'
|
wsrep_sst_method: 'rsync'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue