Initial commit
Adding salt-formula for gnocchi 4.0. Two main roles are supported:
- server
- statsd
They could be installed on different nodes (and on same node too)
gnocchi:common class is used to provide common options for both.
Change-Id: I0e0c9dd4f6d0a1539b9e9aef0084282867012852
Related-Prod: https://mirantis.jira.com/browse/PROD-17704
diff --git a/metadata/service/server/cluster.yml b/metadata/service/server/cluster.yml
new file mode 100644
index 0000000..4b95b57
--- /dev/null
+++ b/metadata/service/server/cluster.yml
@@ -0,0 +1,31 @@
+applications:
+- gnocchi
+classes:
+- service.gnocchi.common.cluster
+- service.gnocchi.support
+parameters:
+ gnocchi:
+ server:
+ enabled: true
+ debug: false
+ api:
+ auth_mode: keystone
+ identity:
+ engine: keystone
+ region: RegionOne
+ protocol: http
+ host: ${_param:cluster_vip_address}
+ port: 35357
+ private_port: 5000
+ user: gnocchi
+ password: ${_param:keystone_gnocchi_password}
+ tenant: service
+ cache:
+ engine: memcached
+ members:
+ - host: ${_param:cluster_node01_address}
+ port: 11211
+ - host: ${_param:cluster_node02_address}
+ port: 11211
+ - host: ${_param:cluster_node03_address}
+ port: 11211
\ No newline at end of file