blob: b4f818b4f98e5992f0fe3e9f2666042ab314e67a [file] [log] [blame]
Filip Pytlouna87b4712015-10-06 16:28:31 +02001{%- from "ceilometer/map.jinja" import agent with context %}
2[DEFAULT]
3
4#
5# From oslo.messaging
6#
7
8# Print debugging output (set logging level to DEBUG instead
9# of default WARNING level). (boolean value)
10#debug=false
11debug=False
12
13# Print more verbose output (set logging level to INFO instead
14# of default WARNING level). (boolean value)
15#verbose=false
16verbose=True
17# Size of RPC connection pool. (integer value)
18#rpc_conn_pool_size = 30
19
20auth_strategy = keystone
21
22# ZeroMQ bind address. Should be a wildcard (*), an ethernet
23# interface, or IP. The "host" option should point or resolve to this
24# address. (string value)
25#rpc_zmq_bind_address = *
26
27# MatchMaker driver. (string value)
28#rpc_zmq_matchmaker = local
29
30# ZeroMQ receiver listening port. (integer value)
31#rpc_zmq_port = 9501
32
33# Number of ZeroMQ contexts, defaults to 1. (integer value)
34#rpc_zmq_contexts = 1
35
36# Maximum number of ingress messages to locally buffer per topic.
37# Default is unlimited. (integer value)
38#rpc_zmq_topic_backlog = <None>
39
40# Directory for holding IPC sockets. (string value)
41#rpc_zmq_ipc_dir = /var/run/openstack
42
43# Name of this node. Must be a valid hostname, FQDN, or IP address.
44# Must match "host" option, if running Nova. (string value)
45#rpc_zmq_host = localhost
46
47# Seconds to wait before a cast expires (TTL). Only supported by
48# impl_zmq. (integer value)
49#rpc_cast_timeout = 30
50
51# Heartbeat frequency. (integer value)
52#matchmaker_heartbeat_freq = 300
53
54# Heartbeat time-to-live. (integer value)
55#matchmaker_heartbeat_ttl = 600
56
57# Size of RPC thread pool. (integer value)
58#rpc_thread_pool_size = 64
59{%- if agent.message_queue.rpc_thread_pool_size is defined %}
60rpc_thread_pool_size = {{ agent.message_queue.rpc_thread_pool_size }}
61{%- endif %}
62
63# Driver or drivers to handle sending notifications. (multi valued)
64#notification_driver =
65
66# AMQP topic used for OpenStack notifications. (list value)
67# Deprecated group/name - [rpc_notifier2]/topics
68#notification_topics = notifications
69notification_topics=notifications
70
71# Seconds to wait for a response from a call. (integer value)
72#rpc_response_timeout = 60
73
74# A URL representing the messaging driver to use and its full
75# configuration. If not set, we fall back to the rpc_backend option
76# and driver specific configuration. (string value)
77#transport_url = <None>
78
79# The messaging driver to use, defaults to rabbit. Other drivers
80# include qpid and zmq. (string value)
81#rpc_backend = rabbit
82rpc_backend = rabbit
83
84# The default exchange under which topics are scoped. May be
85# overridden by an exchange name specified in the transport_url
86# option. (string value)
87#control_exchange = openstack
88
89[database]
90
91#
92# From oslo.db
93#
94
95# The file name to use with SQLite. (string value)
96# Deprecated group/name - [DEFAULT]/sqlite_db
97#sqlite_db = oslo.sqlite
98
99# If True, SQLite uses synchronous mode. (boolean value)
100# Deprecated group/name - [DEFAULT]/sqlite_synchronous
101#sqlite_synchronous = true
102
103# The back end to use for the database. (string value)
104# Deprecated group/name - [DEFAULT]/db_backend
105#backend = sqlalchemy
106
107# The SQLAlchemy connection string to use to connect to the database.
108# (string value)
109# Deprecated group/name - [DEFAULT]/sql_connection
110# Deprecated group/name - [DATABASE]/sql_connection
111# Deprecated group/name - [sql]/connection
112#connection = <None>
113
114# The SQLAlchemy connection string to use to connect to the slave
115# database. (string value)
116#slave_connection = <None>
117
118# The SQL mode to be used for MySQL sessions. This option, including
119# the default, overrides any server-set SQL mode. To use whatever SQL
120# mode is set by the server configuration, set this to no value.
121# Example: mysql_sql_mode= (string value)
122#mysql_sql_mode = TRADITIONAL
123
124# Timeout before idle SQL connections are reaped. (integer value)
125# Deprecated group/name - [DEFAULT]/sql_idle_timeout
126# Deprecated group/name - [DATABASE]/sql_idle_timeout
127# Deprecated group/name - [sql]/idle_timeout
128#idle_timeout = 3600
129
130# Minimum number of SQL connections to keep open in a pool. (integer
131# value)
132# Deprecated group/name - [DEFAULT]/sql_min_pool_size
133# Deprecated group/name - [DATABASE]/sql_min_pool_size
134#min_pool_size = 1
135
136# Maximum number of SQL connections to keep open in a pool. (integer
137# value)
138# Deprecated group/name - [DEFAULT]/sql_max_pool_size
139# Deprecated group/name - [DATABASE]/sql_max_pool_size
140#max_pool_size = <None>
141
142# Maximum number of database connection retries during startup. Set to
143# -1 to specify an infinite retry count. (integer value)
144# Deprecated group/name - [DEFAULT]/sql_max_retries
145# Deprecated group/name - [DATABASE]/sql_max_retries
146#max_retries = 10
147
148# Interval between retries of opening a SQL connection. (integer
149# value)
150# Deprecated group/name - [DEFAULT]/sql_retry_interval
151# Deprecated group/name - [DATABASE]/reconnect_interval
152#retry_interval = 10
153
154# If set, use this value for max_overflow with SQLAlchemy. (integer
155# value)
156# Deprecated group/name - [DEFAULT]/sql_max_overflow
157# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
158#max_overflow = <None>
159
160# Verbosity of SQL debugging information: 0=None, 100=Everything.
161# (integer value)
162# Deprecated group/name - [DEFAULT]/sql_connection_debug
163#connection_debug = 0
164
165# Add Python stack traces to SQL as comment strings. (boolean value)
166# Deprecated group/name - [DEFAULT]/sql_connection_trace
167#connection_trace = false
168
169# If set, use this value for pool_timeout with SQLAlchemy. (integer
170# value)
171# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
172#pool_timeout = <None>
173
174# Enable the experimental use of database reconnect on connection
175# lost. (boolean value)
176#use_db_reconnect = false
177
178# Seconds between retries of a database transaction. (integer value)
179#db_retry_interval = 1
180
181# If True, increases the interval between retries of a database
182# operation up to db_max_retry_interval. (boolean value)
183#db_inc_retry_interval = true
184
185# If db_inc_retry_interval is set, the maximum seconds between retries
186# of a database operation. (integer value)
187#db_max_retry_interval = 10
188
189# Maximum retries in case of connection error or deadlock error before
190# error is raised. Set to -1 to specify an infinite retry count.
191# (integer value)
192#db_max_retries = 20
193
194
195[keystone_authtoken]
196
197#
198# From keystonemiddleware.auth_token
199#
200
201
202# Service tenant name. (string value)
203#admin_tenant_name = admin
204auth_host={{ agent.identity.host }}
205
206# Port of the admin Identity API endpoint (integer value)
207#auth_port=35357
208auth_port={{ agent.identity.port }}
209
210# Protocol of the admin Identity API endpoint(http or https)
211# (string value)
212#auth_protocol=https
213auth_protocol=http
214
215# Complete public Identity API endpoint (string value)
216#auth_uri=<None>
217auth_uri=http://{{ agent.identity.host }}:5000/
218
219# Complete admin Identity API endpoint. This should specify
220# the unversioned root endpoint e.g. https://localhost:35357/
221# (string value)
222#identity_uri=<None>
223identity_uri=http://{{ agent.identity.host }}:35357
224
225# API version of the admin Identity API endpoint (string
226# value)
227#auth_version=<None>
228
229# Do not handle authorization requests within the middleware,
230# but delegate the authorization decision to downstream WSGI
231# components (boolean value)
232#delay_auth_decision=false
233
234# Request timeout value for communicating with Identity API
235# server. (boolean value)
236#http_connect_timeout=<None>
237
238# How many times are we trying to reconnect when communicating
239# with Identity API Server. (integer value)
240#http_request_max_retries=3
241
242# This option is deprecated and may be removed in a future
243# release. Single shared secret with the Keystone
244# configuration used for bootstrapping a Keystone
245# installation, or otherwise bypassing the normal
246# authentication process. This option should not be used, use
247# `admin_user` and `admin_password` instead. (string value)
248#admin_token=<None>
249
250# Keystone account username (string value)
251#admin_user=<None>
252admin_user={{ agent.identity.user }}
253
254# Keystone account password (string value)
255#admin_password=<None>
256admin_password={{ agent.identity.password }}
257
258# Keystone service account tenant name to validate user tokens
259# (string value)
260#admin_tenant_name=admin
261admin_tenant_name={{ agent.identity.tenant }}
262
263[matchmaker_redis]
264
265#
266# From oslo.messaging
267#
268
269# Host to locate redis. (string value)
270#host = 127.0.0.1
271
272# Use this port to connect to redis host. (integer value)
273#port = 6379
274
275# Password for Redis server (optional). (string value)
276#password = <None>
277
278
279[matchmaker_ring]
280
281#
282# From oslo.messaging
283#
284
285# Matchmaker ring file (JSON). (string value)
286# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
287#ringfile = /etc/oslo/matchmaker_ring.json
288
289[oslo_messaging_amqp]
290
291#
292# From oslo.messaging
293#
294
295# address prefix used when sending to a specific server (string value)
296# Deprecated group/name - [amqp1]/server_request_prefix
297#server_request_prefix = exclusive
298
299# address prefix used when broadcasting to all servers (string value)
300# Deprecated group/name - [amqp1]/broadcast_prefix
301#broadcast_prefix = broadcast
302
303# address prefix when sending to any server in group (string value)
304# Deprecated group/name - [amqp1]/group_request_prefix
305#group_request_prefix = unicast
306
307# Name for the AMQP container (string value)
308# Deprecated group/name - [amqp1]/container_name
309#container_name = <None>
310
311# Timeout for inactive connections (in seconds) (integer value)
312# Deprecated group/name - [amqp1]/idle_timeout
313#idle_timeout = 0
314
315# Debug: dump AMQP frames to stdout (boolean value)
316# Deprecated group/name - [amqp1]/trace
317#trace = false
318
319# CA certificate PEM file for verifing server certificate (string
320# value)
321# Deprecated group/name - [amqp1]/ssl_ca_file
322#ssl_ca_file =
323
324# Identifying certificate PEM file to present to clients (string
325# value)
326# Deprecated group/name - [amqp1]/ssl_cert_file
327#ssl_cert_file =
328
329# Private key PEM file used to sign cert_file certificate (string
330# value)
331# Deprecated group/name - [amqp1]/ssl_key_file
332#ssl_key_file =
333
334# Password for decrypting ssl_key_file (if encrypted) (string value)
335# Deprecated group/name - [amqp1]/ssl_key_password
336#ssl_key_password = <None>
337
338# Accept clients using either SSL or plain TCP (boolean value)
339# Deprecated group/name - [amqp1]/allow_insecure_clients
340#allow_insecure_clients = false
341
342
343
344
345[oslo_messaging_rabbit]
346
347#
348# From oslo.messaging
349#
350
351# Use durable queues in AMQP. (boolean value)
352# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
353#amqp_durable_queues = false
354
355# Auto-delete queues in AMQP. (boolean value)
356# Deprecated group/name - [DEFAULT]/amqp_auto_delete
357#amqp_auto_delete = false
358
359# SSL version to use (valid only if SSL enabled). Valid values are
360# TLSv1 and SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be
361# available on some distributions. (string value)
362# Deprecated group/name - [DEFAULT]/kombu_ssl_version
363#kombu_ssl_version =
364
365# SSL key file (valid only if SSL enabled). (string value)
366# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
367#kombu_ssl_keyfile =
368
369# SSL cert file (valid only if SSL enabled). (string value)
370# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
371#kombu_ssl_certfile =
372
373# SSL certification authority file (valid only if SSL enabled).
374# (string value)
375# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
376#kombu_ssl_ca_certs =
377
378# How long to wait before reconnecting in response to an AMQP consumer
379# cancel notification. (floating point value)
380# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
381#kombu_reconnect_delay = 1.0
382kombu_reconnect_delay = 5.0
383
384# The RabbitMQ broker address where a single node is used. (string
385# value)
386# Deprecated group/name - [DEFAULT]/rabbit_host
387#rabbit_host = localhost
388rabbit_host = {{ agent.message_queue.host }}
389
390# The RabbitMQ broker port where a single node is used. (integer
391# value)
392# Deprecated group/name - [DEFAULT]/rabbit_port
393#rabbit_port = 5672
394rabbit_port = {{ agent.message_queue.port }}
395
396# RabbitMQ HA cluster host:port pairs. (list value)
397# Deprecated group/name - [DEFAULT]/rabbit_hosts
398#rabbit_hosts = $rabbit_host:$rabbit_port
399
400# Connect over SSL for RabbitMQ. (boolean value)
401# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
402#rabbit_use_ssl = false
403
404# The RabbitMQ userid. (string value)
405# Deprecated group/name - [DEFAULT]/rabbit_userid
406#rabbit_userid = guest
407rabbit_userid = {{ agent.message_queue.user }}
408
409# The RabbitMQ password. (string value)
410# Deprecated group/name - [DEFAULT]/rabbit_password
411#rabbit_password = guest
412rabbit_password = {{ agent.message_queue.password }}
413
414# The RabbitMQ login method. (string value)
415# Deprecated group/name - [DEFAULT]/rabbit_login_method
416#rabbit_login_method = AMQPLAIN
417
418# The RabbitMQ virtual host. (string value)
419# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
420#rabbit_virtual_host = /
421rabbit_virtual_host = {{ agent.message_queue.virtual_host }}
Filip Pytlouna87b4712015-10-06 16:28:31 +0200422
423# How frequently to retry connecting with RabbitMQ. (integer value)
424#rabbit_retry_interval = 1
425
426# How long to backoff for between retries when connecting to RabbitMQ.
427# (integer value)
428# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
429#rabbit_retry_backoff = 2
430
431# Maximum number of RabbitMQ connection retries. Default is 0
432# (infinite retry count). (integer value)
433# Deprecated group/name - [DEFAULT]/rabbit_max_retries
434#rabbit_max_retries = 0
435
436# Use HA queues in RabbitMQ (x-ha-policy: all). If you change this
437# option, you must wipe the RabbitMQ database. (boolean value)
438# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
439#rabbit_ha_queues = false
440
441# Number of seconds after which the Rabbit broker is considered down
442# if heartbeat's keep-alive fails (0 disable the heartbeat). (integer
443# value)
444#heartbeat_timeout_threshold = 60
445
446# How often times during the heartbeat_timeout_threshold we check the
447# heartbeat. (integer value)
448#heartbeat_rate = 2
449
450# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake
451# (boolean value)
452# Deprecated group/name - [DEFAULT]/fake_rabbit
453#fake_rabbit = false
454
455[publisher]
456
457#
458# Options defined in ceilometer.publisher.utils
459#
460
461# Secret value for signing metering messages. (string value)
462# Deprecated group/name - [DEFAULT]/metering_secret
463# Deprecated group/name - [publisher_rpc]/metering_secret
464#metering_secret=change this or be hacked
465telemetry_secret={{ agent.secret }}
466
467[service_credentials]
468
469#
470# Options defined in ceilometer.service
471#
472
473# User name to use for OpenStack service access. (string
474# value)
475#os_username=ceilometer
476os_username={{ agent.identity.user }}
477
478# Password to use for OpenStack service access. (string value)
479#os_password=admin
480os_password={{ agent.identity.password }}
481
482# Tenant ID to use for OpenStack service access. (string
483# value)
484#os_tenant_id=
485
486# Tenant name to use for OpenStack service access. (string
487# value)
488#os_tenant_name=admin
489os_tenant_name={{ agent.identity.tenant }}
490
491# Certificate chain for SSL validation. (string value)
492#os_cacert=<None>
493
494# Auth URL to use for OpenStack service access. (string value)
495#os_auth_url=http://localhost:5000/v2.0
496os_auth_url=http://{{ agent.identity.host }}:5000/v2.0
497
498# Region name to use for OpenStack service endpoints. (string
499# value)
500#os_region_name=<None>
501os_region_name=RegionOne
502
503# Type of endpoint in Identity service catalog to use for
504# communication with OpenStack services. (string value)
505#os_endpoint_type=publicURL
506
507# Disables X.509 certificate validation when an SSL connection
508# to Identity Service is established. (boolean value)
509#insecure=false
510
511{%- if agent.publisher.graphite is defined %}
512
513[graphite]
514prefix = {{ agent.publisher.graphite.get('prefix', 'ceilometer') }}.
515append_hostname = true
516
Jiri Konecnyb9cf76f2016-07-27 13:22:59 +0200517{%- endif %}