blob: 80c1ed62fa9633a39bec48b65885ee570b8f1997 [file] [log] [blame]
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001{% from "keystone/map.jinja" import server with context %}
2[DEFAULT]
3
4#
5# From keystone
6#
7
8# A "shared secret" that can be used to bootstrap Keystone. This "token" does
9# not represent a user, and carries no explicit authorization. To disable in
10# production (highly recommended), remove AdminTokenAuthMiddleware from your
11# paste application pipelines (for example, in keystone-paste.ini). (string
12# value)
13#admin_token = ADMIN
14admin_token={{ server.service_token }}
15
16# The base public endpoint URL for Keystone that is advertised to clients
17# (NOTE: this does NOT affect how Keystone listens for connections). Defaults
18# to the base host URL of the request. E.g. a request to
19# http://server:5000/v3/users will default to http://server:5000. You should
20# only need to set this value if the base URL contains a path (e.g. /prefix/v3)
21# or the endpoint should be found on a different server. (string value)
22#public_endpoint = <None>
23
24# The base admin endpoint URL for Keystone that is advertised to clients (NOTE:
25# this does NOT affect how Keystone listens for connections). Defaults to the
26# base host URL of the request. E.g. a request to http://server:35357/v3/users
27# will default to http://server:35357. You should only need to set this value
28# if the base URL contains a path (e.g. /prefix/v3) or the endpoint should be
29# found on a different server. (string value)
30#admin_endpoint = <None>
31
32# Maximum depth of the project hierarchy. WARNING: setting it to a large value
33# may adversely impact performance. (integer value)
34#max_project_tree_depth = 5
35
36# Limit the sizes of user & project ID/names. (integer value)
37#max_param_size = 64
38
39# Similar to max_param_size, but provides an exception for token values.
40# (integer value)
41#max_token_size = 8192
42
43# Similar to the member_role_name option, this represents the default role ID
44# used to associate users with their default projects in the v2 API. This will
45# be used as the explicit role where one is not specified by the v2 API.
46# (string value)
47#member_role_id = 9fe2ff9ee4384b1894a90878d3e92bab
48
49# This is the role name used in combination with the member_role_id option; see
50# that option for more detail. (string value)
51#member_role_name = _member_
52
53# The value passed as the keyword "rounds" to passlib's encrypt method.
54# (integer value)
55# Minimum value: 1000
56# Maximum value: 100000
57#crypt_strength = 10000
58
59# The maximum number of entities that will be returned in a collection, with no
60# limit set by default. This global limit may be then overridden for a specific
61# driver, by specifying a list_limit in the appropriate section (e.g.
62# [assignment]). (integer value)
63#list_limit = <None>
64
65# Set this to false if you want to enable the ability for user, group and
66# project entities to be moved between domains by updating their domain_id.
67# Allowing such movement is not recommended if the scope of a domain admin is
68# being restricted by use of an appropriate policy file (see
69# policy.v3cloudsample as an example). (boolean value)
70#domain_id_immutable = true
71
72# If set to true, strict password length checking is performed for password
73# manipulation. If a password exceeds the maximum length, the operation will
74# fail with an HTTP 403 Forbidden error. If set to false, passwords are
75# automatically truncated to the maximum length. (boolean value)
76#strict_password_check = false
77
78# The HTTP header used to determine the scheme for the original request, even
79# if it was removed by an SSL terminating proxy. Typical value is
80# "HTTP_X_FORWARDED_PROTO". (string value)
Filip Pytloun5e607fd2016-01-05 12:17:29 +010081secure_proxy_ssl_header = "HTTP_X_FORWARDED_PROTO"
Jakub Pavlik0fa0f442015-10-19 16:32:35 +020082
83#
84# From keystone.notifications
85#
86
87# Default publisher_id for outgoing notifications (string value)
88#default_publisher_id = <None>
89
90# Define the notification format for Identity Service events. A "basic"
91# notification has information about the resource being operated on. A "cadf"
92# notification has the same information, as well as information about the
93# initiator of the event. (string value)
94# Allowed values: basic, cadf
95#notification_format = basic
96
97#
98# From oslo.log
99#
100
101# Print debugging output (set logging level to DEBUG instead of default INFO
102# level). (boolean value)
103#debug = false
104debug = false
105
106# If set to false, will disable INFO logging level, making WARNING the default.
107# (boolean value)
108# This option is deprecated for removal.
109# Its value may be silently ignored in the future.
110#verbose = true
111verbose = true
112
113# The name of a logging configuration file. This file is appended to any
114# existing logging configuration files. For details about logging configuration
115# files, see the Python logging module documentation. (string value)
116# Deprecated group/name - [DEFAULT]/log_config
117#log_config_append = <None>
118
119# DEPRECATED. A logging.Formatter log message format string which may use any
120# of the available logging.LogRecord attributes. This option is deprecated.
121# Please use logging_context_format_string and logging_default_format_string
122# instead. (string value)
123#log_format = <None>
124
125# Format string for %%(asctime)s in log records. Default: %(default)s . (string
126# value)
127#log_date_format = %Y-%m-%d %H:%M:%S
128
129# (Optional) Name of log file to output to. If no default is set, logging will
130# go to stdout. (string value)
131# Deprecated group/name - [DEFAULT]/logfile
132#log_file = <None>
133
134# (Optional) The base directory used for relative --log-file paths. (string
135# value)
136# Deprecated group/name - [DEFAULT]/logdir
137#log_dir = <None>
138log_dir = /var/log/keystone
139
140# Use syslog for logging. Existing syslog format is DEPRECATED and will be
141# changed later to honor RFC5424. (boolean value)
142#use_syslog = false
143
144# (Optional) Enables or disables syslog rfc5424 format for logging. If enabled,
145# prefixes the MSG part of the syslog message with APP-NAME (RFC5424). The
146# format without the APP-NAME is deprecated in Kilo, and will be removed in
147# Mitaka, along with this option. (boolean value)
148# This option is deprecated for removal.
149# Its value may be silently ignored in the future.
150#use_syslog_rfc_format = true
151
152# Syslog facility to receive log lines. (string value)
153#syslog_log_facility = LOG_USER
154
155# Log output to standard error. (boolean value)
156#use_stderr = true
157
158# Format string to use for log messages with context. (string value)
159#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
160
161# Format string to use for log messages without context. (string value)
162#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
163
164# Data to append to log format when level is DEBUG. (string value)
165#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
166
167# Prefix each line of exception output with this format. (string value)
168#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
169
170# List of logger=LEVEL pairs. (list value)
171#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
172
173# Enables or disables publication of error events. (boolean value)
174#publish_errors = false
175
176# The format for an instance that is passed with the log message. (string
177# value)
178#instance_format = "[instance: %(uuid)s] "
179
180# The format for an instance UUID that is passed with the log message. (string
181# value)
182#instance_uuid_format = "[instance: %(uuid)s] "
183
184# Enables or disables fatal status of deprecations. (boolean value)
185#fatal_deprecations = false
186
187#
188# From oslo.messaging
189#
190
191# Size of RPC connection pool. (integer value)
192# Deprecated group/name - [DEFAULT]/rpc_conn_pool_size
193#rpc_conn_pool_size = 30
194
195# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
196# The "host" option should point or resolve to this address. (string value)
197#rpc_zmq_bind_address = *
198
199# MatchMaker driver. (string value)
200#rpc_zmq_matchmaker = local
201
202# ZeroMQ receiver listening port. (integer value)
203#rpc_zmq_port = 9501
204
205# Number of ZeroMQ contexts, defaults to 1. (integer value)
206#rpc_zmq_contexts = 1
207
208# Maximum number of ingress messages to locally buffer per topic. Default is
209# unlimited. (integer value)
210#rpc_zmq_topic_backlog = <None>
211
212# Directory for holding IPC sockets. (string value)
213#rpc_zmq_ipc_dir = /var/run/openstack
214
215# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
216# "host" option, if running Nova. (string value)
217#rpc_zmq_host = localhost
218
219# Seconds to wait before a cast expires (TTL). Only supported by impl_zmq.
220# (integer value)
221#rpc_cast_timeout = 30
222
223# Heartbeat frequency. (integer value)
224#matchmaker_heartbeat_freq = 300
225
226# Heartbeat time-to-live. (integer value)
227#matchmaker_heartbeat_ttl = 600
228
229# Size of executor thread pool. (integer value)
230# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
231#executor_thread_pool_size = 64
232
233# The Drivers(s) to handle sending notifications. Possible values are
234# messaging, messagingv2, routing, log, test, noop (multi valued)
235{%- if server.notification %}
236#notification_driver=
Jakub Pavlik72e31d62016-04-08 16:26:57 +0200237notification_driver=messagingv2
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200238{%- endif %}
239# AMQP topic used for OpenStack notifications. (list value)
240# Deprecated group/name - [rpc_notifier2]/topics
241#notification_topics = notifications
242
243# Seconds to wait for a response from a call. (integer value)
244#rpc_response_timeout = 60
245
246# A URL representing the messaging driver to use and its full configuration. If
247# not set, we fall back to the rpc_backend option and driver specific
248# configuration. (string value)
249#transport_url = <None>
250
251# The messaging driver to use, defaults to rabbit. Other drivers include qpid
252# and zmq. (string value)
253#rpc_backend = rabbit
254
255# The default exchange under which topics are scoped. May be overridden by an
256# exchange name specified in the transport_url option. (string value)
257#control_exchange = keystone
258
259#
260# From oslo.service.service
261#
262
263# Enable eventlet backdoor. Acceptable values are 0, <port>, and
264# <start>:<end>, where 0 results in listening on a random tcp port number;
265# <port> results in listening on the specified port number (and not enabling
266# backdoor if that port is in use); and <start>:<end> results in listening on
267# the smallest unused port number within the specified range of port numbers.
268# The chosen port is displayed in the service's log file. (string value)
269#backdoor_port = <None>
270
271# Enables or disables logging values of all registered options when starting a
272# service (at DEBUG level). (boolean value)
273#log_options = true
274
275
276[assignment]
277
278#
279# From keystone
280#
281
282# Entrypoint for the assignment backend driver in the keystone.assignment
283# namespace. Supplied drivers are ldap and sql. If an assignment driver is not
284# specified, the identity driver will choose the assignment driver. (string
285# value)
286#driver = <None>
Filip Pytloun1abfdd72016-01-18 11:35:17 +0100287{%- if server.get("assignment", {}).get("backend", "sql") == "ldap" %}
288driver = ldap
Filip Pytlound35151a2016-01-18 16:08:37 +0100289{%- else %}
290driver = sql
Filip Pytloun1abfdd72016-01-18 11:35:17 +0100291{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200292
293
294[auth]
295
296#
297# From keystone
298#
299
300# Allowed authentication methods. (list value)
301#methods = external,password,token,oauth1
302
303# Entrypoint for the password auth plugin module in the keystone.auth.password
304# namespace. (string value)
305#password = <None>
306
307# Entrypoint for the token auth plugin module in the keystone.auth.token
308# namespace. (string value)
309#token = <None>
310
311# Entrypoint for the external (REMOTE_USER) auth plugin module in the
312# keystone.auth.external namespace. Supplied drivers are DefaultDomain and
313# Domain. The default driver is DefaultDomain. (string value)
314#external = <None>
315
316# Entrypoint for the oAuth1.0 auth plugin module in the keystone.auth.oauth1
317# namespace. (string value)
318#oauth1 = <None>
319
320
321[cache]
322
323#
324# From keystone
325#
326
327# Prefix for building the configuration dictionary for the cache region. This
328# should not need to be changed unless there is another dogpile.cache region
329# with the same configuration name. (string value)
330#config_prefix = cache.keystone
331
332# Default TTL, in seconds, for any cached item in the dogpile.cache region.
333# This applies to any cached method that doesn't have an explicit cache
334# expiration time defined for it. (integer value)
335#expiration_time = 600
336
337# Dogpile.cache backend module. It is recommended that Memcache with pooling
338# (keystone.cache.memcache_pool) or Redis (dogpile.cache.redis) be used in
339# production deployments. Small workloads (single process) like devstack can
340# use the dogpile.cache.memory backend. (string value)
341#backend = keystone.common.cache.noop
342backend=keystone.cache.memcache_pool
343
344# Arguments supplied to the backend module. Specify this option once per
345# argument to be passed to the dogpile.cache backend. Example format:
346# "<argname>:<value>". (multi valued)
347#backend_argument =
348
349# Proxy classes to import that will affect the way the dogpile.cache backend
350# functions. See the dogpile.cache documentation on changing-backend-behavior.
351# (list value)
352#proxies =
353
354# Global toggle for all caching using the should_cache_fn mechanism. (boolean
355# value)
356#enabled = false
357enabled = true
358
359# Extra debugging from the cache backend (cache keys, get/set/delete/etc
360# calls). This is only really useful if you need to see the specific cache-
361# backend get/set/delete calls with the keys/values. Typically this should be
362# left set to false. (boolean value)
363#debug_cache_backend = false
364
365# Memcache servers in the format of "host:port". (dogpile.cache.memcache and
366# keystone.cache.memcache_pool backends only). (list value)
367#memcache_servers = localhost:11211
368{%- if server.cache is defined %}
369{%- if server.cache.members is defined %}
370memcache_servers = {%- for member in server.cache.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{%- endfor %}
371{%- else %}
372memcache_servers = ['{{ server.cache.host }}:{{ server.cache.port }}']
373{%- endif %}
374{%- endif %}
375
376# Number of seconds memcached server is considered dead before it is tried
377# again. (dogpile.cache.memcache and keystone.cache.memcache_pool backends
378# only). (integer value)
379#memcache_dead_retry = 300
380memcache_dead_retry = 300
381
382# Timeout in seconds for every call to a server. (dogpile.cache.memcache and
383# keystone.cache.memcache_pool backends only). (integer value)
384#memcache_socket_timeout = 3
385memcache_socket_timeout = 1
386
387# Max total number of open connections to every memcached server.
388# (keystone.cache.memcache_pool backend only). (integer value)
389#memcache_pool_maxsize = 10
390memcache_pool_maxsize = 100
391
392# Number of seconds a connection to memcached is held unused in the pool before
393# it is closed. (keystone.cache.memcache_pool backend only). (integer value)
394#memcache_pool_unused_timeout = 60
395memcache_pool_unused_timeout = 60
396
397# Number of seconds that an operation will wait to get a memcache client
398# connection. (integer value)
399#memcache_pool_connection_get_timeout = 10
400
401
402[catalog]
403
404#
405# From keystone
406#
407
408# Catalog template file name for use with the template catalog backend. (string
409# value)
410#template_file = default_catalog.templates
411template_file = default_catalog.templates
412
413# Entrypoint for the catalog backend driver in the keystone.catalog namespace.
414# Supplied drivers are kvs, sql, templated, and endpoint_filter.sql (string
415# value)
416driver = sql
417#template_file=/etc/keystone/default_catalog.templates
418
419# Catalog backend driver. (string value)
420#driver=keystone.catalog.backends.sql.Catalog
421#driver=keystone.catalog.backends.sql.Catalog
422
423# Toggle for catalog caching. This has no effect unless global caching is
424# enabled. (boolean value)
425#caching = true
426
427# Time to cache catalog data (in seconds). This has no effect unless global and
428# catalog caching are enabled. (integer value)
429#cache_time = <None>
430
431# Maximum number of entities that will be returned in a catalog collection.
432# (integer value)
433#list_limit = <None>
434
435
436[cors]
437
438#
439# From oslo.middleware
440#
441
442# Indicate whether this resource may be shared with the domain received in the
443# requests "origin" header. (string value)
444#allowed_origin = <None>
445
446# Indicate that the actual request can include user credentials (boolean value)
447#allow_credentials = true
448
449# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
450# Headers. (list value)
451#expose_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
452
453# Maximum cache age of CORS preflight requests. (integer value)
454#max_age = 3600
455
456# Indicate which methods can be used during the actual request. (list value)
457#allow_methods = GET,POST,PUT,DELETE,OPTIONS
458
459# Indicate which header field names may be used during the actual request.
460# (list value)
461#allow_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
462
463
464[cors.subdomain]
465
466#
467# From oslo.middleware
468#
469
470# Indicate whether this resource may be shared with the domain received in the
471# requests "origin" header. (string value)
472#allowed_origin = <None>
473
474# Indicate that the actual request can include user credentials (boolean value)
475#allow_credentials = true
476
477# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
478# Headers. (list value)
479#expose_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
480
481# Maximum cache age of CORS preflight requests. (integer value)
482#max_age = 3600
483
484# Indicate which methods can be used during the actual request. (list value)
485#allow_methods = GET,POST,PUT,DELETE,OPTIONS
486
487# Indicate which header field names may be used during the actual request.
488# (list value)
489#allow_headers = Content-Type,Cache-Control,Content-Language,Expires,Last-Modified,Pragma
490
491
492[credential]
493
494#
495# From keystone
496#
497
498# Entrypoint for the credential backend driver in the keystone.credential
499# namespace. (string value)
500#driver = sql
501
502
503[database]
504
505#
506# From oslo.db
507#
508
509# The file name to use with SQLite. (string value)
510# Deprecated group/name - [DEFAULT]/sqlite_db
511#sqlite_db = oslo.sqlite
512
513# If True, SQLite uses synchronous mode. (boolean value)
514# Deprecated group/name - [DEFAULT]/sqlite_synchronous
515#sqlite_synchronous = true
516
517# The back end to use for the database. (string value)
518# Deprecated group/name - [DEFAULT]/db_backend
519#backend = sqlalchemy
520
521# The SQLAlchemy connection string to use to connect to the database. (string
522# value)
523# Deprecated group/name - [DEFAULT]/sql_connection
524# Deprecated group/name - [DATABASE]/sql_connection
525# Deprecated group/name - [sql]/connection
526#connection = <None>
527connection={{ server.database.engine }}://{{ server.database.user }}:{{ server.database.password }}@{{ server.database.host }}/{{ server.database.name }}
528
529# The SQLAlchemy connection string to use to connect to the slave database.
530# (string value)
531#slave_connection = <None>
532
533# The SQL mode to be used for MySQL sessions. This option, including the
534# default, overrides any server-set SQL mode. To use whatever SQL mode is set
535# by the server configuration, set this to no value. Example: mysql_sql_mode=
536# (string value)
537#mysql_sql_mode = TRADITIONAL
538
539# Timeout before idle SQL connections are reaped. (integer value)
540# Deprecated group/name - [DEFAULT]/sql_idle_timeout
541# Deprecated group/name - [DATABASE]/sql_idle_timeout
542# Deprecated group/name - [sql]/idle_timeout
543#idle_timeout = 3600
544idle_timeout = 3600
545
546# Minimum number of SQL connections to keep open in a pool. (integer value)
547# Deprecated group/name - [DEFAULT]/sql_min_pool_size
548# Deprecated group/name - [DATABASE]/sql_min_pool_size
549#min_pool_size = 1
550
551# Maximum number of SQL connections to keep open in a pool. (integer value)
552# Deprecated group/name - [DEFAULT]/sql_max_pool_size
553# Deprecated group/name - [DATABASE]/sql_max_pool_size
554#max_pool_size = <None>
555max_pool_size=10
556max_overflow=30
557max_retries=-1
558
559# Maximum number of database connection retries during startup. Set to -1 to
560# specify an infinite retry count. (integer value)
561# Deprecated group/name - [DEFAULT]/sql_max_retries
562# Deprecated group/name - [DATABASE]/sql_max_retries
563#max_retries = 10
564
565# Interval between retries of opening a SQL connection. (integer value)
566# Deprecated group/name - [DEFAULT]/sql_retry_interval
567# Deprecated group/name - [DATABASE]/reconnect_interval
568#retry_interval = 10
569
570# If set, use this value for max_overflow with SQLAlchemy. (integer value)
571# Deprecated group/name - [DEFAULT]/sql_max_overflow
572# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
573#max_overflow = <None>
574
575# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
576# value)
577# Deprecated group/name - [DEFAULT]/sql_connection_debug
578#connection_debug = 0
579
580# Add Python stack traces to SQL as comment strings. (boolean value)
581# Deprecated group/name - [DEFAULT]/sql_connection_trace
582#connection_trace = false
583
584# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
585# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
586#pool_timeout = <None>
587
588# Enable the experimental use of database reconnect on connection lost.
589# (boolean value)
590#use_db_reconnect = false
591
592# Seconds between retries of a database transaction. (integer value)
593#db_retry_interval = 1
594
595# If True, increases the interval between retries of a database operation up to
596# db_max_retry_interval. (boolean value)
597#db_inc_retry_interval = true
598
599# If db_inc_retry_interval is set, the maximum seconds between retries of a
600# database operation. (integer value)
601#db_max_retry_interval = 10
602
603# Maximum retries in case of connection error or deadlock error before error is
604# raised. Set to -1 to specify an infinite retry count. (integer value)
605#db_max_retries = 20
606
607
608[domain_config]
609
610#
611# From keystone
612#
613
614# Entrypoint for the domain config backend driver in the
615# keystone.resource.domain_config namespace. (string value)
616#driver = sql
617
618# Toggle for domain config caching. This has no effect unless global caching is
619# enabled. (boolean value)
620#caching = true
621
622# TTL (in seconds) to cache domain config data. This has no effect unless
623# domain config caching is enabled. (integer value)
624#cache_time = 300
625
626
627[endpoint_filter]
628
629#
630# From keystone
631#
632
633# Entrypoint for the endpoint filter backend driver in the
634# keystone.endpoint_filter namespace. (string value)
635#driver = sql
636
637# Toggle to return all active endpoints if no filter exists. (boolean value)
638#return_all_endpoints_if_no_filter = true
639
640
641[endpoint_policy]
642
643#
644# From keystone
645#
646
647# Enable endpoint_policy functionality. (boolean value)
648#enabled = true
649
650# Entrypoint for the endpoint policy backend driver in the
651# keystone.endpoint_policy namespace. (string value)
652#driver = sql
653
654
655[eventlet_server]
656
657#
658# From keystone
659#
660
661# The number of worker processes to serve the public eventlet application.
662# Defaults to number of CPUs (minimum of 2). (integer value)
663# Deprecated group/name - [DEFAULT]/public_workers
664# This option is deprecated for removal.
665# Its value may be silently ignored in the future.
666#public_workers = <None>
667
668# The number of worker processes to serve the admin eventlet application.
669# Defaults to number of CPUs (minimum of 2). (integer value)
670# Deprecated group/name - [DEFAULT]/admin_workers
671# This option is deprecated for removal.
672# Its value may be silently ignored in the future.
673#admin_workers = <None>
674
675# The IP address of the network interface for the public service to listen on.
676# (string value)
677# Deprecated group/name - [DEFAULT]/bind_host
678# Deprecated group/name - [DEFAULT]/public_bind_host
679# This option is deprecated for removal.
680# Its value may be silently ignored in the future.
681#public_bind_host = 0.0.0.0
682public_bind_host={% if server.bind.address is defined %}{{ server.bind.address }}{% else %}{{ server.bind.public_address }}{% endif %}
683
684# The port number which the public service listens on. (integer value)
685# Minimum value: 1
686# Maximum value: 65535
687# Deprecated group/name - [DEFAULT]/public_port
688# This option is deprecated for removal.
689# Its value may be silently ignored in the future.
690#public_port = 5000
691
692# The IP address of the network interface for the admin service to listen on.
693# (string value)
694# Deprecated group/name - [DEFAULT]/bind_host
695# Deprecated group/name - [DEFAULT]/admin_bind_host
696# This option is deprecated for removal.
697# Its value may be silently ignored in the future.
698#admin_bind_host = 0.0.0.0
699admin_bind_host={% if server.bind.address is defined %}{{ server.bind.address }}{% else %}{{ server.bind.public_address }}{% endif %}
700
701# The port number which the admin service listens on. (integer value)
702# Minimum value: 1
703# Maximum value: 65535
704# Deprecated group/name - [DEFAULT]/admin_port
705# This option is deprecated for removal.
706# Its value may be silently ignored in the future.
707#admin_port = 35357
708
709# If set to false, disables keepalives on the server; all connections will be
710# closed after serving one request. (boolean value)
711#wsgi_keep_alive = true
712
713# Timeout for socket operations on a client connection. If an incoming
714# connection is idle for this number of seconds it will be closed. A value of
715# '0' means wait forever. (integer value)
716#client_socket_timeout = 900
717
718# Set this to true if you want to enable TCP_KEEPALIVE on server sockets, i.e.
719# sockets used by the Keystone wsgi server for client connections. (boolean
720# value)
721# Deprecated group/name - [DEFAULT]/tcp_keepalive
722# This option is deprecated for removal.
723# Its value may be silently ignored in the future.
724#tcp_keepalive = false
725
726# Sets the value of TCP_KEEPIDLE in seconds for each server socket. Only
727# applies if tcp_keepalive is true. (integer value)
728# Deprecated group/name - [DEFAULT]/tcp_keepidle
729# This option is deprecated for removal.
730# Its value may be silently ignored in the future.
731#tcp_keepidle = 600
732
733
734[eventlet_server_ssl]
735
736#
737# From keystone
738#
739
740# Toggle for SSL support on the Keystone eventlet servers. (boolean value)
741# Deprecated group/name - [ssl]/enable
742# This option is deprecated for removal.
743# Its value may be silently ignored in the future.
744#enable = false
745
746# Path of the certfile for SSL. For non-production environments, you may be
747# interested in using `keystone-manage ssl_setup` to generate self-signed
748# certificates. (string value)
749# Deprecated group/name - [ssl]/certfile
750# This option is deprecated for removal.
751# Its value may be silently ignored in the future.
752#certfile = /etc/keystone/ssl/certs/keystone.pem
753
754# Path of the keyfile for SSL. (string value)
755# Deprecated group/name - [ssl]/keyfile
756# This option is deprecated for removal.
757# Its value may be silently ignored in the future.
758#keyfile = /etc/keystone/ssl/private/keystonekey.pem
759
760# Path of the CA cert file for SSL. (string value)
761# Deprecated group/name - [ssl]/ca_certs
762# This option is deprecated for removal.
763# Its value may be silently ignored in the future.
764#ca_certs = /etc/keystone/ssl/certs/ca.pem
765
766# Require client certificate. (boolean value)
767# Deprecated group/name - [ssl]/cert_required
768# This option is deprecated for removal.
769# Its value may be silently ignored in the future.
770#cert_required = false
771
772
773[federation]
774
775#
776# From keystone
777#
778
779# Entrypoint for the federation backend driver in the keystone.federation
780# namespace. (string value)
781#driver = sql
782
783# Value to be used when filtering assertion parameters from the environment.
784# (string value)
785#assertion_prefix =
786
787# Value to be used to obtain the entity ID of the Identity Provider from the
788# environment (e.g. if using the mod_shib plugin this value is `Shib-Identity-
789# Provider`). (string value)
790#remote_id_attribute = <None>
791
792# A domain name that is reserved to allow federated ephemeral users to have a
793# domain concept. Note that an admin will not be able to create a domain with
794# this name or update an existing domain to this name. You are not advised to
795# change this value unless you really have to. (string value)
796#federated_domain_name = Federated
797
798# A list of trusted dashboard hosts. Before accepting a Single Sign-On request
799# to return a token, the origin host must be a member of the trusted_dashboard
800# list. This configuration option may be repeated for multiple values. For
801# example: trusted_dashboard=http://acme.com trusted_dashboard=http://beta.com
802# (multi valued)
803#trusted_dashboard =
804
805# Location of Single Sign-On callback handler, will return a token to a trusted
806# dashboard host. (string value)
807#sso_callback_template = /etc/keystone/sso_callback_template.html
808
809
810[fernet_tokens]
811
812#
813# From keystone
814#
815
816# Directory containing Fernet token keys. (string value)
817#key_repository = /etc/keystone/fernet-keys/
818key_repository = {{ server.tokens.location }}
819
820# This controls how many keys are held in rotation by keystone-manage
821# fernet_rotate before they are discarded. The default value of 3 means that
822# keystone will maintain one staged key, one primary key, and one secondary
823# key. Increasing this value means that additional secondary keys will be kept
824# in the rotation. (integer value)
825#max_active_keys = 3
826
827
828[identity]
829
830#
831# From keystone
832#
833
834# This references the domain to use for all Identity API v2 requests (which are
835# not aware of domains). A domain with this ID will be created for you by
836# keystone-manage db_sync in migration 008. The domain referenced by this ID
837# cannot be deleted on the v3 API, to prevent accidentally breaking the v2 API.
838# There is nothing special about this domain, other than the fact that it must
839# exist to order to maintain support for your v2 clients. (string value)
Filip Pytlounaf25d8d2016-01-12 14:21:39 +0100840{%- if server.get('domain', {}) %}
Filip Pytloun6b9ec2b2016-01-12 13:52:01 +0100841{%- for name, domain in server.domain.iteritems() %}
842{%- if domain.get('default', False) %}
843default_domain_id = {{ name }}
844{%- endif %}
845{%- endfor %}
846{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200847
848# A subset (or all) of domains can have their own identity driver, each with
849# their own partial configuration options, stored in either the resource
850# backend or in a file in a domain configuration directory (depending on the
851# setting of domain_configurations_from_database). Only values specific to the
852# domain need to be specified in this manner. This feature is disabled by
853# default; set to true to enable. (boolean value)
Filip Pytlounaf25d8d2016-01-12 14:21:39 +0100854{%- if server.get('domain', {}) %}
Filip Pytloun6b9ec2b2016-01-12 13:52:01 +0100855domain_specific_drivers_enabled = true
856{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200857
858# Extract the domain specific configuration options from the resource backend
859# where they have been stored with the domain data. This feature is disabled by
860# default (in which case the domain specific options will be loaded from files
861# in the domain configuration directory); set to true to enable. (boolean
862# value)
863#domain_configurations_from_database = false
864
865# Path for Keystone to locate the domain specific identity configuration files
866# if domain_specific_drivers_enabled is set to true. (string value)
Filip Pytlounaf25d8d2016-01-12 14:21:39 +0100867{%- if server.get('domain', {}) %}
Filip Pytloun6b9ec2b2016-01-12 13:52:01 +0100868domain_config_dir = /etc/keystone/domains
869{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200870
871# Entrypoint for the identity backend driver in the keystone.identity
872# namespace. Supplied drivers are ldap and sql. (string value)
Filip Pytloun1abfdd72016-01-18 11:35:17 +0100873{%- if server.get('backend', 'sql') == 'ldap' %}
874driver = ldap
875{%- else %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200876driver = sql
Filip Pytloun1abfdd72016-01-18 11:35:17 +0100877{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200878
879# Toggle for identity caching. This has no effect unless global caching is
880# enabled. (boolean value)
881#caching = true
882
883# Time to cache identity data (in seconds). This has no effect unless global
884# and identity caching are enabled. (integer value)
885#cache_time = 600
886
887# Maximum supported length for user passwords; decrease to improve performance.
888# (integer value)
889# Maximum value: 4096
890#max_password_length = 4096
891
892# Maximum number of entities that will be returned in an identity collection.
893# (integer value)
894#list_limit = <None>
895
896
897[identity_mapping]
898
899#
900# From keystone
901#
902
903# Entrypoint for the identity mapping backend driver in the
904# keystone.identity.id_mapping namespace. (string value)
905#driver = sql
906
907# Entrypoint for the public ID generator for user and group entities in the
908# keystone.identity.id_generator namespace. The Keystone identity mapper only
909# supports generators that produce no more than 64 characters. (string value)
910#generator = sha256
911
912# The format of user and group IDs changed in Juno for backends that do not
913# generate UUIDs (e.g. LDAP), with keystone providing a hash mapping to the
914# underlying attribute in LDAP. By default this mapping is disabled, which
915# ensures that existing IDs will not change. Even when the mapping is enabled
916# by using domain specific drivers, any users and groups from the default
917# domain being handled by LDAP will still not be mapped to ensure their IDs
918# remain backward compatible. Setting this value to False will enable the
919# mapping for even the default LDAP driver. It is only safe to do this if you
920# do not already have assignments for users and groups from the default LDAP
921# domain, and it is acceptable for Keystone to provide the different IDs to
922# clients than it did previously. Typically this means that the only time you
923# can set this value to False is when configuring a fresh installation.
924# (boolean value)
925#backward_compatible_ids = true
926
927
928[kvs]
929
930#
931# From keystone
932#
933
934# Extra dogpile.cache backend modules to register with the dogpile.cache
935# library. (list value)
936#backends =
937
938# Prefix for building the configuration dictionary for the KVS region. This
939# should not need to be changed unless there is another dogpile.cache region
940# with the same configuration name. (string value)
941#config_prefix = keystone.kvs
942
943# Toggle to disable using a key-mangling function to ensure fixed length keys.
944# This is toggle-able for debugging purposes, it is highly recommended to
945# always leave this set to true. (boolean value)
946#enable_key_mangler = true
947
948# Default lock timeout (in seconds) for distributed locking. (integer value)
949#default_lock_timeout = 5
950
Filip Pytloun1abfdd72016-01-18 11:35:17 +0100951{%- if server.get("backend", "sql") == "ldap" %}
952{%- set ldap = server.ldap %}
953{% include "keystone/files/_ldap.conf" %}
954{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +0200955
956[matchmaker_redis]
957
958#
959# From oslo.messaging
960#
961
962# Host to locate redis. (string value)
963#host = 127.0.0.1
964
965# Use this port to connect to redis host. (integer value)
966#port = 6379
967
968# Password for Redis server (optional). (string value)
969#password = <None>
970
971
972[matchmaker_ring]
973
974#
975# From oslo.messaging
976#
977
978# Matchmaker ring file (JSON). (string value)
979# Deprecated group/name - [DEFAULT]/matchmaker_ringfile
980#ringfile = /etc/oslo/matchmaker_ring.json
981
982
983[memcache]
984
985#
986# From keystone
987#
988
989# Memcache servers in the format of "host:port". (list value)
990#servers = localhost:11211
991{%- if server.cache is defined %}
992{%- if server.cache.members is defined %}
993servers = {%- for member in server.cache.members %}{{ member.host }}:{{ member.port }}{% if not loop.last %},{% endif %}{%- endfor %}
994{%- else %}
995servers = ['{{ server.cache.host }}:{{ server.cache.port }}']
996{%- endif %}
997{%- endif %}
998# Number of seconds memcached server is considered dead before it is tried
999# again. This is used by the key value store system (e.g. token pooled
1000# memcached persistence backend). (integer value)
1001#dead_retry = 300
1002
1003# Timeout in seconds for every call to a server. This is used by the key value
1004# store system (e.g. token pooled memcached persistence backend). (integer
1005# value)
1006#socket_timeout = 3
1007
1008# Max total number of open connections to every memcached server. This is used
1009# by the key value store system (e.g. token pooled memcached persistence
1010# backend). (integer value)
1011#pool_maxsize = 10
1012
1013# Number of seconds a connection to memcached is held unused in the pool before
1014# it is closed. This is used by the key value store system (e.g. token pooled
1015# memcached persistence backend). (integer value)
1016#pool_unused_timeout = 60
1017
1018# Number of seconds that an operation will wait to get a memcache client
1019# connection. This is used by the key value store system (e.g. token pooled
1020# memcached persistence backend). (integer value)
1021#pool_connection_get_timeout = 10
1022
1023
1024[oauth1]
1025
1026#
1027# From keystone
1028#
1029
1030# Entrypoint for hte OAuth backend driver in the keystone.oauth1 namespace.
1031# (string value)
1032#driver = sql
1033
1034# Duration (in seconds) for the OAuth Request Token. (integer value)
1035#request_token_duration = 28800
1036
1037# Duration (in seconds) for the OAuth Access Token. (integer value)
1038#access_token_duration = 86400
1039
1040
1041[os_inherit]
1042
1043#
1044# From keystone
1045#
1046
1047# role-assignment inheritance to projects from owning domain or from projects
1048# higher in the hierarchy can be optionally enabled. (boolean value)
1049#enabled = false
1050
1051
1052[oslo_messaging_amqp]
1053
1054#
1055# From oslo.messaging
1056#
1057
1058# address prefix used when sending to a specific server (string value)
1059# Deprecated group/name - [amqp1]/server_request_prefix
1060#server_request_prefix = exclusive
1061
1062# address prefix used when broadcasting to all servers (string value)
1063# Deprecated group/name - [amqp1]/broadcast_prefix
1064#broadcast_prefix = broadcast
1065
1066# address prefix when sending to any server in group (string value)
1067# Deprecated group/name - [amqp1]/group_request_prefix
1068#group_request_prefix = unicast
1069
1070# Name for the AMQP container (string value)
1071# Deprecated group/name - [amqp1]/container_name
1072#container_name = <None>
1073
1074# Timeout for inactive connections (in seconds) (integer value)
1075# Deprecated group/name - [amqp1]/idle_timeout
1076#idle_timeout = 0
1077
1078# Debug: dump AMQP frames to stdout (boolean value)
1079# Deprecated group/name - [amqp1]/trace
1080#trace = false
1081
1082# CA certificate PEM file to verify server certificate (string value)
1083# Deprecated group/name - [amqp1]/ssl_ca_file
1084#ssl_ca_file =
1085
1086# Identifying certificate PEM file to present to clients (string value)
1087# Deprecated group/name - [amqp1]/ssl_cert_file
1088#ssl_cert_file =
1089
1090# Private key PEM file used to sign cert_file certificate (string value)
1091# Deprecated group/name - [amqp1]/ssl_key_file
1092#ssl_key_file =
1093
1094# Password for decrypting ssl_key_file (if encrypted) (string value)
1095# Deprecated group/name - [amqp1]/ssl_key_password
1096#ssl_key_password = <None>
1097
1098# Accept clients using either SSL or plain TCP (boolean value)
1099# Deprecated group/name - [amqp1]/allow_insecure_clients
1100#allow_insecure_clients = false
1101
1102
1103[oslo_messaging_qpid]
1104
1105#
1106# From oslo.messaging
1107#
1108
1109# Use durable queues in AMQP. (boolean value)
1110# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1111# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1112#amqp_durable_queues = false
1113
1114# Auto-delete queues in AMQP. (boolean value)
1115# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1116#amqp_auto_delete = false
1117
1118# Send a single AMQP reply to call message. The current behaviour since oslo-
1119# incubator is to send two AMQP replies - first one with the payload, a second
1120# one to ensure the other have finish to send the payload. We are going to
1121# remove it in the N release, but we must keep backward compatible at the same
1122# time. This option provides such compatibility - it defaults to False in
1123# Liberty and can be turned on for early adopters with a new installations or
1124# for testing. Please note, that this option will be removed in the Mitaka
1125# release. (boolean value)
1126#send_single_reply = false
1127
1128# Qpid broker hostname. (string value)
1129# Deprecated group/name - [DEFAULT]/qpid_hostname
1130#qpid_hostname = localhost
1131
1132# Qpid broker port. (integer value)
1133# Deprecated group/name - [DEFAULT]/qpid_port
1134#qpid_port = 5672
1135
1136# Qpid HA cluster host:port pairs. (list value)
1137# Deprecated group/name - [DEFAULT]/qpid_hosts
1138#qpid_hosts = $qpid_hostname:$qpid_port
1139
1140# Username for Qpid connection. (string value)
1141# Deprecated group/name - [DEFAULT]/qpid_username
1142#qpid_username =
1143
1144# Password for Qpid connection. (string value)
1145# Deprecated group/name - [DEFAULT]/qpid_password
1146#qpid_password =
1147
1148# Space separated list of SASL mechanisms to use for auth. (string value)
1149# Deprecated group/name - [DEFAULT]/qpid_sasl_mechanisms
1150#qpid_sasl_mechanisms =
1151
1152# Seconds between connection keepalive heartbeats. (integer value)
1153# Deprecated group/name - [DEFAULT]/qpid_heartbeat
1154#qpid_heartbeat = 60
1155
1156# Transport to use, either 'tcp' or 'ssl'. (string value)
1157# Deprecated group/name - [DEFAULT]/qpid_protocol
1158#qpid_protocol = tcp
1159
1160# Whether to disable the Nagle algorithm. (boolean value)
1161# Deprecated group/name - [DEFAULT]/qpid_tcp_nodelay
1162#qpid_tcp_nodelay = true
1163
1164# The number of prefetched messages held by receiver. (integer value)
1165# Deprecated group/name - [DEFAULT]/qpid_receiver_capacity
1166#qpid_receiver_capacity = 1
1167
1168# The qpid topology version to use. Version 1 is what was originally used by
1169# impl_qpid. Version 2 includes some backwards-incompatible changes that allow
1170# broker federation to work. Users should update to version 2 when they are
1171# able to take everything down, as it requires a clean break. (integer value)
1172# Deprecated group/name - [DEFAULT]/qpid_topology_version
1173#qpid_topology_version = 1
1174
1175
1176[oslo_messaging_rabbit]
1177
1178#
1179# From oslo.messaging
1180#
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001181{%- if server.notification %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001182# Use durable queues in AMQP. (boolean value)
1183# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1184# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1185#amqp_durable_queues = false
1186
1187# Auto-delete queues in AMQP. (boolean value)
1188# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1189#amqp_auto_delete = false
1190
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001191# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
1192# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
1193# distributions. (string value)
1194# Deprecated group/name - [DEFAULT]/kombu_ssl_version
1195#kombu_ssl_version =
1196
1197# SSL key file (valid only if SSL enabled). (string value)
1198# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
1199#kombu_ssl_keyfile =
1200
1201# SSL cert file (valid only if SSL enabled). (string value)
1202# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
1203#kombu_ssl_certfile =
1204
1205# SSL certification authority file (valid only if SSL enabled). (string value)
1206# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
1207#kombu_ssl_ca_certs =
1208
1209# How long to wait before reconnecting in response to an AMQP consumer cancel
1210# notification. (floating point value)
1211# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
1212#kombu_reconnect_delay = 1.0
1213
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001214# The RabbitMQ broker address where a single node is used. (string value)
1215# Deprecated group/name - [DEFAULT]/rabbit_host
1216#rabbit_host = localhost
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001217rabbit_host = {{ server.message_queue.host }}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001218
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001219# The RabbitMQ broker port where a single node is used. (port value)
1220# Minimum value: 0
1221# Maximum value: 65535
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001222# Deprecated group/name - [DEFAULT]/rabbit_port
1223#rabbit_port = 5672
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001224rabbit_port = {{ server.message_queue.port }}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001225
1226# RabbitMQ HA cluster host:port pairs. (list value)
1227# Deprecated group/name - [DEFAULT]/rabbit_hosts
1228#rabbit_hosts = $rabbit_host:$rabbit_port
1229
1230# Connect over SSL for RabbitMQ. (boolean value)
1231# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
1232#rabbit_use_ssl = false
1233
1234# The RabbitMQ userid. (string value)
1235# Deprecated group/name - [DEFAULT]/rabbit_userid
1236#rabbit_userid = guest
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001237rabbit_userid = {{ server.message_queue.user }}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001238
1239# The RabbitMQ password. (string value)
1240# Deprecated group/name - [DEFAULT]/rabbit_password
1241#rabbit_password = guest
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001242rabbit_password = {{ server.message_queue.password }}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001243
1244# The RabbitMQ login method. (string value)
1245# Deprecated group/name - [DEFAULT]/rabbit_login_method
1246#rabbit_login_method = AMQPLAIN
1247
1248# The RabbitMQ virtual host. (string value)
1249# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
1250#rabbit_virtual_host = /
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001251rabbit_virtual_host = {{ server.message_queue.virtual_host }}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001252
1253# How frequently to retry connecting with RabbitMQ. (integer value)
1254#rabbit_retry_interval = 1
1255
1256# How long to backoff for between retries when connecting to RabbitMQ. (integer
1257# value)
1258# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
1259#rabbit_retry_backoff = 2
1260
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001261# Maximum interval of RabbitMQ connection retries. Default is 30 seconds.
1262# (integer value)
1263#rabbit_interval_max = 30
1264
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001265# Maximum number of RabbitMQ connection retries. Default is 0 (infinite retry
1266# count). (integer value)
1267# Deprecated group/name - [DEFAULT]/rabbit_max_retries
1268#rabbit_max_retries = 0
1269
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001270# Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this
1271# option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring
1272# is no longer controlled by the x-ha-policy argument when declaring a queue.
1273# If you just want to make sure that all queues (except those with auto-
1274# generated names) are mirrored across all nodes, run: "rabbitmqctl set_policy
1275# HA '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value)
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001276# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
1277#rabbit_ha_queues = false
1278
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001279# Positive integer representing duration in seconds for queue TTL (x-expires).
1280# Queues which are unused for the duration of the TTL are automatically
1281# deleted. The parameter affects only reply and fanout queues. (integer value)
1282# Minimum value: 1
1283#rabbit_transient_queues_ttl = 1800
1284
1285# Specifies the number of messages to prefetch. Setting to zero allows
1286# unlimited messages. (integer value)
1287#rabbit_qos_prefetch_count = 0
1288
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001289# Number of seconds after which the Rabbit broker is considered down if
1290# heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
1291# value)
1292#heartbeat_timeout_threshold = 60
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001293heartbeat_timeout_threshold = 0
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001294
1295# How often times during the heartbeat_timeout_threshold we check the
1296# heartbeat. (integer value)
1297#heartbeat_rate = 2
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001298heartbeat_rate = 2
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001299
1300# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
1301# Deprecated group/name - [DEFAULT]/fake_rabbit
1302#fake_rabbit = false
Jakub Pavlik72e31d62016-04-08 16:26:57 +02001303{%- endif %}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001304
1305[oslo_middleware]
1306
1307#
1308# From oslo.middleware
1309#
1310
1311# The maximum body size for each request, in bytes. (integer value)
1312# Deprecated group/name - [DEFAULT]/osapi_max_request_body_size
1313# Deprecated group/name - [DEFAULT]/max_request_body_size
1314#max_request_body_size = 114688
1315
1316#
1317# From oslo.middleware
1318#
1319
1320# The HTTP Header that will be used to determine what the original request
1321# protocol scheme was, even if it was hidden by an SSL termination proxy.
1322# (string value)
1323#secure_proxy_ssl_header = X-Forwarded-Proto
1324
1325
1326[oslo_policy]
1327
1328#
1329# From oslo.policy
1330#
1331
1332# The JSON file that defines policies. (string value)
1333# Deprecated group/name - [DEFAULT]/policy_file
1334#policy_file = policy.json
1335
1336# Default rule. Enforced when a requested rule is not found. (string value)
1337# Deprecated group/name - [DEFAULT]/policy_default_rule
1338#policy_default_rule = default
1339
1340# Directories where policy configuration files are stored. They can be relative
1341# to any directory in the search path defined by the config_dir option, or
1342# absolute paths. The file defined by policy_file must exist for these
1343# directories to be searched. Missing or empty directories are ignored. (multi
1344# valued)
1345# Deprecated group/name - [DEFAULT]/policy_dirs
1346# This option is deprecated for removal.
1347# Its value may be silently ignored in the future.
1348#policy_dirs = policy.d
1349
1350
1351[paste_deploy]
1352
1353#
1354# From keystone
1355#
1356
1357# Name of the paste configuration file that defines the available pipelines.
1358# (string value)
1359#config_file = keystone-paste.ini
1360
1361
1362[policy]
1363
1364#
1365# From keystone
1366#
1367
1368# Entrypoint for the policy backend driver in the keystone.policy namespace.
1369# Supplied drivers are rules and sql. (string value)
1370#driver = sql
1371
1372# Maximum number of entities that will be returned in a policy collection.
1373# (integer value)
1374#list_limit = <None>
1375
1376
1377[resource]
1378
1379#
1380# From keystone
1381#
1382
1383# Entrypoint for the resource backend driver in the keystone.resource
1384# namespace. Supplied drivers are ldap and sql. If a resource driver is not
1385# specified, the assignment driver will choose the resource driver. (string
1386# value)
1387#driver = <None>
1388
1389# Toggle for resource caching. This has no effect unless global caching is
1390# enabled. (boolean value)
1391# Deprecated group/name - [assignment]/caching
1392#caching = true
1393
1394# TTL (in seconds) to cache resource data. This has no effect unless global
1395# caching is enabled. (integer value)
1396# Deprecated group/name - [assignment]/cache_time
1397#cache_time = <None>
1398
1399# Maximum number of entities that will be returned in a resource collection.
1400# (integer value)
1401# Deprecated group/name - [assignment]/list_limit
1402#list_limit = <None>
1403
1404
1405[revoke]
1406
1407#
1408# From keystone
1409#
1410
1411# Entrypoint for an implementation of the backend for persisting revocation
1412# events in the keystone.revoke namespace. Supplied drivers are kvs and sql.
1413# (string value)
1414#driver = sql
1415
1416# This value (calculated in seconds) is added to token expiration before a
1417# revocation event may be removed from the backend. (integer value)
1418#expiration_buffer = 1800
1419
1420# Toggle for revocation event caching. This has no effect unless global caching
1421# is enabled. (boolean value)
1422#caching = true
1423
1424# Time to cache the revocation list and the revocation events (in seconds).
1425# This has no effect unless global and token caching are enabled. (integer
1426# value)
1427# Deprecated group/name - [token]/revocation_cache_time
1428#cache_time = 3600
1429
1430
1431[role]
1432
1433#
1434# From keystone
1435#
1436
1437# Entrypoint for the role backend driver in the keystone.role namespace.
1438# Supplied drivers are ldap and sql. (string value)
1439#driver = <None>
1440
1441# Toggle for role caching. This has no effect unless global caching is enabled.
1442# (boolean value)
1443#caching = true
1444
1445# TTL (in seconds) to cache role data. This has no effect unless global caching
1446# is enabled. (integer value)
1447#cache_time = <None>
1448
1449# Maximum number of entities that will be returned in a role collection.
1450# (integer value)
1451#list_limit = <None>
1452
1453
1454[saml]
1455
1456#
1457# From keystone
1458#
1459
1460# Default TTL, in seconds, for any generated SAML assertion created by
1461# Keystone. (integer value)
1462#assertion_expiration_time = 3600
1463
1464# Binary to be called for XML signing. Install the appropriate package, specify
1465# absolute path or adjust your PATH environment variable if the binary cannot
1466# be found. (string value)
1467#xmlsec1_binary = xmlsec1
1468
1469# Path of the certfile for SAML signing. For non-production environments, you
1470# may be interested in using `keystone-manage pki_setup` to generate self-
1471# signed certificates. Note, the path cannot contain a comma. (string value)
1472#certfile = /etc/keystone/ssl/certs/signing_cert.pem
1473
1474# Path of the keyfile for SAML signing. Note, the path cannot contain a comma.
1475# (string value)
1476#keyfile = /etc/keystone/ssl/private/signing_key.pem
1477
1478# Entity ID value for unique Identity Provider identification. Usually FQDN is
1479# set with a suffix. A value is required to generate IDP Metadata. For example:
1480# https://keystone.example.com/v3/OS-FEDERATION/saml2/idp (string value)
1481#idp_entity_id = <None>
1482
1483# Identity Provider Single-Sign-On service value, required in the Identity
1484# Provider's metadata. A value is required to generate IDP Metadata. For
1485# example: https://keystone.example.com/v3/OS-FEDERATION/saml2/sso (string
1486# value)
1487#idp_sso_endpoint = <None>
1488
1489# Language used by the organization. (string value)
1490#idp_lang = en
1491
1492# Organization name the installation belongs to. (string value)
1493#idp_organization_name = <None>
1494
1495# Organization name to be displayed. (string value)
1496#idp_organization_display_name = <None>
1497
1498# URL of the organization. (string value)
1499#idp_organization_url = <None>
1500
1501# Company of contact person. (string value)
1502#idp_contact_company = <None>
1503
1504# Given name of contact person (string value)
1505#idp_contact_name = <None>
1506
1507# Surname of contact person. (string value)
1508#idp_contact_surname = <None>
1509
1510# Email address of contact person. (string value)
1511#idp_contact_email = <None>
1512
1513# Telephone number of contact person. (string value)
1514#idp_contact_telephone = <None>
1515
1516# The contact type describing the main point of contact for the identity
1517# provider. (string value)
1518# Allowed values: technical, support, administrative, billing, other
1519#idp_contact_type = other
1520
1521# Path to the Identity Provider Metadata file. This file should be generated
1522# with the keystone-manage saml_idp_metadata command. (string value)
1523#idp_metadata_path = /etc/keystone/saml2_idp_metadata.xml
1524
1525# The prefix to use for the RelayState SAML attribute, used when generating ECP
1526# wrapped assertions. (string value)
1527#relay_state_prefix = ss:mem:
1528
1529
1530[signing]
1531
1532#
1533# From keystone
1534#
1535
1536# Path of the certfile for token signing. For non-production environments, you
1537# may be interested in using `keystone-manage pki_setup` to generate self-
1538# signed certificates. (string value)
1539#certfile = /etc/keystone/ssl/certs/signing_cert.pem
1540
1541# Path of the keyfile for token signing. (string value)
1542#keyfile = /etc/keystone/ssl/private/signing_key.pem
1543
1544# Path of the CA for token signing. (string value)
1545#ca_certs = /etc/keystone/ssl/certs/ca.pem
1546
1547# Path of the CA key for token signing. (string value)
1548#ca_key = /etc/keystone/ssl/private/cakey.pem
1549
1550# Key size (in bits) for token signing cert (auto generated certificate).
1551# (integer value)
1552# Minimum value: 1024
1553#key_size = 2048
1554
1555# Days the token signing cert is valid for (auto generated certificate).
1556# (integer value)
1557#valid_days = 3650
1558
1559# Certificate subject (auto generated certificate) for token signing. (string
1560# value)
1561#cert_subject = /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
1562
1563
1564[ssl]
1565
1566#
1567# From keystone
1568#
1569
1570# Path of the CA key file for SSL. (string value)
1571#ca_key = /etc/keystone/ssl/private/cakey.pem
1572
1573# SSL key length (in bits) (auto generated certificate). (integer value)
1574# Minimum value: 1024
1575#key_size = 1024
1576
1577# Days the certificate is valid for once signed (auto generated certificate).
1578# (integer value)
1579#valid_days = 3650
1580
1581# SSL certificate subject (auto generated certificate). (string value)
1582#cert_subject = /C=US/ST=Unset/L=Unset/O=Unset/CN=localhost
1583
1584
1585[token]
1586
1587#
1588# From keystone
1589#
1590
1591# External auth mechanisms that should add bind information to token, e.g.,
1592# kerberos,x509. (list value)
1593#bind =
1594
1595# Enforcement policy on tokens presented to Keystone with bind information. One
1596# of disabled, permissive, strict, required or a specifically required bind
1597# mode, e.g., kerberos or x509 to require binding to that authentication.
1598# (string value)
1599#enforce_token_bind = permissive
1600
1601# Amount of time a token should remain valid (in seconds). (integer value)
1602#expiration = 3600
1603
1604# Controls the token construction, validation, and revocation operations.
1605# Entrypoint in the keystone.token.provider namespace. Core providers are
1606# [fernet|pkiz|pki|uuid]. (string value)
1607#provider = uuid
1608#expiration = 3600
Jakub Pavlik6a6a6212016-01-31 15:20:24 +01001609expiration = {{ server.tokens.expiration }}
Jakub Pavlik0fa0f442015-10-19 16:32:35 +02001610# Controls the token construction, validation, and revocation operations. Core
1611# providers are "keystone.token.providers.[fernet|pkiz|pki|uuid].Provider".
1612# (string value)
1613#provider = keystone.token.providers.uuid.Provider
1614{% if server.tokens.engine == 'fernet' %}
1615provider = keystone.token.providers.fernet.Provider
1616{% endif %}
1617
1618#driver=keystone.token.persistence.backends.memcache_pool.Token
1619
1620# Entrypoint for the token persistence backend driver in the
1621# keystone.token.persistence namespace. Supplied drivers are kvs, memcache,
1622# memcache_pool, and sql. (string value)
1623driver = memcache_pool
1624
1625# Toggle for token system caching. This has no effect unless global caching is
1626# enabled. (boolean value)
1627#caching = true
1628
1629# Time to cache tokens (in seconds). This has no effect unless global and token
1630# caching are enabled. (integer value)
1631#cache_time = <None>
1632
1633# Revoke token by token identifier. Setting revoke_by_id to true enables
1634# various forms of enumerating tokens, e.g. `list tokens for user`. These
1635# enumerations are processed to determine the list of tokens to revoke. Only
1636# disable if you are switching to using the Revoke extension with a backend
1637# other than KVS, which stores events in memory. (boolean value)
1638#revoke_by_id = true
1639
1640# Allow rescoping of scoped token. Setting allow_rescoped_scoped_token to false
1641# prevents a user from exchanging a scoped token for any other token. (boolean
1642# value)
1643#allow_rescope_scoped_token = true
1644
1645# The hash algorithm to use for PKI tokens. This can be set to any algorithm
1646# that hashlib supports. WARNING: Before changing this value, the auth_token
1647# middleware must be configured with the hash_algorithms, otherwise token
1648# revocation will not be processed correctly. (string value)
1649#hash_algorithm = md5
1650
1651
1652[tokenless_auth]
1653
1654#
1655# From keystone
1656#
1657
1658# The list of trusted issuers to further filter the certificates that are
1659# allowed to participate in the X.509 tokenless authorization. If the option is
1660# absent then no certificates will be allowed. The naming format for the
1661# attributes of a Distinguished Name(DN) must be separated by a comma and
1662# contain no spaces. This configuration option may be repeated for multiple
1663# values. For example: trusted_issuer=CN=john,OU=keystone,O=openstack
1664# trusted_issuer=CN=mary,OU=eng,O=abc (multi valued)
1665#trusted_issuer =
1666
1667# The protocol name for the X.509 tokenless authorization along with the option
1668# issuer_attribute below can look up its corresponding mapping. (string value)
1669#protocol = x509
1670
1671# The issuer attribute that is served as an IdP ID for the X.509 tokenless
1672# authorization along with the protocol to look up its corresponding mapping.
1673# It is the environment variable in the WSGI environment that references to the
1674# issuer of the client certificate. (string value)
1675#issuer_attribute = SSL_CLIENT_I_DN
1676
1677
1678[trust]
1679
1680#
1681# From keystone
1682#
1683
1684# Delegation and impersonation features can be optionally disabled. (boolean
1685# value)
1686#enabled = true
1687
1688# Enable redelegation feature. (boolean value)
1689#allow_redelegation = false
1690
1691# Maximum depth of trust redelegation. (integer value)
1692#max_redelegation_count = 3
1693
1694# Entrypoint for the trust backend driver in the keystone.trust namespace.
1695# (string value)
1696#driver = sql
1697
1698[extra_headers]
1699Distribution = Ubuntu