Add new service level classes
Since Pike default ceilometer backend is gnocchi and database publishers
are deprecated, this commit create classes for ceilometer non-database
setup. This will allow to smoothly switch to Gnocchi as publisher. Also
if publisher isn't set in pillar, default publisher notifier will be used.
Change-Id: I78cf9e12591c474738c0bc14b1c1777974e876e0
Related-Prod: https://mirantis.jira.com/browse/PROD-20813
diff --git a/metadata/service/server/cluster/common.yml b/metadata/service/server/cluster/common.yml
new file mode 100644
index 0000000..d8ffb2e
--- /dev/null
+++ b/metadata/service/server/cluster/common.yml
@@ -0,0 +1,44 @@
+applications:
+- ceilometer
+classes:
+- service.ceilometer.support
+parameters:
+ _param:
+ keystone_ceilometer_endpoint_type: internalURL
+ openstack_log_appender: false
+ openstack_fluentd_handler_enabled: false
+ openstack_ossyslog_handler_enabled: false
+ ceilometer:
+ server:
+ enabled: true
+ version: ${_param:ceilometer_version}
+ cluster: true
+ secret: ${_param:ceilometer_secret_key}
+ ttl: 86400
+ bind:
+ host: ${_param:cluster_local_address}
+ port: 8777
+ identity:
+ engine: keystone
+ host: ${_param:cluster_vip_address}
+ port: 35357
+ tenant: service
+ user: ceilometer
+ password: ${_param:keystone_ceilometer_password}
+ endpoint_type: ${_param:keystone_ceilometer_endpoint_type}
+ logging:
+ log_appender: ${_param:openstack_log_appender}
+ log_handlers:
+ watchedfile:
+ enabled: true
+ fluentd:
+ enabled: ${_param:openstack_fluentd_handler_enabled}
+ ossyslog:
+ enabled: ${_param:openstack_ossyslog_handler_enabled}
+ message_queue:
+ engine: rabbitmq
+ host: ${_param:cluster_vip_address}
+ port: 5672
+ user: openstack
+ password: ${_param:rabbitmq_openstack_password}
+ virtual_host: '/openstack'