blob: 895cdad7f8783296bdd8978e151c30499062d914 [file] [log] [blame]
Petr Jediný1c34abb2017-06-07 14:34:13 +02001{%- from "ceilometer/map.jinja" import server with context -%}
2[DEFAULT]
3
4#
5# From ceilometer
6#
7
8# To reduce polling agent load, samples are sent to the notification agent in a
9# batch. To gain higher throughput at the cost of load set this to False.
10# (boolean value)
11#batch_polled_samples = true
12
13# To reduce large requests at same time to Nova or other components from
14# different compute agents, shuffle start time of polling task. (integer value)
15#shuffle_time_before_polling_task = 0
16
17# Configuration file for WSGI definition of API. (string value)
18#api_paste_config = api_paste.ini
19
20# Inspector to use for inspecting the hypervisor layer. Known inspectors are
21# libvirt, hyperv, vsphere, xenapi and powervm. (string value)
22#hypervisor_inspector = libvirt
23
24# Libvirt domain type. (string value)
25# Allowed values: kvm, lxc, qemu, uml, xen
26#libvirt_type = kvm
27
28# Override the default libvirt URI (which is dependent on libvirt_type).
29# (string value)
30#libvirt_uri =
31
32# Dispatchers to process metering data. (multi valued)
33# Deprecated group/name - [DEFAULT]/dispatcher
34#meter_dispatchers =
35
36# Dispatchers to process event data. (multi valued)
37# Deprecated group/name - [DEFAULT]/dispatcher
38#event_dispatchers =
39
40# Exchange name for Ironic notifications. (string value)
41#ironic_exchange = ironic
42
43# Exchanges name to listen for notifications. (multi valued)
44#http_control_exchanges = nova
45#http_control_exchanges = glance
46#http_control_exchanges = neutron
47#http_control_exchanges = cinder
48
49# DEPRECATED: Allow novaclient's debug log output. (Use default_log_levels
50# instead) (boolean value)
51# This option is deprecated for removal.
52# Its value may be silently ignored in the future.
53#nova_http_log_debug = false
54
55# Swift reseller prefix. Must be on par with reseller_prefix in proxy-
56# server.conf. (string value)
57#reseller_prefix = AUTH_
58
59# Configuration file for pipeline definition. (string value)
60#pipeline_cfg_file = pipeline.yaml
61
62# Configuration file for event pipeline definition. (string value)
63#event_pipeline_cfg_file = event_pipeline.yaml
64
65# Refresh Pipeline configuration on-the-fly. (boolean value)
66#refresh_pipeline_cfg = false
67
68# Refresh Event Pipeline configuration on-the-fly. (boolean value)
69#refresh_event_pipeline_cfg = false
70
71# Polling interval for pipeline file configuration in seconds. (integer value)
72#pipeline_polling_interval = 20
73
74# Source for samples emitted on this instance. (string value)
75#sample_source = openstack
76
77# List of metadata prefixes reserved for metering use. (list value)
78#reserved_metadata_namespace = metering.
79
80# Limit on length of reserved metadata values. (integer value)
81#reserved_metadata_length = 256
82
83# List of metadata keys reserved for metering use. And these keys are
84# additional to the ones included in the namespace. (list value)
85#reserved_metadata_keys =
86
87# Path to the rootwrap configuration file to use for running commands as root
88# (string value)
89#rootwrap_config = /etc/ceilometer/rootwrap.conf
90
91# Exchange name for Nova notifications. (string value)
92#nova_control_exchange = nova
93
94# Exchange name for Neutron notifications. (string value)
95#neutron_control_exchange = neutron
96
97# Exchange name for Heat notifications (string value)
98#heat_control_exchange = heat
99
100# Exchange name for Glance notifications. (string value)
101#glance_control_exchange = glance
102
103# Exchange name for Keystone notifications. (string value)
104#keystone_control_exchange = keystone
105
106# Exchange name for Cinder notifications. (string value)
107#cinder_control_exchange = cinder
108
109# Exchange name for Data Processing notifications. (string value)
110#sahara_control_exchange = sahara
111
112# Exchange name for Swift notifications. (string value)
113#swift_control_exchange = swift
114
115# Exchange name for Magnum notifications. (string value)
116#magnum_control_exchange = magnum
117
118# Exchange name for DBaaS notifications. (string value)
119#trove_control_exchange = trove
120
121# Exchange name for Messaging service notifications. (string value)
122#zaqar_control_exchange = zaqar
123
124# Exchange name for DNS service notifications. (string value)
125#dns_control_exchange = central
126
127# Exchange name for ceilometer notifications. (string value)
128#ceilometer_control_exchange = ceilometer
129
130# Name of this node, which must be valid in an AMQP key. Can be an opaque
131# identifier. For ZeroMQ only, must be a valid host name, FQDN, or IP address.
132# (string value)
133#host = <your_hostname>
134
135# Timeout seconds for HTTP requests. Set it to None to disable timeout.
136# (integer value)
137#http_timeout = 600
138
139#
140# From oslo.log
141#
142
143# If set to true, the logging level will be set to DEBUG instead of the default
144# INFO level. (boolean value)
145# Note: This option can be changed without restarting.
146#debug = false
147debug = false
148
149# DEPRECATED: If set to false, the logging level will be set to WARNING instead
150# of the default INFO level. (boolean value)
151# This option is deprecated for removal.
152# Its value may be silently ignored in the future.
153#verbose = true
154
155# The name of a logging configuration file. This file is appended to any
156# existing logging configuration files. For details about logging configuration
157# files, see the Python logging module documentation. Note that when logging
158# configuration files are used then all logging configuration is set in the
159# configuration file and other logging configuration options are ignored (for
160# example, logging_context_format_string). (string value)
161# Note: This option can be changed without restarting.
162# Deprecated group/name - [DEFAULT]/log_config
163#log_config_append = <None>
Dmitry Kalashnik4b83f4c2017-12-07 16:17:03 +0400164{%- if server.logging.log_appender %}
165log_config_append=/etc/ceilometer/logging.conf
166{%- endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200167
168# Defines the format string for %%(asctime)s in log records. Default:
169# %(default)s . This option is ignored if log_config_append is set. (string
170# value)
171#log_date_format = %Y-%m-%d %H:%M:%S
172
173# (Optional) Name of log file to send logging output to. If no default is set,
174# logging will go to stderr as defined by use_stderr. This option is ignored if
175# log_config_append is set. (string value)
176# Deprecated group/name - [DEFAULT]/logfile
177#log_file = <None>
178
179# (Optional) The base directory used for relative log_file paths. This option
180# is ignored if log_config_append is set. (string value)
181# Deprecated group/name - [DEFAULT]/logdir
182#log_dir = <None>
183
184# Uses logging handler designed to watch file system. When log file is moved or
185# removed this handler will open a new log file with specified path
186# instantaneously. It makes sense only if log_file option is specified and
187# Linux platform is used. This option is ignored if log_config_append is set.
188# (boolean value)
189#watch_log_file = false
190
191# Use syslog for logging. Existing syslog format is DEPRECATED and will be
192# changed later to honor RFC5424. This option is ignored if log_config_append
193# is set. (boolean value)
194#use_syslog = false
195
196# Syslog facility to receive log lines. This option is ignored if
197# log_config_append is set. (string value)
198#syslog_log_facility = LOG_USER
199
200# Log output to standard error. This option is ignored if log_config_append is
201# set. (boolean value)
202#use_stderr = false
203
204# Format string to use for log messages with context. (string value)
205#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
206
207# Format string to use for log messages when context is undefined. (string
208# value)
209#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
210
211# Additional data to append to log message when logging level for the message
212# is DEBUG. (string value)
213#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
214
215# Prefix each line of exception output with this format. (string value)
216#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
217
218# Defines the format string for %(user_identity)s that is used in
219# logging_context_format_string. (string value)
220#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
221
222# List of package logging levels in logger=LEVEL pairs. This option is ignored
223# if log_config_append is set. (list value)
224#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
225
226# Enables or disables publication of error events. (boolean value)
227#publish_errors = false
228
229# The format for an instance that is passed with the log message. (string
230# value)
231#instance_format = "[instance: %(uuid)s] "
232
233# The format for an instance UUID that is passed with the log message. (string
234# value)
235#instance_uuid_format = "[instance: %(uuid)s] "
236
237# Interval, number of seconds, of log rate limiting. (integer value)
238#rate_limit_interval = 0
239
240# Maximum number of logged messages per rate_limit_interval. (integer value)
241#rate_limit_burst = 0
242
243# Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
244# or empty string. Logs with level greater or equal to rate_limit_except_level
245# are not filtered. An empty string means that all levels are filtered. (string
246# value)
247#rate_limit_except_level = CRITICAL
248
249# Enables or disables fatal status of deprecations. (boolean value)
250#fatal_deprecations = false
251
252#
253# From oslo.messaging
254#
255
256# Size of RPC connection pool. (integer value)
257# Deprecated group/name - [DEFAULT]/rpc_conn_pool_size
258#rpc_conn_pool_size = 30
259
260# The pool size limit for connections expiration policy (integer value)
261#conn_pool_min_size = 2
262
263# The time-to-live in sec of idle connections in the pool (integer value)
264#conn_pool_ttl = 1200
265
266# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
267# The "host" option should point or resolve to this address. (string value)
268# Deprecated group/name - [DEFAULT]/rpc_zmq_bind_address
269#rpc_zmq_bind_address = *
270
271# MatchMaker driver. (string value)
272# Allowed values: redis, sentinel, dummy
273# Deprecated group/name - [DEFAULT]/rpc_zmq_matchmaker
274#rpc_zmq_matchmaker = redis
275
276# Number of ZeroMQ contexts, defaults to 1. (integer value)
277# Deprecated group/name - [DEFAULT]/rpc_zmq_contexts
278#rpc_zmq_contexts = 1
279
280# Maximum number of ingress messages to locally buffer per topic. Default is
281# unlimited. (integer value)
282# Deprecated group/name - [DEFAULT]/rpc_zmq_topic_backlog
283#rpc_zmq_topic_backlog = <None>
284
285# Directory for holding IPC sockets. (string value)
286# Deprecated group/name - [DEFAULT]/rpc_zmq_ipc_dir
287#rpc_zmq_ipc_dir = /var/run/openstack
288
289# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
290# "host" option, if running Nova. (string value)
291# Deprecated group/name - [DEFAULT]/rpc_zmq_host
292#rpc_zmq_host = localhost
293
294# Number of seconds to wait before all pending messages will be sent after
295# closing a socket. The default value of -1 specifies an infinite linger
296# period. The value of 0 specifies no linger period. Pending messages shall be
297# discarded immediately when the socket is closed. Positive values specify an
298# upper bound for the linger period. (integer value)
299# Deprecated group/name - [DEFAULT]/rpc_cast_timeout
300#zmq_linger = -1
301
302# The default number of seconds that poll should wait. Poll raises timeout
303# exception when timeout expired. (integer value)
304# Deprecated group/name - [DEFAULT]/rpc_poll_timeout
305#rpc_poll_timeout = 1
306
307# Expiration timeout in seconds of a name service record about existing target
308# ( < 0 means no timeout). (integer value)
309# Deprecated group/name - [DEFAULT]/zmq_target_expire
310#zmq_target_expire = 300
311
312# Update period in seconds of a name service record about existing target.
313# (integer value)
314# Deprecated group/name - [DEFAULT]/zmq_target_update
315#zmq_target_update = 180
316
317# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
318# value)
319# Deprecated group/name - [DEFAULT]/use_pub_sub
320#use_pub_sub = false
321
322# Use ROUTER remote proxy. (boolean value)
323# Deprecated group/name - [DEFAULT]/use_router_proxy
324#use_router_proxy = false
325
326# This option makes direct connections dynamic or static. It makes sense only
327# with use_router_proxy=False which means to use direct connections for direct
328# message types (ignored otherwise). (boolean value)
329#use_dynamic_connections = false
330
331# How many additional connections to a host will be made for failover reasons.
332# This option is actual only in dynamic connections mode. (integer value)
333#zmq_failover_connections = 2
334
335# Minimal port number for random ports range. (port value)
336# Minimum value: 0
337# Maximum value: 65535
338# Deprecated group/name - [DEFAULT]/rpc_zmq_min_port
339#rpc_zmq_min_port = 49153
340
341# Maximal port number for random ports range. (integer value)
342# Minimum value: 1
343# Maximum value: 65536
344# Deprecated group/name - [DEFAULT]/rpc_zmq_max_port
345#rpc_zmq_max_port = 65536
346
347# Number of retries to find free port number before fail with ZMQBindError.
348# (integer value)
349# Deprecated group/name - [DEFAULT]/rpc_zmq_bind_port_retries
350#rpc_zmq_bind_port_retries = 100
351
352# Default serialization mechanism for serializing/deserializing
353# outgoing/incoming messages (string value)
354# Allowed values: json, msgpack
355# Deprecated group/name - [DEFAULT]/rpc_zmq_serialization
356#rpc_zmq_serialization = json
357
358# This option configures round-robin mode in zmq socket. True means not keeping
359# a queue when server side disconnects. False means to keep queue and messages
360# even if server is disconnected, when the server appears we send all
361# accumulated messages to it. (boolean value)
362#zmq_immediate = true
363
364# Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
365# other negative value) means to skip any overrides and leave it to OS default;
366# 0 and 1 (or any other positive value) mean to disable and enable the option
367# respectively. (integer value)
368#zmq_tcp_keepalive = -1
369
370# The duration between two keepalive transmissions in idle condition. The unit
371# is platform dependent, for example, seconds in Linux, milliseconds in Windows
372# etc. The default value of -1 (or any other negative value and 0) means to
373# skip any overrides and leave it to OS default. (integer value)
374#zmq_tcp_keepalive_idle = -1
375
376# The number of retransmissions to be carried out before declaring that remote
377# end is not available. The default value of -1 (or any other negative value
378# and 0) means to skip any overrides and leave it to OS default. (integer
379# value)
380#zmq_tcp_keepalive_cnt = -1
381
382# The duration between two successive keepalive retransmissions, if
383# acknowledgement to the previous keepalive transmission is not received. The
384# unit is platform dependent, for example, seconds in Linux, milliseconds in
385# Windows etc. The default value of -1 (or any other negative value and 0)
386# means to skip any overrides and leave it to OS default. (integer value)
387#zmq_tcp_keepalive_intvl = -1
388
389# Maximum number of (green) threads to work concurrently. (integer value)
390#rpc_thread_pool_size = 100
391
392# Expiration timeout in seconds of a sent/received message after which it is
393# not tracked anymore by a client/server. (integer value)
394#rpc_message_ttl = 300
395
396# Wait for message acknowledgements from receivers. This mechanism works only
397# via proxy without PUB/SUB. (boolean value)
398#rpc_use_acks = false
399
400# Number of seconds to wait for an ack from a cast/call. After each retry
401# attempt this timeout is multiplied by some specified multiplier. (integer
402# value)
403#rpc_ack_timeout_base = 15
404
405# Number to multiply base ack timeout by after each retry attempt. (integer
406# value)
407#rpc_ack_timeout_multiplier = 2
408
409# Default number of message sending attempts in case of any problems occurred:
410# positive value N means at most N retries, 0 means no retries, None or -1 (or
411# any other negative values) mean to retry forever. This option is used only if
412# acknowledgments are enabled. (integer value)
413#rpc_retry_attempts = 3
414
415# List of publisher hosts SubConsumer can subscribe on. This option has higher
416# priority then the default publishers list taken from the matchmaker. (list
417# value)
418#subscribe_on =
419
420# Size of executor thread pool. (integer value)
421# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
422#executor_thread_pool_size = 64
423{%- if server.message_queue.rpc_thread_pool_size is defined %}
424executor_thread_pool_size = {{ server.message_queue.rpc_thread_pool_size }}
425{%- endif %}
426
427# Seconds to wait for a response from a call. (integer value)
428#rpc_response_timeout = 60
429
430# A URL representing the messaging driver to use and its full configuration.
431# (string value)
432#transport_url = <None>
433{%- if server.message_queue.members is defined %}
434transport_url = rabbit://{% for member in server.message_queue.members -%}
435 {{ server.message_queue.user }}:{{ server.message_queue.password }}@{{ member.host }}:{{ member.get('port', 5672) }}
436 {%- if not loop.last -%},{%- endif -%}
437 {%- endfor -%}
438 /{{ server.message_queue.virtual_host }}
439{%- else %}
440transport_url = rabbit://{{ server.message_queue.user }}:{{ server.message_queue.password }}@{{ server.message_queue.host }}:{{ server.message_queue.port }}/{{ server.message_queue.virtual_host }}
441{%- endif %}
442
443# DEPRECATED: The messaging driver to use, defaults to rabbit. Other drivers
444# include amqp and zmq. (string value)
445# This option is deprecated for removal.
446# Its value may be silently ignored in the future.
447# Reason: Replaced by [DEFAULT]/transport_url
448#rpc_backend = rabbit
449
450# The default exchange under which topics are scoped. May be overridden by an
451# exchange name specified in the transport_url option. (string value)
452#control_exchange = openstack
453
454#
455# From oslo.service.service
456#
457
458# Enable eventlet backdoor. Acceptable values are 0, <port>, and
459# <start>:<end>, where 0 results in listening on a random tcp port number;
460# <port> results in listening on the specified port number (and not enabling
461# backdoor if that port is in use); and <start>:<end> results in listening on
462# the smallest unused port number within the specified range of port numbers.
463# The chosen port is displayed in the service's log file. (string value)
464#backdoor_port = <None>
465
466# Enable eventlet backdoor, using the provided path as a unix socket that can
467# receive connections. This option is mutually exclusive with 'backdoor_port'
468# in that only one should be provided. If both are provided then the existence
469# of this option overrides the usage of that option. (string value)
470#backdoor_socket = <None>
471
472# Enables or disables logging values of all registered options when starting a
473# service (at DEBUG level). (boolean value)
474#log_options = true
475
476# Specify a timeout after which a gracefully shutdown server will exit. Zero
477# value means endless wait. (integer value)
478#graceful_shutdown_timeout = 60
479
Michel Nederlofb9dcd702017-07-21 15:35:04 +0200480# List of pollsters (or wildcard templates) to be used while polling
481#pollster_list =
482{%- if server.pollster_list is defined %}
483pollster_list = {{ server.pollster_list }}
484{%- endif %}
485
486# To reduce polling agent load, samples are sent to the notification
487# agent in a batch. To gain higher throughput at the cost of load set
488# this to False.
489#batch_polled_samples = True
490{%- if server.batch_polled_samples is defined %}
491batch_polled_samples = {{ server.batch_polled_samples|lower }}
492{%- endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200493
494[api]
495
496#
497# From ceilometer
498#
499
500# Default maximum number of items returned by API request. (integer value)
501# Minimum value: 1
502#default_api_return_limit = 100
503
504# Set True to disable resource/meter/sample URLs. Default autodetection by
505# querying keystone. (boolean value)
506#gnocchi_is_enabled = <None>
507
508# Set True to redirect alarms URLs to aodh. Default autodetection by querying
509# keystone. (boolean value)
510#aodh_is_enabled = <None>
511
512# The endpoint of Aodh to redirect alarms URLs to Aodh API. Default
513# autodetection by querying keystone. (string value)
514#aodh_url = <None>
515
516# Set True to redirect events URLs to Panko. Default autodetection by querying
517# keystone. (boolean value)
518#panko_is_enabled = <None>
519
520# The endpoint of Panko to redirect events URLs to Panko API. Default
521# autodetection by querying keystone. (string value)
522#panko_url = <None>
523
524
525[collector]
526
527#
528# From ceilometer
529#
530
531# Address to which the UDP socket is bound. Set to an empty string to disable.
532# (string value)
533#udp_address = 0.0.0.0
534
535# Port to which the UDP socket is bound. (port value)
536# Minimum value: 0
537# Maximum value: 65535
538#udp_port = 4952
539
540# Number of notification messages to wait before dispatching them (integer
541# value)
542#batch_size = 1
543
544# Number of seconds to wait before dispatching samples when batch_size is not
545# reached (None means indefinitely) (integer value)
546#batch_timeout = <None>
547
548# Number of workers for collector service. default value is 1. (integer value)
549# Minimum value: 1
550# Deprecated group/name - [DEFAULT]/collector_workers
551#workers = 1
552
553
554[compute]
555
556#
557# From ceilometer
558#
559
560# DEPRECATED: Enable work-load partitioning, allowing multiple compute agents
561# to be run simultaneously. (replaced by instance_discovery_method) (boolean
562# value)
563# This option is deprecated for removal.
564# Its value may be silently ignored in the future.
565#workload_partitioning = false
566
567# Ceilometer offers many methods to discover the instance running on a compute
568# node:
569# * naive: poll nova to get all instances
570# * workload_partitioning: poll nova to get instances of the compute
571# * libvirt_metadata: get instances from libvirt metadata but without
572# instance metadata (recommended for Gnocchi backend (string value)
573# Allowed values: naive, workload_partitioning, libvirt_metadata
574#instance_discovery_method = libvirt_metadata
575
576# New instances will be discovered periodically based on this option (in
577# seconds). By default, the agent discovers instances according to pipeline
578# polling interval. If option is greater than 0, the instance list to poll will
579# be updated based on this option's interval. Measurements relating to the
580# instances will match intervals defined in pipeline. (integer value)
581# Minimum value: 0
582#resource_update_interval = 0
583
584# The expiry to totally refresh the instances resource cache, since the
585# instance may be migrated to another host, we need to clean the legacy
586# instances info in local cache by totally refreshing the local cache. The
587# minimum should be the value of the config option of resource_update_interval.
588# This option is only used for agent polling to Nova API, so it will works only
589# when 'instance_discovery_method' was set to 'naive'. (integer value)
590# Minimum value: 0
591#resource_cache_expiry = 3600
592
593
594[coordination]
595
596#
597# From ceilometer
598#
599
600# The backend URL to use for distributed coordination. If left empty, per-
601# deployment central agent and per-host compute agent won't do workload
602# partitioning and will only function correctly if a single instance of that
603# service is running. (string value)
604#backend_url = <None>
605
606# Number of seconds between heartbeats for distributed coordination. (floating
607# point value)
608#heartbeat = 1.0
609
610# Number of seconds between checks to see if group membership has changed
611# (floating point value)
612#check_watchers = 10.0
613
614# Retry backoff factor when retrying to connect with coordination backend
615# (integer value)
616#retry_backoff = 1
617
618# Maximum number of seconds between retry to join partitioning group (integer
619# value)
620#max_retry_interval = 30
621
622
623[cors]
624
625#
626# From oslo.middleware.cors
627#
628
629# Indicate whether this resource may be shared with the domain received in the
630# requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
631# slash. Example: https://horizon.example.com (list value)
632#allowed_origin = <None>
Ondrej Smolaa4235472017-08-03 11:05:45 +0200633{% if server.get('cors', {}).allowed_origin is defined %}
634allowed_origin = {{ server.cors.allowed_origin }}
635{% endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200636
637# Indicate that the actual request can include user credentials (boolean value)
638#allow_credentials = true
Ondrej Smolaa4235472017-08-03 11:05:45 +0200639{% if server.get('cors', {}).allow_credentials is defined %}
640allow_credentials = {{ server.cors.allow_credentials }}
641{% endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200642
643# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
644# Headers. (list value)
645#expose_headers = X-Auth-Token,X-Subject-Token,X-Service-Token,X-Openstack-Request-Id
Ondrej Smolaa4235472017-08-03 11:05:45 +0200646{% if server.get('cors', {}).expose_headers is defined %}
647expose_headers = {{ server.cors.expose_headers }}
648{% endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200649
650# Maximum cache age of CORS preflight requests. (integer value)
651#max_age = 3600
Ondrej Smolaa4235472017-08-03 11:05:45 +0200652{% if server.get('cors', {}).max_age is defined %}
653max_age = {{ server.cors.max_age }}
654{% endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200655
656# Indicate which methods can be used during the actual request. (list value)
657#allow_methods = GET,PUT,POST,DELETE,PATCH
Ondrej Smolaa4235472017-08-03 11:05:45 +0200658{% if server.get('cors', {}).allow_methods is defined %}
659allow_methods = {{ server.cors.allow_methods }}
660{% endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200661
662# Indicate which header field names may be used during the actual request.
663# (list value)
664#allow_headers = X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-Openstack-Request-Id
Ondrej Smolaa4235472017-08-03 11:05:45 +0200665{% if server.get('cors', {}).allow_headers is defined %}
666allow_headers = {{ server.cors.allow_headers }}
667{% endif %}
Petr Jediný1c34abb2017-06-07 14:34:13 +0200668
669
670[cors.subdomain]
671
672#
673# From oslo.middleware.cors
674#
675
676# Indicate whether this resource may be shared with the domain received in the
677# requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
678# slash. Example: https://horizon.example.com (list value)
679#allowed_origin = <None>
680
681# Indicate that the actual request can include user credentials (boolean value)
682#allow_credentials = true
683
684# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
685# Headers. (list value)
686#expose_headers = X-Auth-Token,X-Subject-Token,X-Service-Token,X-Openstack-Request-Id
687
688# Maximum cache age of CORS preflight requests. (integer value)
689#max_age = 3600
690
691# Indicate which methods can be used during the actual request. (list value)
692#allow_methods = GET,PUT,POST,DELETE,PATCH
693
694# Indicate which header field names may be used during the actual request.
695# (list value)
696#allow_headers = X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-Openstack-Request-Id
697
698
699[database]
700
701#
702# From ceilometer
703#
704
705# Number of seconds that samples are kept in the database for (<= 0 means
706# forever). (integer value)
707# Deprecated group/name - [database]/time_to_live
708#metering_time_to_live = -1
709
710# The connection string used to connect to the metering database. (if unset,
711# connection is used) (string value)
712#metering_connection = <None>
713
714# Indicates if expirer expires only samples. If set true, expired samples will
715# be deleted, but residual resource and meter definition data will remain.
716# (boolean value)
717#sql_expire_samples_only = false
718
719#
720# From oslo.db
721#
722
723# DEPRECATED: The file name to use with SQLite. (string value)
724# Deprecated group/name - [DEFAULT]/sqlite_db
725# This option is deprecated for removal.
726# Its value may be silently ignored in the future.
727# Reason: Should use config option connection or slave_connection to connect
728# the database.
729#sqlite_db = oslo.sqlite
730
731# If True, SQLite uses synchronous mode. (boolean value)
732# Deprecated group/name - [DEFAULT]/sqlite_synchronous
733#sqlite_synchronous = true
734
735# The back end to use for the database. (string value)
736# Deprecated group/name - [DEFAULT]/db_backend
737#backend = sqlalchemy
738
739# The SQLAlchemy connection string to use to connect to the database. (string
740# value)
741# Deprecated group/name - [DEFAULT]/sql_connection
742# Deprecated group/name - [DATABASE]/sql_connection
743# Deprecated group/name - [sql]/connection
744#connection = <None>
745
746{%- if server.database.influxdb is defined %}
747{%- if server.database.influxdb.members is defined %}
748metering_connection = {% for member in server.database.influxdb.members -%}
749 stacklight://{{ server.database.influxdb.user }}:{{ server.database.influxdb.password }}@{% for member in server.database.influxdb.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{% endfor %}/{{ server.database.influxdb.name }}
750 {%- endfor -%}
751{%- else %}
752metering_connection = stacklight://{{ server.database.influxdb.user }}:{{ server.database.influxdb.password }}@{{ server.database.influxdb.host }}:{{ server.database.influxdb.port }}/{{ server.database.influxdb.database }}
753{%- endif %}
754{%- endif %}
755
756{%- if server.database.elasticsearch is defined %}
757{%- if server.database.elasticsearch.get('enabled', false) %}
758resource_connection = es://{{ server.database.elasticsearch.host}}:{{server.database.elasticsearch.port }}
759event_connection = es://{{ server.database.elasticsearch.host}}:{{server.database.elasticsearch.port }}
760{%- else %}
761resource_connection = es://localhost:9200
762event_connection = log://
763{%- endif %}
764{%- endif %}
765
766{%- if server.database.engine == "mongodb" %}
767{%- if server.database.members is defined %}
768connection={{ server.database.engine }}://{{ server.database.user }}:{{ server.database.password }}@{% for member in server.database.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{% endfor %}/{{ server.database.name }}
769{%- else %}
770connection={{ server.database.engine }}://{{ server.database.user }}:{{ server.database.password }}@{{ server.database.host }}:{{ server.database.port }}/{{ server.database.name }}
771{%- endif %}
772{%- endif %}
773
774# The SQLAlchemy connection string to use to connect to the slave database.
775# (string value)
776#slave_connection = <None>
777
778# The SQL mode to be used for MySQL sessions. This option, including the
779# default, overrides any server-set SQL mode. To use whatever SQL mode is set
780# by the server configuration, set this to no value. Example: mysql_sql_mode=
781# (string value)
782#mysql_sql_mode = TRADITIONAL
783
784# Timeout before idle SQL connections are reaped. (integer value)
785# Deprecated group/name - [DEFAULT]/sql_idle_timeout
786# Deprecated group/name - [DATABASE]/sql_idle_timeout
787# Deprecated group/name - [sql]/idle_timeout
788#idle_timeout = 3600
789
790# Minimum number of SQL connections to keep open in a pool. (integer value)
791# Deprecated group/name - [DEFAULT]/sql_min_pool_size
792# Deprecated group/name - [DATABASE]/sql_min_pool_size
793#min_pool_size = 1
794
795# Maximum number of SQL connections to keep open in a pool. Setting a value of
796# 0 indicates no limit. (integer value)
797# Deprecated group/name - [DEFAULT]/sql_max_pool_size
798# Deprecated group/name - [DATABASE]/sql_max_pool_size
799#max_pool_size = 5
800
801# Maximum number of database connection retries during startup. Set to -1 to
802# specify an infinite retry count. (integer value)
803# Deprecated group/name - [DEFAULT]/sql_max_retries
804# Deprecated group/name - [DATABASE]/sql_max_retries
805#max_retries = 10
806
807# Interval between retries of opening a SQL connection. (integer value)
808# Deprecated group/name - [DEFAULT]/sql_retry_interval
809# Deprecated group/name - [DATABASE]/reconnect_interval
810#retry_interval = 10
811
812# If set, use this value for max_overflow with SQLAlchemy. (integer value)
813# Deprecated group/name - [DEFAULT]/sql_max_overflow
814# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
815#max_overflow = 50
816
817# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
818# value)
819# Minimum value: 0
820# Maximum value: 100
821# Deprecated group/name - [DEFAULT]/sql_connection_debug
822#connection_debug = 0
823
824# Add Python stack traces to SQL as comment strings. (boolean value)
825# Deprecated group/name - [DEFAULT]/sql_connection_trace
826#connection_trace = false
827
828# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
829# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
830#pool_timeout = <None>
831
832# Enable the experimental use of database reconnect on connection lost.
833# (boolean value)
834#use_db_reconnect = false
835
836# Seconds between retries of a database transaction. (integer value)
837#db_retry_interval = 1
838
839# If True, increases the interval between retries of a database operation up to
840# db_max_retry_interval. (boolean value)
841#db_inc_retry_interval = true
842
843# If db_inc_retry_interval is set, the maximum seconds between retries of a
844# database operation. (integer value)
845#db_max_retry_interval = 10
846
847# Maximum retries in case of connection error or deadlock error before error is
848# raised. Set to -1 to specify an infinite retry count. (integer value)
849#db_max_retries = 20
850
851
852[dispatcher_file]
853
854#
855# From ceilometer
856#
857
858# Name and the location of the file to record meters. (string value)
859#file_path = <None>
860
861# The max size of the file. (integer value)
862#max_bytes = 0
863
864# The max number of the files to keep. (integer value)
865#backup_count = 0
866
867
868[dispatcher_gnocchi]
869
870#
871# From ceilometer
872#
873
874# Filter out samples generated by Gnocchi service activity (boolean value)
875#filter_service_activity = true
876
877# Gnocchi project used to filter out samples generated by Gnocchi service
878# activity (string value)
879#filter_project = gnocchi
880
881# The archive policy to use when the dispatcher create a new metric. (string
882# value)
883#archive_policy = <None>
884
885# The Yaml file that defines mapping between samples and gnocchi
886# resources/metrics (string value)
887#resources_definition_file = gnocchi_resources.yaml
888
889
890[dispatcher_http]
891
892#
893# From ceilometer
894#
895
896# The target where the http request will be sent. If this is not set, no data
897# will be posted. For example: target = http://hostname:1234/path (string
898# value)
899#target =
900
901# The target for event data where the http request will be sent to. If this is
902# not set, it will default to same as Sample target. (string value)
903#event_target = <None>
904
905# The max time in seconds to wait for a request to timeout. (integer value)
906#timeout = 5
907
908# The path to a server certificate or directory if the system CAs are not used
909# or if a self-signed certificate is used. Set to False to ignore SSL cert
910# verification. (string value)
911#verify_ssl = <None>
912
913# Indicates whether samples are published in a batch. (boolean value)
914#batch_mode = false
915
916
917[event]
918
919#
920# From ceilometer
921#
922
923# Configuration file for event definitions. (string value)
924#definitions_cfg_file = event_definitions.yaml
925
926# Drop notifications if no event definition matches. (Otherwise, we convert
927# them with just the default traits) (boolean value)
928#drop_unmatched_notifications = false
929
930# Store the raw notification for select priority levels (info and/or error). By
931# default, raw details are not captured. (multi valued)
932#store_raw =
933
934
935[hardware]
936
937#
938# From ceilometer
939#
940
941# URL scheme to use for hardware nodes. (string value)
942#url_scheme = snmp://
943
944# SNMPd user name of all nodes running in the cloud. (string value)
945#readonly_user_name = ro_snmp_user
946
947# SNMPd v3 authentication password of all the nodes running in the cloud.
948# (string value)
949#readonly_user_password = password
950
951# SNMPd v3 authentication algorithm of all the nodes running in the cloud
952# (string value)
953# Allowed values: md5, sha
954#readonly_user_auth_proto = <None>
955
956# SNMPd v3 encryption algorithm of all the nodes running in the cloud (string
957# value)
958# Allowed values: des, aes128, 3des, aes192, aes256
959#readonly_user_priv_proto = <None>
960
961# SNMPd v3 encryption password of all the nodes running in the cloud. (string
962# value)
963#readonly_user_priv_password = <None>
964
965# Name of the control plane Tripleo network (string value)
966#tripleo_network_name = ctlplane
967
968# Configuration file for defining hardware snmp meters. (string value)
969#meter_definitions_file = snmp.yaml
970
971
972[ipmi]
973
974#
975# From ceilometer
976#
977
978# Number of retries upon Intel Node Manager initialization failure (integer
979# value)
980#node_manager_init_retry = 3
981
982# Tolerance of IPMI/NM polling failures before disable this pollster. Negative
983# indicates retrying forever. (integer value)
984#polling_retry = 3
985
986
987[keystone_authtoken]
988
989#
990# From keystonemiddleware.auth_token
991#auth_type = password
992
993auth_type = password
994user_domain_id = {{ server.identity.get('domain', 'default') }}
995project_domain_id = {{ server.identity.get('domain', 'default') }}
996project_name = {{ server.identity.tenant }}
997username = {{ server.identity.user }}
998password = {{ server.identity.password }}
999auth_uri = http://{{ server.identity.host }}:5000
1000auth_url = http://{{ server.identity.host }}:35357
1001interface = internal
1002
1003{%- if server.cache is defined %}
1004memcached_servers = {%- for member in server.cache.members %}{{ member.host }}:{{ member.get('port', '11211') }}{% if not loop.last %},{% endif %}{%- endfor %}
1005{%- else %}
1006token_cache_time = -1
1007{%- endif %}
1008
1009# Complete "public" Identity API endpoint. This endpoint should not be an
1010# "admin" endpoint, as it should be accessible by all end users.
1011# Unauthenticated clients are redirected to this endpoint to authenticate.
1012# Although this endpoint should ideally be unversioned, client support in the
1013# wild varies. If you're using a versioned v2 endpoint here, then this should
1014# *not* be the same endpoint the service user utilizes for validating tokens,
1015# because normal end users may not be able to reach that endpoint. (string
1016# value)
1017#auth_uri = <None>
1018
1019# API version of the admin Identity API endpoint. (string value)
1020#auth_version = <None>
1021
1022# Do not handle authorization requests within the middleware, but delegate the
1023# authorization decision to downstream WSGI components. (boolean value)
1024#delay_auth_decision = false
1025
1026# Request timeout value for communicating with Identity API server. (integer
1027# value)
1028#http_connect_timeout = <None>
1029
1030# How many times are we trying to reconnect when communicating with Identity
1031# API Server. (integer value)
1032#http_request_max_retries = 3
1033
1034# Request environment key where the Swift cache object is stored. When
1035# auth_token middleware is deployed with a Swift cache, use this option to have
1036# the middleware share a caching backend with swift. Otherwise, use the
1037# ``memcached_servers`` option instead. (string value)
1038#cache = <None>
1039
1040# Required if identity server requires client certificate (string value)
1041#certfile = <None>
1042
1043# Required if identity server requires client certificate (string value)
1044#keyfile = <None>
1045
1046# A PEM encoded Certificate Authority to use when verifying HTTPs connections.
1047# Defaults to system CAs. (string value)
1048#cafile = <None>
1049
1050# Verify HTTPS connections. (boolean value)
1051#insecure = false
1052
1053# The region in which the identity server can be found. (string value)
1054#region_name = <None>
1055
1056# DEPRECATED: Directory used to cache files related to PKI tokens. This option
1057# has been deprecated in the Ocata release and will be removed in the P
1058# release. (string value)
1059# This option is deprecated for removal since Ocata.
1060# Its value may be silently ignored in the future.
1061# Reason: PKI token format is no longer supported.
1062#signing_dir = <None>
1063
1064# Optionally specify a list of memcached server(s) to use for caching. If left
1065# undefined, tokens will instead be cached in-process. (list value)
1066# Deprecated group/name - [keystone_authtoken]/memcache_servers
1067#memcached_servers = <None>
1068
1069# In order to prevent excessive effort spent validating tokens, the middleware
1070# caches previously-seen tokens for a configurable duration (in seconds). Set
1071# to -1 to disable caching completely. (integer value)
1072#token_cache_time = 300
1073
1074# DEPRECATED: Determines the frequency at which the list of revoked tokens is
1075# retrieved from the Identity service (in seconds). A high number of revocation
1076# events combined with a low cache duration may significantly reduce
1077# performance. Only valid for PKI tokens. This option has been deprecated in
1078# the Ocata release and will be removed in the P release. (integer value)
1079# This option is deprecated for removal since Ocata.
1080# Its value may be silently ignored in the future.
1081# Reason: PKI token format is no longer supported.
1082#revocation_cache_time = 10
1083
1084# (Optional) If defined, indicate whether token data should be authenticated or
1085# authenticated and encrypted. If MAC, token data is authenticated (with HMAC)
1086# in the cache. If ENCRYPT, token data is encrypted and authenticated in the
1087# cache. If the value is not one of these options or empty, auth_token will
1088# raise an exception on initialization. (string value)
1089# Allowed values: None, MAC, ENCRYPT
1090#memcache_security_strategy = None
1091
1092# (Optional, mandatory if memcache_security_strategy is defined) This string is
1093# used for key derivation. (string value)
1094#memcache_secret_key = <None>
1095
1096# (Optional) Number of seconds memcached server is considered dead before it is
1097# tried again. (integer value)
1098#memcache_pool_dead_retry = 300
1099
1100# (Optional) Maximum total number of open connections to every memcached
1101# server. (integer value)
1102#memcache_pool_maxsize = 10
1103
1104# (Optional) Socket timeout in seconds for communicating with a memcached
1105# server. (integer value)
1106#memcache_pool_socket_timeout = 3
1107
1108# (Optional) Number of seconds a connection to memcached is held unused in the
1109# pool before it is closed. (integer value)
1110#memcache_pool_unused_timeout = 60
1111
1112# (Optional) Number of seconds that an operation will wait to get a memcached
1113# client connection from the pool. (integer value)
1114#memcache_pool_conn_get_timeout = 10
1115
1116# (Optional) Use the advanced (eventlet safe) memcached client pool. The
1117# advanced pool will only work under python 2.x. (boolean value)
1118#memcache_use_advanced_pool = false
1119
1120# (Optional) Indicate whether to set the X-Service-Catalog header. If False,
1121# middleware will not ask for service catalog on token validation and will not
1122# set the X-Service-Catalog header. (boolean value)
1123#include_service_catalog = true
1124
1125# Used to control the use and type of token binding. Can be set to: "disabled"
1126# to not check token binding. "permissive" (default) to validate binding
1127# information if the bind type is of a form known to the server and ignore it
1128# if not. "strict" like "permissive" but if the bind type is unknown the token
1129# will be rejected. "required" any form of token binding is needed to be
1130# allowed. Finally the name of a binding method that must be present in tokens.
1131# (string value)
1132#enforce_token_bind = permissive
1133
1134# DEPRECATED: If true, the revocation list will be checked for cached tokens.
1135# This requires that PKI tokens are configured on the identity server. (boolean
1136# value)
1137# This option is deprecated for removal since Ocata.
1138# Its value may be silently ignored in the future.
1139# Reason: PKI token format is no longer supported.
1140#check_revocations_for_cached = false
1141
1142# DEPRECATED: Hash algorithms to use for hashing PKI tokens. This may be a
1143# single algorithm or multiple. The algorithms are those supported by Python
1144# standard hashlib.new(). The hashes will be tried in the order given, so put
1145# the preferred one first for performance. The result of the first hash will be
1146# stored in the cache. This will typically be set to multiple values only while
1147# migrating from a less secure algorithm to a more secure one. Once all the old
1148# tokens are expired this option should be set to a single value for better
1149# performance. (list value)
1150# This option is deprecated for removal since Ocata.
1151# Its value may be silently ignored in the future.
1152# Reason: PKI token format is no longer supported.
1153#hash_algorithms = md5
1154
1155# A choice of roles that must be present in a service token. Service tokens are
1156# allowed to request that an expired token can be used and so this check should
1157# tightly control that only actual services should be sending this token. Roles
1158# here are applied as an ANY check so any role in this list must be present.
1159# For backwards compatibility reasons this currently only affects the
1160# allow_expired check. (list value)
1161#service_token_roles = service
1162
1163# For backwards compatibility reasons we must let valid service tokens pass
1164# that don't pass the service_token_roles check as valid. Setting this true
1165# will become the default in a future release and should be enabled if
1166# possible. (boolean value)
1167#service_token_roles_required = false
1168
1169# Authentication type to load (string value)
1170# Deprecated group/name - [keystone_authtoken]/auth_plugin
1171#auth_type = <None>
1172
1173# Config Section from which to load plugin specific options (string value)
1174#auth_section = <None>
1175
1176
1177[matchmaker_redis]
1178
1179#
1180# From oslo.messaging
1181#
1182
1183# DEPRECATED: Host to locate redis. (string value)
1184# This option is deprecated for removal.
1185# Its value may be silently ignored in the future.
1186# Reason: Replaced by [DEFAULT]/transport_url
1187#host = 127.0.0.1
1188
1189# DEPRECATED: Use this port to connect to redis host. (port value)
1190# Minimum value: 0
1191# Maximum value: 65535
1192# This option is deprecated for removal.
1193# Its value may be silently ignored in the future.
1194# Reason: Replaced by [DEFAULT]/transport_url
1195#port = 6379
1196
1197# DEPRECATED: Password for Redis server (optional). (string value)
1198# This option is deprecated for removal.
1199# Its value may be silently ignored in the future.
1200# Reason: Replaced by [DEFAULT]/transport_url
1201#password =
1202
1203# DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g.,
1204# [host:port, host1:port ... ] (list value)
1205# This option is deprecated for removal.
1206# Its value may be silently ignored in the future.
1207# Reason: Replaced by [DEFAULT]/transport_url
1208#sentinel_hosts =
1209
1210# Redis replica set name. (string value)
1211#sentinel_group_name = oslo-messaging-zeromq
1212
1213# Time in ms to wait between connection attempts. (integer value)
1214#wait_timeout = 2000
1215
1216# Time in ms to wait before the transaction is killed. (integer value)
1217#check_timeout = 20000
1218
1219# Timeout in ms on blocking socket operations. (integer value)
1220#socket_timeout = 10000
1221
1222
1223[meter]
1224
1225#
1226# From ceilometer
1227#
1228
1229# Configuration file for defining meter notifications. (string value)
1230#meter_definitions_cfg_file = meters.yaml
1231
1232
1233[notification]
1234
1235#
1236# From ceilometer
1237#
1238
1239# Number of queues to parallelize workload across. This value should be larger
1240# than the number of active notification agents for optimal results. WARNING:
1241# Once set, lowering this value may result in lost data. (integer value)
1242# Minimum value: 1
1243#pipeline_processing_queues = 10
1244
1245# Acknowledge message when event persistence fails. (boolean value)
1246# Deprecated group/name - [collector]/ack_on_event_error
1247#ack_on_event_error = true
1248
1249# Enable workload partitioning, allowing multiple notification agents to be run
1250# simultaneously. (boolean value)
1251#workload_partitioning = false
1252
1253# Messaging URLs to listen for notifications. Example:
1254# rabbit://user:pass@host1:port1[,user:pass@hostN:portN]/virtual_host
1255# (DEFAULT/transport_url is used if empty). This is useful when you have
1256# dedicate messaging nodes for each service, for example, all nova
1257# notifications go to rabbit-nova:5672, while all cinder notifications go to
1258# rabbit-cinder:5672. (multi valued)
1259#messaging_urls =
1260
1261# Number of notification messages to wait before publishing them. Batching is
1262# advised when transformations are applied in pipeline. (integer value)
1263# Minimum value: 1
1264#batch_size = 100
1265
1266# Number of seconds to wait before publishing samples when batch_size is not
1267# reached (None means indefinitely) (integer value)
1268#batch_timeout = 5
1269
1270# Number of workers for notification service, default value is 1. (integer
1271# value)
1272# Minimum value: 1
1273# Deprecated group/name - [DEFAULT]/notification_workers
1274#workers = 1
1275
1276
1277[oslo_concurrency]
1278
1279#
1280# From oslo.concurrency
1281#
1282
1283# Enables or disables inter-process locks. (boolean value)
1284# Deprecated group/name - [DEFAULT]/disable_process_locking
1285#disable_process_locking = false
1286
1287# Directory to use for lock files. For security, the specified directory
1288# should only be writable by the user running the processes that need locking.
1289# Defaults to environment variable OSLO_LOCK_PATH. If external locks are used,
1290# a lock path must be set. (string value)
1291# Deprecated group/name - [DEFAULT]/lock_path
1292#lock_path = <None>
1293
1294
1295[oslo_messaging_amqp]
1296
1297#
1298# From oslo.messaging
1299#
1300
1301# Name for the AMQP container. must be globally unique. Defaults to a generated
1302# UUID (string value)
1303# Deprecated group/name - [amqp1]/container_name
1304#container_name = <None>
1305
1306# Timeout for inactive connections (in seconds) (integer value)
1307# Deprecated group/name - [amqp1]/idle_timeout
1308#idle_timeout = 0
1309
1310# Debug: dump AMQP frames to stdout (boolean value)
1311# Deprecated group/name - [amqp1]/trace
1312#trace = false
1313
1314# CA certificate PEM file used to verify the server's certificate (string
1315# value)
1316# Deprecated group/name - [amqp1]/ssl_ca_file
1317#ssl_ca_file =
1318
1319# Self-identifying certificate PEM file for client authentication (string
1320# value)
1321# Deprecated group/name - [amqp1]/ssl_cert_file
1322#ssl_cert_file =
1323
1324# Private key PEM file used to sign ssl_cert_file certificate (optional)
1325# (string value)
1326# Deprecated group/name - [amqp1]/ssl_key_file
1327#ssl_key_file =
1328
1329# Password for decrypting ssl_key_file (if encrypted) (string value)
1330# Deprecated group/name - [amqp1]/ssl_key_password
1331#ssl_key_password = <None>
1332
1333# DEPRECATED: Accept clients using either SSL or plain TCP (boolean value)
1334# Deprecated group/name - [amqp1]/allow_insecure_clients
1335# This option is deprecated for removal.
1336# Its value may be silently ignored in the future.
1337# Reason: Not applicable - not a SSL server
1338#allow_insecure_clients = false
1339
1340# Space separated list of acceptable SASL mechanisms (string value)
1341# Deprecated group/name - [amqp1]/sasl_mechanisms
1342#sasl_mechanisms =
1343
1344# Path to directory that contains the SASL configuration (string value)
1345# Deprecated group/name - [amqp1]/sasl_config_dir
1346#sasl_config_dir =
1347
1348# Name of configuration file (without .conf suffix) (string value)
1349# Deprecated group/name - [amqp1]/sasl_config_name
1350#sasl_config_name =
1351
1352# User name for message broker authentication (string value)
1353# Deprecated group/name - [amqp1]/username
1354#username =
1355
1356# Password for message broker authentication (string value)
1357# Deprecated group/name - [amqp1]/password
1358#password =
1359
1360# Seconds to pause before attempting to re-connect. (integer value)
1361# Minimum value: 1
1362#connection_retry_interval = 1
1363
1364# Increase the connection_retry_interval by this many seconds after each
1365# unsuccessful failover attempt. (integer value)
1366# Minimum value: 0
1367#connection_retry_backoff = 2
1368
1369# Maximum limit for connection_retry_interval + connection_retry_backoff
1370# (integer value)
1371# Minimum value: 1
1372#connection_retry_interval_max = 30
1373
1374# Time to pause between re-connecting an AMQP 1.0 link that failed due to a
1375# recoverable error. (integer value)
1376# Minimum value: 1
1377#link_retry_delay = 10
1378
1379# The maximum number of attempts to re-send a reply message which failed due to
1380# a recoverable error. (integer value)
1381# Minimum value: -1
1382#default_reply_retry = 0
1383
1384# The deadline for an rpc reply message delivery. (integer value)
1385# Minimum value: 5
1386#default_reply_timeout = 30
1387
1388# The deadline for an rpc cast or call message delivery. Only used when caller
1389# does not provide a timeout expiry. (integer value)
1390# Minimum value: 5
1391#default_send_timeout = 30
1392
1393# The deadline for a sent notification message delivery. Only used when caller
1394# does not provide a timeout expiry. (integer value)
1395# Minimum value: 5
1396#default_notify_timeout = 30
1397
1398# The duration to schedule a purge of idle sender links. Detach link after
1399# expiry. (integer value)
1400# Minimum value: 1
1401#default_sender_link_timeout = 600
1402
1403# Indicates the addressing mode used by the driver.
1404# Permitted values:
1405# 'legacy' - use legacy non-routable addressing
1406# 'routable' - use routable addresses
1407# 'dynamic' - use legacy addresses if the message bus does not support routing
1408# otherwise use routable addressing (string value)
1409#addressing_mode = dynamic
1410
1411# address prefix used when sending to a specific server (string value)
1412# Deprecated group/name - [amqp1]/server_request_prefix
1413#server_request_prefix = exclusive
1414
1415# address prefix used when broadcasting to all servers (string value)
1416# Deprecated group/name - [amqp1]/broadcast_prefix
1417#broadcast_prefix = broadcast
1418
1419# address prefix when sending to any server in group (string value)
1420# Deprecated group/name - [amqp1]/group_request_prefix
1421#group_request_prefix = unicast
1422
1423# Address prefix for all generated RPC addresses (string value)
1424#rpc_address_prefix = openstack.org/om/rpc
1425
1426# Address prefix for all generated Notification addresses (string value)
1427#notify_address_prefix = openstack.org/om/notify
1428
1429# Appended to the address prefix when sending a fanout message. Used by the
1430# message bus to identify fanout messages. (string value)
1431#multicast_address = multicast
1432
1433# Appended to the address prefix when sending to a particular RPC/Notification
1434# server. Used by the message bus to identify messages sent to a single
1435# destination. (string value)
1436#unicast_address = unicast
1437
1438# Appended to the address prefix when sending to a group of consumers. Used by
1439# the message bus to identify messages that should be delivered in a round-
1440# robin fashion across consumers. (string value)
1441#anycast_address = anycast
1442
1443# Exchange name used in notification addresses.
1444# Exchange name resolution precedence:
1445# Target.exchange if set
1446# else default_notification_exchange if set
1447# else control_exchange if set
1448# else 'notify' (string value)
1449#default_notification_exchange = <None>
1450
1451# Exchange name used in RPC addresses.
1452# Exchange name resolution precedence:
1453# Target.exchange if set
1454# else default_rpc_exchange if set
1455# else control_exchange if set
1456# else 'rpc' (string value)
1457#default_rpc_exchange = <None>
1458
1459# Window size for incoming RPC Reply messages. (integer value)
1460# Minimum value: 1
1461#reply_link_credit = 200
1462
1463# Window size for incoming RPC Request messages (integer value)
1464# Minimum value: 1
1465#rpc_server_credit = 100
1466
1467# Window size for incoming Notification messages (integer value)
1468# Minimum value: 1
1469#notify_server_credit = 100
1470
1471# Send messages of this type pre-settled.
1472# Pre-settled messages will not receive acknowledgement
1473# from the peer. Note well: pre-settled messages may be
1474# silently discarded if the delivery fails.
1475# Permitted values:
1476# 'rpc-call' - send RPC Calls pre-settled
1477# 'rpc-reply'- send RPC Replies pre-settled
1478# 'rpc-cast' - Send RPC Casts pre-settled
1479# 'notify' - Send Notifications pre-settled
1480# (multi valued)
1481#pre_settled = rpc-cast
1482#pre_settled = rpc-reply
1483
1484
1485[oslo_messaging_kafka]
1486
1487#
1488# From oslo.messaging
1489#
1490
1491# DEPRECATED: Default Kafka broker Host (string value)
1492# This option is deprecated for removal.
1493# Its value may be silently ignored in the future.
1494# Reason: Replaced by [DEFAULT]/transport_url
1495#kafka_default_host = localhost
1496
1497# DEPRECATED: Default Kafka broker Port (port value)
1498# Minimum value: 0
1499# Maximum value: 65535
1500# This option is deprecated for removal.
1501# Its value may be silently ignored in the future.
1502# Reason: Replaced by [DEFAULT]/transport_url
1503#kafka_default_port = 9092
1504
1505# Max fetch bytes of Kafka consumer (integer value)
1506#kafka_max_fetch_bytes = 1048576
1507
1508# Default timeout(s) for Kafka consumers (integer value)
1509#kafka_consumer_timeout = 1.0
1510
1511# Pool Size for Kafka Consumers (integer value)
1512#pool_size = 10
1513
1514# The pool size limit for connections expiration policy (integer value)
1515#conn_pool_min_size = 2
1516
1517# The time-to-live in sec of idle connections in the pool (integer value)
1518#conn_pool_ttl = 1200
1519
1520# Group id for Kafka consumer. Consumers in one group will coordinate message
1521# consumption (string value)
1522#consumer_group = oslo_messaging_consumer
1523
1524# Upper bound on the delay for KafkaProducer batching in seconds (floating
1525# point value)
1526#producer_batch_timeout = 0.0
1527
1528# Size of batch for the producer async send (integer value)
1529#producer_batch_size = 16384
1530
1531
1532[oslo_messaging_notifications]
1533
1534#
1535# From oslo.messaging
1536#
1537
1538# The Drivers(s) to handle sending notifications. Possible values are
1539# messaging, messagingv2, routing, log, test, noop (multi valued)
1540# Deprecated group/name - [DEFAULT]/notification_driver
1541#driver =
1542
1543# A URL representing the messaging driver to use for notifications. If not set,
1544# we fall back to the same configuration used for RPC. (string value)
1545# Deprecated group/name - [DEFAULT]/notification_transport_url
1546#transport_url = <None>
1547
1548# AMQP topic used for OpenStack notifications. (list value)
1549# Deprecated group/name - [rpc_notifier2]/topics
1550# Deprecated group/name - [DEFAULT]/notification_topics
1551#topics = notifications
1552topics = notifications
1553
1554
1555[oslo_messaging_rabbit]
1556
1557#
1558# From oslo.messaging
1559#
1560
1561# Use durable queues in AMQP. (boolean value)
1562# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1563# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1564#amqp_durable_queues = false
1565
1566# Auto-delete queues in AMQP. (boolean value)
1567# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1568#amqp_auto_delete = false
1569
1570# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
1571# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
1572# distributions. (string value)
1573# Deprecated group/name - [DEFAULT]/kombu_ssl_version
1574#kombu_ssl_version =
1575
1576# SSL key file (valid only if SSL enabled). (string value)
1577# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
1578#kombu_ssl_keyfile =
1579
1580# SSL cert file (valid only if SSL enabled). (string value)
1581# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
1582#kombu_ssl_certfile =
1583
1584# SSL certification authority file (valid only if SSL enabled). (string value)
1585# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
1586#kombu_ssl_ca_certs =
1587
1588# How long to wait before reconnecting in response to an AMQP consumer cancel
1589# notification. (floating point value)
1590# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
1591#kombu_reconnect_delay = 1.0
1592
1593# EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not
1594# be used. This option may not be available in future versions. (string value)
1595#kombu_compression = <None>
1596
1597# How long to wait a missing client before abandoning to send it its replies.
1598# This value should not be longer than rpc_response_timeout. (integer value)
1599# Deprecated group/name - [oslo_messaging_rabbit]/kombu_reconnect_timeout
1600#kombu_missing_consumer_retry_timeout = 60
1601
1602# Determines how the next RabbitMQ node is chosen in case the one we are
1603# currently connected to becomes unavailable. Takes effect only if more than
1604# one RabbitMQ node is provided in config. (string value)
1605# Allowed values: round-robin, shuffle
1606#kombu_failover_strategy = round-robin
1607
1608# DEPRECATED: The RabbitMQ broker address where a single node is used. (string
1609# value)
1610# Deprecated group/name - [DEFAULT]/rabbit_host
1611# This option is deprecated for removal.
1612# Its value may be silently ignored in the future.
1613# Reason: Replaced by [DEFAULT]/transport_url
1614#rabbit_host = localhost
1615
1616# DEPRECATED: The RabbitMQ broker port where a single node is used. (port
1617# value)
1618# Minimum value: 0
1619# Maximum value: 65535
1620# Deprecated group/name - [DEFAULT]/rabbit_port
1621# This option is deprecated for removal.
1622# Its value may be silently ignored in the future.
1623# Reason: Replaced by [DEFAULT]/transport_url
1624#rabbit_port = 5672
1625
1626# DEPRECATED: RabbitMQ HA cluster host:port pairs. (list value)
1627# Deprecated group/name - [DEFAULT]/rabbit_hosts
1628# This option is deprecated for removal.
1629# Its value may be silently ignored in the future.
1630# Reason: Replaced by [DEFAULT]/transport_url
1631#rabbit_hosts = $rabbit_host:$rabbit_port
1632
1633# Connect over SSL for RabbitMQ. (boolean value)
1634# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
1635#rabbit_use_ssl = false
1636
1637# DEPRECATED: The RabbitMQ userid. (string value)
1638# Deprecated group/name - [DEFAULT]/rabbit_userid
1639# This option is deprecated for removal.
1640# Its value may be silently ignored in the future.
1641# Reason: Replaced by [DEFAULT]/transport_url
1642#rabbit_userid = guest
1643
1644# DEPRECATED: The RabbitMQ password. (string value)
1645# Deprecated group/name - [DEFAULT]/rabbit_password
1646# This option is deprecated for removal.
1647# Its value may be silently ignored in the future.
1648# Reason: Replaced by [DEFAULT]/transport_url
1649#rabbit_password = guest
1650
1651# The RabbitMQ login method. (string value)
1652# Allowed values: PLAIN, AMQPLAIN, RABBIT-CR-DEMO
1653# Deprecated group/name - [DEFAULT]/rabbit_login_method
1654#rabbit_login_method = AMQPLAIN
1655
1656# DEPRECATED: The RabbitMQ virtual host. (string value)
1657# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
1658# This option is deprecated for removal.
1659# Its value may be silently ignored in the future.
1660# Reason: Replaced by [DEFAULT]/transport_url
1661#rabbit_virtual_host = /
1662
1663# How frequently to retry connecting with RabbitMQ. (integer value)
1664#rabbit_retry_interval = 1
1665
1666# How long to backoff for between retries when connecting to RabbitMQ. (integer
1667# value)
1668# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
1669#rabbit_retry_backoff = 2
1670
1671# Maximum interval of RabbitMQ connection retries. Default is 30 seconds.
1672# (integer value)
1673#rabbit_interval_max = 30
1674
1675# DEPRECATED: Maximum number of RabbitMQ connection retries. Default is 0
1676# (infinite retry count). (integer value)
1677# Deprecated group/name - [DEFAULT]/rabbit_max_retries
1678# This option is deprecated for removal.
1679# Its value may be silently ignored in the future.
1680#rabbit_max_retries = 0
1681
1682# Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this
1683# option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring
1684# is no longer controlled by the x-ha-policy argument when declaring a queue.
1685# If you just want to make sure that all queues (except those with auto-
1686# generated names) are mirrored across all nodes, run: "rabbitmqctl set_policy
1687# HA '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value)
1688# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
1689#rabbit_ha_queues = false
1690
1691# Positive integer representing duration in seconds for queue TTL (x-expires).
1692# Queues which are unused for the duration of the TTL are automatically
1693# deleted. The parameter affects only reply and fanout queues. (integer value)
1694# Minimum value: 1
1695#rabbit_transient_queues_ttl = 1800
1696
1697# Specifies the number of messages to prefetch. Setting to zero allows
1698# unlimited messages. (integer value)
1699#rabbit_qos_prefetch_count = 64
1700
1701# Number of seconds after which the Rabbit broker is considered down if
1702# heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
1703# value)
1704#heartbeat_timeout_threshold = 60
1705
1706# How often times during the heartbeat_timeout_threshold we check the
1707# heartbeat. (integer value)
1708#heartbeat_rate = 2
1709
1710# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
1711# Deprecated group/name - [DEFAULT]/fake_rabbit
1712#fake_rabbit = false
1713
1714# Maximum number of channels to allow (integer value)
1715#channel_max = <None>
1716
1717# The maximum byte size for an AMQP frame (integer value)
1718#frame_max = <None>
1719
1720# How often to send heartbeats for consumer's connections (integer value)
1721#heartbeat_interval = 3
1722
1723# Enable SSL (boolean value)
1724#ssl = <None>
1725
1726# Arguments passed to ssl.wrap_socket (dict value)
1727#ssl_options = <None>
1728
1729# Set socket timeout in seconds for connection's socket (floating point value)
1730#socket_timeout = 0.25
1731
1732# Set TCP_USER_TIMEOUT in seconds for connection's socket (floating point
1733# value)
1734#tcp_user_timeout = 0.25
1735
1736# Set delay for reconnection to some host which has connection error (floating
1737# point value)
1738#host_connection_reconnect_delay = 0.25
1739
1740# Connection factory implementation (string value)
1741# Allowed values: new, single, read_write
1742#connection_factory = single
1743
1744# Maximum number of connections to keep queued. (integer value)
1745#pool_max_size = 30
1746
1747# Maximum number of connections to create above `pool_max_size`. (integer
1748# value)
1749#pool_max_overflow = 0
1750
1751# Default number of seconds to wait for a connections to available (integer
1752# value)
1753#pool_timeout = 30
1754
1755# Lifetime of a connection (since creation) in seconds or None for no
1756# recycling. Expired connections are closed on acquire. (integer value)
1757#pool_recycle = 600
1758
1759# Threshold at which inactive (since release) connections are considered stale
1760# in seconds or None for no staleness. Stale connections are closed on acquire.
1761# (integer value)
1762#pool_stale = 60
1763
1764# Default serialization mechanism for serializing/deserializing
1765# outgoing/incoming messages (string value)
1766# Allowed values: json, msgpack
1767#default_serializer_type = json
1768
1769# Persist notification messages. (boolean value)
1770#notification_persistence = false
1771
1772# Exchange name for sending notifications (string value)
1773#default_notification_exchange = ${control_exchange}_notification
1774
1775# Max number of not acknowledged message which RabbitMQ can send to
1776# notification listener. (integer value)
1777#notification_listener_prefetch_count = 100
1778
1779# Reconnecting retry count in case of connectivity problem during sending
1780# notification, -1 means infinite retry. (integer value)
1781#default_notification_retry_attempts = -1
1782
1783# Reconnecting retry delay in case of connectivity problem during sending
1784# notification message (floating point value)
1785#notification_retry_delay = 0.25
1786
1787# Time to live for rpc queues without consumers in seconds. (integer value)
1788#rpc_queue_expiration = 60
1789
1790# Exchange name for sending RPC messages (string value)
1791#default_rpc_exchange = ${control_exchange}_rpc
1792
1793# Exchange name for receiving RPC replies (string value)
1794#rpc_reply_exchange = ${control_exchange}_rpc_reply
1795
1796# Max number of not acknowledged message which RabbitMQ can send to rpc
1797# listener. (integer value)
1798#rpc_listener_prefetch_count = 100
1799
1800# Max number of not acknowledged message which RabbitMQ can send to rpc reply
1801# listener. (integer value)
1802#rpc_reply_listener_prefetch_count = 100
1803
1804# Reconnecting retry count in case of connectivity problem during sending
1805# reply. -1 means infinite retry during rpc_timeout (integer value)
1806#rpc_reply_retry_attempts = -1
1807
1808# Reconnecting retry delay in case of connectivity problem during sending
1809# reply. (floating point value)
1810#rpc_reply_retry_delay = 0.25
1811
1812# Reconnecting retry count in case of connectivity problem during sending RPC
1813# message, -1 means infinite retry. If actual retry attempts in not 0 the rpc
1814# request could be processed more than one time (integer value)
1815#default_rpc_retry_attempts = -1
1816
1817# Reconnecting retry delay in case of connectivity problem during sending RPC
1818# message (floating point value)
1819#rpc_retry_delay = 0.25
1820
1821
1822[oslo_messaging_zmq]
1823
1824#
1825# From oslo.messaging
1826#
1827
1828# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
1829# The "host" option should point or resolve to this address. (string value)
1830# Deprecated group/name - [DEFAULT]/rpc_zmq_bind_address
1831#rpc_zmq_bind_address = *
1832
1833# MatchMaker driver. (string value)
1834# Allowed values: redis, sentinel, dummy
1835# Deprecated group/name - [DEFAULT]/rpc_zmq_matchmaker
1836#rpc_zmq_matchmaker = redis
1837
1838# Number of ZeroMQ contexts, defaults to 1. (integer value)
1839# Deprecated group/name - [DEFAULT]/rpc_zmq_contexts
1840#rpc_zmq_contexts = 1
1841
1842# Maximum number of ingress messages to locally buffer per topic. Default is
1843# unlimited. (integer value)
1844# Deprecated group/name - [DEFAULT]/rpc_zmq_topic_backlog
1845#rpc_zmq_topic_backlog = <None>
1846
1847# Directory for holding IPC sockets. (string value)
1848# Deprecated group/name - [DEFAULT]/rpc_zmq_ipc_dir
1849#rpc_zmq_ipc_dir = /var/run/openstack
1850
1851# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
1852# "host" option, if running Nova. (string value)
1853# Deprecated group/name - [DEFAULT]/rpc_zmq_host
1854#rpc_zmq_host = localhost
1855
1856# Number of seconds to wait before all pending messages will be sent after
1857# closing a socket. The default value of -1 specifies an infinite linger
1858# period. The value of 0 specifies no linger period. Pending messages shall be
1859# discarded immediately when the socket is closed. Positive values specify an
1860# upper bound for the linger period. (integer value)
1861# Deprecated group/name - [DEFAULT]/rpc_cast_timeout
1862#zmq_linger = -1
1863
1864# The default number of seconds that poll should wait. Poll raises timeout
1865# exception when timeout expired. (integer value)
1866# Deprecated group/name - [DEFAULT]/rpc_poll_timeout
1867#rpc_poll_timeout = 1
1868
1869# Expiration timeout in seconds of a name service record about existing target
1870# ( < 0 means no timeout). (integer value)
1871# Deprecated group/name - [DEFAULT]/zmq_target_expire
1872#zmq_target_expire = 300
1873
1874# Update period in seconds of a name service record about existing target.
1875# (integer value)
1876# Deprecated group/name - [DEFAULT]/zmq_target_update
1877#zmq_target_update = 180
1878
1879# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
1880# value)
1881# Deprecated group/name - [DEFAULT]/use_pub_sub
1882#use_pub_sub = false
1883
1884# Use ROUTER remote proxy. (boolean value)
1885# Deprecated group/name - [DEFAULT]/use_router_proxy
1886#use_router_proxy = false
1887
1888# This option makes direct connections dynamic or static. It makes sense only
1889# with use_router_proxy=False which means to use direct connections for direct
1890# message types (ignored otherwise). (boolean value)
1891#use_dynamic_connections = false
1892
1893# How many additional connections to a host will be made for failover reasons.
1894# This option is actual only in dynamic connections mode. (integer value)
1895#zmq_failover_connections = 2
1896
1897# Minimal port number for random ports range. (port value)
1898# Minimum value: 0
1899# Maximum value: 65535
1900# Deprecated group/name - [DEFAULT]/rpc_zmq_min_port
1901#rpc_zmq_min_port = 49153
1902
1903# Maximal port number for random ports range. (integer value)
1904# Minimum value: 1
1905# Maximum value: 65536
1906# Deprecated group/name - [DEFAULT]/rpc_zmq_max_port
1907#rpc_zmq_max_port = 65536
1908
1909# Number of retries to find free port number before fail with ZMQBindError.
1910# (integer value)
1911# Deprecated group/name - [DEFAULT]/rpc_zmq_bind_port_retries
1912#rpc_zmq_bind_port_retries = 100
1913
1914# Default serialization mechanism for serializing/deserializing
1915# outgoing/incoming messages (string value)
1916# Allowed values: json, msgpack
1917# Deprecated group/name - [DEFAULT]/rpc_zmq_serialization
1918#rpc_zmq_serialization = json
1919
1920# This option configures round-robin mode in zmq socket. True means not keeping
1921# a queue when server side disconnects. False means to keep queue and messages
1922# even if server is disconnected, when the server appears we send all
1923# accumulated messages to it. (boolean value)
1924#zmq_immediate = true
1925
1926# Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
1927# other negative value) means to skip any overrides and leave it to OS default;
1928# 0 and 1 (or any other positive value) mean to disable and enable the option
1929# respectively. (integer value)
1930#zmq_tcp_keepalive = -1
1931
1932# The duration between two keepalive transmissions in idle condition. The unit
1933# is platform dependent, for example, seconds in Linux, milliseconds in Windows
1934# etc. The default value of -1 (or any other negative value and 0) means to
1935# skip any overrides and leave it to OS default. (integer value)
1936#zmq_tcp_keepalive_idle = -1
1937
1938# The number of retransmissions to be carried out before declaring that remote
1939# end is not available. The default value of -1 (or any other negative value
1940# and 0) means to skip any overrides and leave it to OS default. (integer
1941# value)
1942#zmq_tcp_keepalive_cnt = -1
1943
1944# The duration between two successive keepalive retransmissions, if
1945# acknowledgement to the previous keepalive transmission is not received. The
1946# unit is platform dependent, for example, seconds in Linux, milliseconds in
1947# Windows etc. The default value of -1 (or any other negative value and 0)
1948# means to skip any overrides and leave it to OS default. (integer value)
1949#zmq_tcp_keepalive_intvl = -1
1950
1951# Maximum number of (green) threads to work concurrently. (integer value)
1952#rpc_thread_pool_size = 100
1953
1954# Expiration timeout in seconds of a sent/received message after which it is
1955# not tracked anymore by a client/server. (integer value)
1956#rpc_message_ttl = 300
1957
1958# Wait for message acknowledgements from receivers. This mechanism works only
1959# via proxy without PUB/SUB. (boolean value)
1960#rpc_use_acks = false
1961
1962# Number of seconds to wait for an ack from a cast/call. After each retry
1963# attempt this timeout is multiplied by some specified multiplier. (integer
1964# value)
1965#rpc_ack_timeout_base = 15
1966
1967# Number to multiply base ack timeout by after each retry attempt. (integer
1968# value)
1969#rpc_ack_timeout_multiplier = 2
1970
1971# Default number of message sending attempts in case of any problems occurred:
1972# positive value N means at most N retries, 0 means no retries, None or -1 (or
1973# any other negative values) mean to retry forever. This option is used only if
1974# acknowledgments are enabled. (integer value)
1975#rpc_retry_attempts = 3
1976
1977# List of publisher hosts SubConsumer can subscribe on. This option has higher
1978# priority then the default publishers list taken from the matchmaker. (list
1979# value)
1980#subscribe_on =
1981
1982
1983[oslo_middleware]
1984
1985#
1986# From oslo.middleware.http_proxy_to_wsgi
1987#
1988
1989# Whether the application is behind a proxy or not. This determines if the
1990# middleware should parse the headers or not. (boolean value)
1991#enable_proxy_headers_parsing = false
1992
1993
1994[oslo_policy]
1995
1996#
1997# From oslo.policy
1998#
1999
2000# The file that defines policies. (string value)
2001# Deprecated group/name - [DEFAULT]/policy_file
2002#policy_file = policy.json
2003
2004# Default rule. Enforced when a requested rule is not found. (string value)
2005# Deprecated group/name - [DEFAULT]/policy_default_rule
2006#policy_default_rule = default
2007
2008# Directories where policy configuration files are stored. They can be relative
2009# to any directory in the search path defined by the config_dir option, or
2010# absolute paths. The file defined by policy_file must exist for these
2011# directories to be searched. Missing or empty directories are ignored. (multi
2012# valued)
2013# Deprecated group/name - [DEFAULT]/policy_dirs
2014#policy_dirs = policy.d
2015
2016
2017[polling]
2018
2019#
2020# From ceilometer
2021#
2022
2023# Configuration file for pipeline definition. (string value)
2024#cfg_file = polling.yaml
2025
2026# Work-load partitioning group prefix. Use only if you want to run multiple
2027# polling agents with different config files. For each sub-group of the agent
2028# pool with the same partitioning_group_prefix a disjoint subset of pollsters
2029# should be loaded. (string value)
2030# Deprecated group/name - [central]/partitioning_group_prefix
2031#partitioning_group_prefix = <None>
2032
2033
2034[publisher]
2035
2036#
2037# From ceilometer
2038#
2039
2040# Secret value for signing messages. Set value empty if signing is not required
2041# to avoid computational overhead. (string value)
2042# Deprecated group/name - [DEFAULT]/metering_secret
2043# Deprecated group/name - [publisher_rpc]/metering_secret
2044# Deprecated group/name - [publisher]/metering_secret
2045#telemetry_secret = change this for valid signing
2046
2047
2048[publisher_notifier]
2049
2050#
2051# From ceilometer
2052#
2053
2054# The topic that ceilometer uses for metering notifications. (string value)
2055#metering_topic = metering
2056
2057# The topic that ceilometer uses for event notifications. (string value)
2058#event_topic = event
2059
2060# The driver that ceilometer uses for metering notifications. (string value)
2061# Deprecated group/name - [publisher_notifier]/metering_driver
2062#telemetry_driver = messagingv2
2063
2064
2065[rgw_admin_credentials]
2066
2067#
2068# From ceilometer
2069#
2070
2071# Access key for Radosgw Admin. (string value)
2072#access_key = <None>
2073
2074# Secret key for Radosgw Admin. (string value)
2075#secret_key = <None>
2076
2077
2078[service_credentials]
2079
2080auth_type = password
2081user_domain_id = {{ server.identity.get('domain', 'default') }}
2082project_domain_id = {{ server.identity.get('domain', 'default') }}
2083project_name = {{ server.identity.tenant }}
2084username = {{ server.identity.user }}
2085password = {{ server.identity.password }}
2086auth_url = http://{{ server.identity.host }}:5000
2087token_cache_time = -1
2088interface = internal
2089region_name = {{ server.get('region', 'RegionOne') }}
2090
2091#
2092# From ceilometer-auth
2093#
2094
2095# Authentication type to load (string value)
2096# Deprecated group/name - [service_credentials]/auth_plugin
2097#auth_type = <None>
2098
2099# Config Section from which to load plugin specific options (string value)
2100#auth_section = <None>
2101
2102# Authentication URL (string value)
2103#auth_url = <None>
2104
2105# Domain ID to scope to (string value)
2106#domain_id = <None>
2107
2108# Domain name to scope to (string value)
2109#domain_name = <None>
2110
2111# Project ID to scope to (string value)
2112# Deprecated group/name - [service_credentials]/tenant-id
2113#project_id = <None>
2114
2115# Project name to scope to (string value)
2116# Deprecated group/name - [service_credentials]/tenant-name
2117#project_name = <None>
2118
2119# Domain ID containing project (string value)
2120#project_domain_id = <None>
2121
2122# Domain name containing project (string value)
2123#project_domain_name = <None>
2124
2125# Trust ID (string value)
2126#trust_id = <None>
2127
2128# Optional domain ID to use with v3 and v2 parameters. It will be used for both
2129# the user and project domain in v3 and ignored in v2 authentication. (string
2130# value)
2131#default_domain_id = <None>
2132
2133# Optional domain name to use with v3 API and v2 parameters. It will be used
2134# for both the user and project domain in v3 and ignored in v2 authentication.
2135# (string value)
2136#default_domain_name = <None>
2137
2138# User id (string value)
2139#user_id = <None>
2140
2141# Username (string value)
2142# Deprecated group/name - [service_credentials]/user-name
2143#username = <None>
2144
2145# User's domain id (string value)
2146#user_domain_id = <None>
2147
2148# User's domain name (string value)
2149#user_domain_name = <None>
2150
2151# User's password (string value)
2152#password = <None>
2153
2154# Region name to use for OpenStack service endpoints. (string value)
2155# Deprecated group/name - [DEFAULT]/os_region_name
2156#region_name = <None>
2157
2158# Type of endpoint in Identity service catalog to use for communication with
2159# OpenStack services. (string value)
2160# Allowed values: public, internal, admin, auth, publicURL, internalURL, adminURL
2161# Deprecated group/name - [service_credentials]/os_endpoint_type
2162#interface = public
2163
2164
2165[service_types]
2166
2167#
2168# From ceilometer
2169#
2170
2171# Kwapi service type. (string value)
2172#kwapi = energy
2173
2174# Glance service type. (string value)
2175#glance = image
2176
2177# Neutron service type. (string value)
2178#neutron = network
2179
2180# Neutron load balancer version. (string value)
2181# Allowed values: v1, v2
2182#neutron_lbaas_version = v2
2183
2184# Nova service type. (string value)
2185#nova = compute
2186
2187# Radosgw service type. (string value)
2188#radosgw = <None>
2189
2190# Swift service type. (string value)
2191#swift = object-store
2192
2193# Cinder service type. (string value)
2194# Deprecated group/name - [service_types]/cinderv2
2195#cinder = volumev3
2196
2197
2198[storage]
2199
2200#
2201# From ceilometer
2202#
2203
2204# Maximum number of connection retries during startup. Set to -1 to specify an
2205# infinite retry count. (integer value)
2206# Deprecated group/name - [database]/max_retries
2207#max_retries = 10
2208
2209# Interval (in seconds) between retries of connection. (integer value)
2210# Deprecated group/name - [database]/retry_interval
2211#retry_interval = 10
2212
2213
2214[vmware]
2215
2216#
2217# From ceilometer
2218#
2219
2220# IP address of the VMware vSphere host. (string value)
2221#host_ip =
2222
2223# Port of the VMware vSphere host. (port value)
2224# Minimum value: 0
2225# Maximum value: 65535
2226#host_port = 443
2227
2228# Username of VMware vSphere. (string value)
2229#host_username =
2230
2231# Password of VMware vSphere. (string value)
2232#host_password =
2233
2234# CA bundle file to use in verifying the vCenter server certificate. (string
2235# value)
2236#ca_file = <None>
2237
2238# If true, the vCenter server certificate is not verified. If false, then the
2239# default CA truststore is used for verification. This option is ignored if
2240# "ca_file" is set. (boolean value)
2241#insecure = false
2242
2243# Number of times a VMware vSphere API may be retried. (integer value)
2244#api_retry_count = 10
2245
2246# Sleep time in seconds for polling an ongoing async task. (floating point
2247# value)
2248#task_poll_interval = 0.5
2249
2250# Optional vim service WSDL location e.g http://<server>/vimService.wsdl.
2251# Optional over-ride to default location for bug work-arounds. (string value)
2252#wsdl_location = <None>
2253
2254
2255[xenapi]
2256
2257#
2258# From ceilometer
2259#
2260
2261# URL for connection to XenServer/Xen Cloud Platform. (string value)
2262#connection_url = <None>
2263
2264# Username for connection to XenServer/Xen Cloud Platform. (string value)
2265#connection_username = root
2266
2267# Password for connection to XenServer/Xen Cloud Platform. (string value)
2268#connection_password = <None>