summaryrefslogtreecommitdiff
path: root/openstack/usr/share/openstack/ceilometer/ceilometer.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/usr/share/openstack/ceilometer/ceilometer.conf')
-rw-r--r--openstack/usr/share/openstack/ceilometer/ceilometer.conf56
1 files changed, 30 insertions, 26 deletions
diff --git a/openstack/usr/share/openstack/ceilometer/ceilometer.conf b/openstack/usr/share/openstack/ceilometer/ceilometer.conf
index 927379be..b572d40f 100644
--- a/openstack/usr/share/openstack/ceilometer/ceilometer.conf
+++ b/openstack/usr/share/openstack/ceilometer/ceilometer.conf
@@ -55,7 +55,7 @@
# The strategy to use for auth: noauth or keystone. (string
# value)
-#auth_strategy=keystone
+auth_strategy=keystone
# Deploy the deprecated v1 API. (boolean value)
#enable_v1_api=true
@@ -202,7 +202,7 @@
# Publish error events (boolean value)
#publish_errors=false
-
+
# Make deprecations fatal (boolean value)
#fatal_deprecations=false
@@ -246,7 +246,7 @@
# Use syslog for logging. Existing syslog format is DEPRECATED
# during I, and then will be changed in J to honor RFC5424
# (boolean value)
-#use_syslog=false
+use_syslog=true
# (Optional) Use syslog rfc5424 format for logging. If
# enabled, will add APP-NAME (RFC5424) before the MSG part of
@@ -310,7 +310,7 @@
# The messaging module to use, defaults to kombu. (string
# value)
-#rpc_backend=ceilometer.openstack.common.rpc.impl_kombu
+rpc_backend=rabbit
# Size of RPC thread pool (integer value)
#rpc_thread_pool_size=64
@@ -371,26 +371,28 @@
# The RabbitMQ broker address where a single node is used
# (string value)
-#rabbit_host=localhost
+rabbit_host = {{ RABBITMQ_HOST }}
+
# The RabbitMQ broker port where a single node is used
# (integer value)
-#rabbit_port=5672
+rabbit_port= {{ RABBITMQ_PORT }}
# RabbitMQ HA cluster host:port pairs (list value)
#rabbit_hosts=$rabbit_host:$rabbit_port
# Connect over SSL for RabbitMQ (boolean value)
-#rabbit_use_ssl=false
+rabbit_use_ssl=false
# The RabbitMQ userid (string value)
-#rabbit_userid=guest
+rabbit_userid= {{ RABBITMQ_USER }}
# The RabbitMQ password (string value)
-#rabbit_password=guest
+rabbit_password = {{ RABBITMQ_PASSWORD }}
+
# The RabbitMQ virtual host (string value)
-#rabbit_virtual_host=/
+rabbit_virtual_host=/
# How frequently to retry connecting with RabbitMQ (integer
# value)
@@ -523,7 +525,7 @@
#
# Exchange name for Cinder notifications. (string value)
-#cinder_control_exchange=cinder
+cinder_control_exchange=cinder
[alarm]
@@ -631,8 +633,8 @@
# Deprecated group/name - [DEFAULT]/sql_connection
# Deprecated group/name - [DATABASE]/sql_connection
# Deprecated group/name - [sql]/connection
-#connection=sqlite:////ceilometer/openstack/common/db/$sqlite_db
-
+connection=postgresql://{{ CEILOMETER_DB_USER }}:{{ CEILOMETER_DB_PASSWORD }}@{{ CONTROLLER_HOST_ADDRESS }}/ceilometer
+
# The SQLAlchemy connection string used to connect to the
# slave database (string value)
#slave_connection=
@@ -753,7 +755,9 @@
#auth_protocol=https
# Complete public Identity API endpoint (string value)
-#auth_uri=<None>
+auth_uri= http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+identity_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:35357
+
# API version of the admin Identity API endpoint (string
# value)
@@ -784,14 +788,14 @@
#admin_token=<None>
# Keystone account username (string value)
-#admin_user=<None>
+admin_user = {{ CEILOMETER_SERVICE_USER }}
# Keystone account password (string value)
-#admin_password=<None>
+admin_password = {{ CEILOMETER_SERVICE_PASSWORD }}
# Keystone service account tenant name to validate user tokens
# (string value)
-#admin_tenant_name=admin
+admin_tenant_name = service
# Env key for the swift cache (string value)
#cache=<None>
@@ -912,8 +916,8 @@
# Secret value for signing metering messages. (string value)
# Deprecated group/name - [DEFAULT]/metering_secret
# Deprecated group/name - [publisher_rpc]/metering_secret
-#metering_secret=change this or be hacked
-
+# It should be set to some random value
+metering_secret = {{ METERING_SECRET }}
[publisher_rpc]
@@ -944,10 +948,10 @@
# User name to use for OpenStack service access. (string
# value)
-#os_username=ceilometer
+os_username = {{ CEILOMETER_SERVICE_USER }}
# Password to use for OpenStack service access. (string value)
-#os_password=admin
+os_password = {{ CEILOMETER_SERVICE_PASSWORD }}
# Tenant ID to use for OpenStack service access. (string
# value)
@@ -955,21 +959,21 @@
# Tenant name to use for OpenStack service access. (string
# value)
-#os_tenant_name=admin
+os_tenant_name = service
# Certificate chain for SSL validation. (string value)
#os_cacert=<None>
# Auth URL to use for OpenStack service access. (string value)
-#os_auth_url=http://localhost:5000/v2.0
-
+os_auth_url = http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+
# Region name to use for OpenStack service endpoints. (string
# value)
-#os_region_name=<None>
+os_region_name=regionOne
# Type of endpoint in Identity service catalog to use for
# communication with OpenStack services. (string value)
-#os_endpoint_type=publicURL
+os_endpoint_type=internalURL
# Disables X.509 certificate validation when an SSL connection
# to Identity Service is established. (boolean value)