Use a single class to create 'neutron' database
Use a class instead of multiplying 'neutron' database definitions.
The class 'system.galera.server.database.neutron' will be included
only once for a node that avoids database definitions dublication.
Change-Id: Ibf318200a7cf83fe3bd00c3ca265ed3bcb989811
Closes-Bug: https://mirantis.jira.com/browse/PROD-15066
diff --git a/neutron/control/openvswitch/cluster.yml b/neutron/control/openvswitch/cluster.yml
index c840e9a..54db248 100644
--- a/neutron/control/openvswitch/cluster.yml
+++ b/neutron/control/openvswitch/cluster.yml
@@ -2,6 +2,7 @@
- service.keepalived.cluster.single
- service.haproxy.proxy.single
- service.neutron.control.cluster
+- system.galera.server.database.neutron
parameters:
_param:
neutron_control_dvr: True
@@ -37,20 +38,6 @@
- host: ${_param:openstack_message_queue_node01_address}
- host: ${_param:openstack_message_queue_node02_address}
- host: ${_param:openstack_message_queue_node03_address}
- mysql:
- server:
- database:
- neutron:
- encoding: utf8
- users:
- - name: neutron
- password: ${_param:mysql_neutron_password}
- host: '%'
- rights: all
- - name: neutron
- password: ${_param:mysql_neutron_password}
- host: ${_param:cluster_local_address}
- rights: all
haproxy:
proxy:
listen: