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/opencontrail/cluster.yml b/neutron/control/opencontrail/cluster.yml
index caaaf6d..d85e554 100644
--- a/neutron/control/opencontrail/cluster.yml
+++ b/neutron/control/opencontrail/cluster.yml
@@ -3,21 +3,8 @@
- service.haproxy.proxy.single
- service.neutron.control.cluster
- system.haproxy.proxy.listen.openstack.neutron
+- system.galera.server.database.neutron
parameters:
- 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
neutron:
server:
dns_domain: ${_param:cluster_domain}