· 9 years ago · Feb 08, 2017, 11:02 AM
1[DEFAULT]
2
3#
4# From glance.api
5#
6
7# When true, this option sets the owner of an image to be the tenant.
8# Otherwise, the owner of the image will be the authenticated user
9# issuing the request. (boolean value)
10#owner_is_tenant = true
11
12# Role used to identify an authenticated user as administrator.
13# (string value)
14#admin_role = admin
15
16# Allow unauthenticated users to access the API with read-only
17# privileges. This only applies when using ContextMiddleware. (boolean
18# value)
19#allow_anonymous_access = false
20
21# Limits request ID length. (integer value)
22#max_request_id_length = 64
23
24# Public url to use for versions endpoint. The default is None, which
25# will use the request's host_url attribute to populate the URL base.
26# If Glance is operating behind a proxy, you will want to change this
27# to represent the proxy's URL. (string value)
28#public_endpoint = <None>
29
30# Whether to allow users to specify image properties beyond what the
31# image schema provides (boolean value)
32#allow_additional_image_properties = true
33
34# Maximum number of image members per image. Negative values evaluate
35# to unlimited. (integer value)
36#image_member_quota = 128
37
38# Maximum number of properties allowed on an image. Negative values
39# evaluate to unlimited. (integer value)
40#image_property_quota = 128
41
42# Maximum number of tags allowed on an image. Negative values evaluate
43# to unlimited. (integer value)
44#image_tag_quota = 128
45
46# Maximum number of locations allowed on an image. Negative values
47# evaluate to unlimited. (integer value)
48#image_location_quota = 10
49
50# Python module path of data access API (string value)
51#data_api = glance.db.sqlalchemy.api
52
53# Default value for the number of items returned by a request if not
54# specified explicitly in the request (integer value)
55#limit_param_default = 25
56
57# Maximum permissible number of items that could be returned by a
58# request (integer value)
59#api_limit_max = 1000
60
61# Whether to include the backend image storage location in image
62# properties. Revealing storage location can be a security risk, so
63# use this setting with caution! (boolean value)
64#show_image_direct_url = false
65
66# Whether to include the backend image locations in image properties.
67# For example, if using the file system store a URL of
68# "file:///path/to/image" will be returned to the user in the
69# 'direct_url' meta-data field. Revealing storage location can be a
70# security risk, so use this setting with caution! Setting this to
71# true overrides the show_image_direct_url option. (boolean value)
72#show_multiple_locations = false
73
74# Maximum size of image a user can upload in bytes. Defaults to
75# 1099511627776 bytes (1 TB).WARNING: this value should only be
76# increased after careful consideration and must be set to a value
77# under 8 EB (9223372036854775808). (integer value)
78# Maximum value: 9223372036854775808
79#image_size_cap = 1099511627776
80
81# Set a system wide quota for every user. This value is the total
82# capacity that a user can use across all storage systems. A value of
83# 0 means unlimited.Optional unit can be specified for the value.
84# Accepted units are B, KB, MB, GB and TB representing Bytes,
85# KiloBytes, MegaBytes, GigaBytes and TeraBytes respectively. If no
86# unit is specified then Bytes is assumed. Note that there should not
87# be any space between value and unit and units are case sensitive.
88# (string value)
89#user_storage_quota = 0
90
91# Deploy the v1 OpenStack Images API. (boolean value)
92#enable_v1_api = true
93
94# Deploy the v2 OpenStack Images API. (boolean value)
95#enable_v2_api = true
96
97# Deploy the v1 OpenStack Registry API. (boolean value)
98#enable_v1_registry = true
99
100# Deploy the v2 OpenStack Registry API. (boolean value)
101#enable_v2_registry = true
102
103# The hostname/IP of the pydev process listening for debug connections
104# (string value)
105#pydev_worker_debug_host = <None>
106
107# The port on which a pydev process is listening for connections.
108# (port value)
109# Minimum value: 0
110# Maximum value: 65535
111#pydev_worker_debug_port = 5678
112
113# AES key for encrypting store 'location' metadata. This includes, if
114# used, Swift or S3 credentials. Should be set to a random string of
115# length 16, 24 or 32 bytes (string value)
116#metadata_encryption_key = <None>
117
118# Digest algorithm which will be used for digital signature. Use the
119# command "openssl list-message-digest-algorithms" to get the
120# available algorithms supported by the version of OpenSSL on the
121# platform. Examples are "sha1", "sha256", "sha512", etc. (string
122# value)
123#digest_algorithm = sha256
124
125# This value sets what strategy will be used to determine the image
126# location order. Currently two strategies are packaged with Glance
127# 'location_order' and 'store_type'. (string value)
128# Allowed values: location_order, store_type
129#location_strategy = location_order
130
131# The location of the property protection file.This file contains the
132# rules for property protections and the roles/policies associated
133# with it. If this config value is not specified, by default, property
134# protections won't be enforced. If a value is specified and the file
135# is not found, then the glance-api service will not start. (string
136# value)
137#property_protection_file = <None>
138
139# This config value indicates whether "roles" or "policies" are used
140# in the property protection file. (string value)
141# Allowed values: roles, policies
142#property_protection_rule_format = roles
143
144# Modules of exceptions that are permitted to be recreated upon
145# receiving exception data from an rpc call. (list value)
146#allowed_rpc_exception_modules = glance.common.exception,builtins,exceptions
147
148# Address to bind the server. Useful when selecting a particular
149# network interface. (string value)
150#bind_host = 0.0.0.0
151
152# The port on which the server will listen. (port value)
153# Minimum value: 0
154# Maximum value: 65535
155#bind_port = <None>
156
157# The number of child process workers that will be created to service
158# requests. The default will be equal to the number of CPUs available.
159# (integer value)
160#workers = <None>
161
162# Maximum line size of message headers to be accepted. max_header_line
163# may need to be increased when using large tokens (typically those
164# generated by the Keystone v3 API with big service catalogs (integer
165# value)
166#max_header_line = 16384
167
168# If False, server will return the header "Connection: close", If
169# True, server will return "Connection: Keep-Alive" in its responses.
170# In order to close the client socket connection explicitly after the
171# response is sent and read successfully by the client, you simply
172# have to set this option to False when you create a wsgi server.
173# (boolean value)
174#http_keepalive = true
175
176# Timeout for client connections' socket operations. If an incoming
177# connection is idle for this number of seconds it will be closed. A
178# value of '0' means wait forever. (integer value)
179#client_socket_timeout = 900
180
181# The backlog value that will be used when creating the TCP listener
182# socket. (integer value)
183#backlog = 4096
184
185# The value for the socket option TCP_KEEPIDLE. This is the time in
186# seconds that the connection must be idle before TCP starts sending
187# keepalive probes. (integer value)
188#tcp_keepidle = 600
189
190# CA certificate file to use to verify connecting clients. (string
191# value)
192#ca_file = <None>
193
194# Certificate file to use when starting API server securely. (string
195# value)
196#cert_file = <None>
197
198# Private key file to use when starting API server securely. (string
199# value)
200#key_file = <None>
201
202# The path to the sqlite file database that will be used for image
203# cache management. (string value)
204#image_cache_sqlite_db = cache.db
205
206# The driver to use for image cache management. (string value)
207#image_cache_driver = sqlite
208
209# The upper limit (the maximum size of accumulated cache in bytes)
210# beyond which the cache pruner, if running, starts cleaning the image
211# cache. (integer value)
212#image_cache_max_size = 10737418240
213
214# The amount of time to let an incomplete image remain in the cache,
215# before the cache cleaner, if running, will remove the incomplete
216# image. (integer value)
217#image_cache_stall_time = 86400
218
219# Base directory that the image cache uses. (string value)
220#image_cache_dir = <None>
221
222# Default publisher_id for outgoing notifications. (string value)
223#default_publisher_id = image.localhost
224
225# List of disabled notifications. A notification can be given either
226# as a notification type to disable a single event, or as a
227# notification group prefix to disable all events within a group.
228# Example: if this config option is set to ["image.create",
229# "metadef_namespace"], then "image.create" notification will not be
230# sent after image is created and none of the notifications for
231# metadefinition namespaces will be sent. (list value)
232#disabled_notifications =
233
234# Address to find the registry server. (string value)
235#registry_host = 0.0.0.0
236
237# Port the registry server is listening on. (port value)
238# Minimum value: 0
239# Maximum value: 65535
240#registry_port = 9191
241
242# Whether to pass through the user token when making requests to the
243# registry. To prevent failures with token expiration during big files
244# upload, it is recommended to set this parameter to False.If
245# "use_user_token" is not in effect, then admin credentials can be
246# specified. (boolean value)
247# This option is deprecated for removal.
248# Its value may be silently ignored in the future.
249# Reason: This option was considered harmful and has been deprecated
250# in M release. It will be removed in O release. For more information
251# read OSSN-0060. Related functionality with uploading big images has
252# been implemented with Keystone trusts support.
253#use_user_token = true
254
255# The administrators user name. If "use_user_token" is not in effect,
256# then admin credentials can be specified. (string value)
257# This option is deprecated for removal.
258# Its value may be silently ignored in the future.
259# Reason: This option was considered harmful and has been deprecated
260# in M release. It will be removed in O release. For more information
261# read OSSN-0060. Related functionality with uploading big images has
262# been implemented with Keystone trusts support.
263#admin_user = <None>
264
265# The administrators password. If "use_user_token" is not in effect,
266# then admin credentials can be specified. (string value)
267# This option is deprecated for removal.
268# Its value may be silently ignored in the future.
269# Reason: This option was considered harmful and has been deprecated
270# in M release. It will be removed in O release. For more information
271# read OSSN-0060. Related functionality with uploading big images has
272# been implemented with Keystone trusts support.
273#admin_password = <None>
274
275# The tenant name of the administrative user. If "use_user_token" is
276# not in effect, then admin tenant name can be specified. (string
277# value)
278# This option is deprecated for removal.
279# Its value may be silently ignored in the future.
280# Reason: This option was considered harmful and has been deprecated
281# in M release. It will be removed in O release. For more information
282# read OSSN-0060. Related functionality with uploading big images has
283# been implemented with Keystone trusts support.
284#admin_tenant_name = <None>
285
286# The URL to the keystone service. If "use_user_token" is not in
287# effect and using keystone auth, then URL of keystone can be
288# specified. (string value)
289# This option is deprecated for removal.
290# Its value may be silently ignored in the future.
291# Reason: This option was considered harmful and has been deprecated
292# in M release. It will be removed in O release. For more information
293# read OSSN-0060. Related functionality with uploading big images has
294# been implemented with Keystone trusts support.
295#auth_url = <None>
296
297# The strategy to use for authentication. If "use_user_token" is not
298# in effect, then auth strategy can be specified. (string value)
299# This option is deprecated for removal.
300# Its value may be silently ignored in the future.
301# Reason: This option was considered harmful and has been deprecated
302# in M release. It will be removed in O release. For more information
303# read OSSN-0060. Related functionality with uploading big images has
304# been implemented with Keystone trusts support.
305#auth_strategy = noauth
306
307# The region for the authentication service. If "use_user_token" is
308# not in effect and using keystone auth, then region name can be
309# specified. (string value)
310# This option is deprecated for removal.
311# Its value may be silently ignored in the future.
312# Reason: This option was considered harmful and has been deprecated
313# in M release. It will be removed in O release. For more information
314# read OSSN-0060. Related functionality with uploading big images has
315# been implemented with Keystone trusts support.
316#auth_region = <None>
317
318# The protocol to use for communication with the registry server.
319# Either http or https. (string value)
320#registry_client_protocol = http
321
322# The path to the key file to use in SSL connections to the registry
323# server, if any. Alternately, you may set the GLANCE_CLIENT_KEY_FILE
324# environment variable to a filepath of the key file (string value)
325#registry_client_key_file = <None>
326
327# The path to the cert file to use in SSL connections to the registry
328# server, if any. Alternately, you may set the GLANCE_CLIENT_CERT_FILE
329# environment variable to a filepath of the CA cert file (string
330# value)
331#registry_client_cert_file = <None>
332
333# The path to the certifying authority cert file to use in SSL
334# connections to the registry server, if any. Alternately, you may set
335# the GLANCE_CLIENT_CA_FILE environment variable to a filepath of the
336# CA cert file. (string value)
337#registry_client_ca_file = <None>
338
339# When using SSL in connections to the registry server, do not require
340# validation via a certifying authority. This is the registry's
341# equivalent of specifying --insecure on the command line using
342# glanceclient for the API. (boolean value)
343#registry_client_insecure = false
344
345# The period of time, in seconds, that the API server will wait for a
346# registry request to complete. A value of 0 implies no timeout.
347# (integer value)
348#registry_client_timeout = 600
349
350# Whether to pass through headers containing user and tenant
351# information when making requests to the registry. This allows the
352# registry to use the context middleware without keystonemiddleware's
353# auth_token middleware, removing calls to the keystone auth service.
354# It is recommended that when using this option, secure communication
355# between glance api and glance registry is ensured by means other
356# than auth_token middleware. (boolean value)
357#send_identity_headers = false
358
359# The amount of time in seconds to delay before performing a delete.
360# (integer value)
361#scrub_time = 0
362
363# The size of thread pool to be used for scrubbing images. The default
364# is one, which signifies serial scrubbing. Any value above one
365# indicates the max number of images that may be scrubbed in parallel.
366# (integer value)
367#scrub_pool_size = 1
368
369# Turn on/off delayed delete. (boolean value)
370#delayed_delete = false
371
372#
373# From oslo.log
374#
375
376# If set to true, the logging level will be set to DEBUG instead of
377# the default INFO level. (boolean value)
378#debug = false
379
380# If set to false, the logging level will be set to WARNING instead of
381# the default INFO level. (boolean value)
382# This option is deprecated for removal.
383# Its value may be silently ignored in the future.
384#verbose = true
385
386# The name of a logging configuration file. This file is appended to
387# any existing logging configuration files. For details about logging
388# configuration files, see the Python logging module documentation.
389# Note that when logging configuration files are used then all logging
390# configuration is set in the configuration file and other logging
391# configuration options are ignored (for example,
392# logging_context_format_string). (string value)
393# Deprecated group/name - [DEFAULT]/log_config
394#log_config_append = <None>
395
396# Defines the format string for %%(asctime)s in log records. Default:
397# %(default)s . This option is ignored if log_config_append is set.
398# (string value)
399#log_date_format = %Y-%m-%d %H:%M:%S
400
401# (Optional) Name of log file to send logging output to. If no default
402# is set, logging will go to stderr as defined by use_stderr. This
403# option is ignored if log_config_append is set. (string value)
404# Deprecated group/name - [DEFAULT]/logfile
405#log_file = <None>
406
407# (Optional) The base directory used for relative log_file paths.
408# This option is ignored if log_config_append is set. (string value)
409# Deprecated group/name - [DEFAULT]/logdir
410#log_dir = <None>
411
412# Uses logging handler designed to watch file system. When log file is
413# moved or removed this handler will open a new log file with
414# specified path instantaneously. It makes sense only if log_file
415# option is specified and Linux platform is used. This option is
416# ignored if log_config_append is set. (boolean value)
417#watch_log_file = false
418
419# Use syslog for logging. Existing syslog format is DEPRECATED and
420# will be changed later to honor RFC5424. This option is ignored if
421# log_config_append is set. (boolean value)
422#use_syslog = false
423
424# Syslog facility to receive log lines. This option is ignored if
425# log_config_append is set. (string value)
426#syslog_log_facility = LOG_USER
427
428# Log output to standard error. This option is ignored if
429# log_config_append is set. (boolean value)
430#use_stderr = true
431
432# Format string to use for log messages with context. (string value)
433#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
434
435# Format string to use for log messages when context is undefined.
436# (string value)
437#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
438
439# Additional data to append to log message when logging level for the
440# message is DEBUG. (string value)
441#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
442
443# Prefix each line of exception output with this format. (string
444# value)
445#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
446
447# Defines the format string for %(user_identity)s that is used in
448# logging_context_format_string. (string value)
449#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
450
451# List of package logging levels in logger=LEVEL pairs. This option is
452# ignored if log_config_append is set. (list value)
453#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
454
455# Enables or disables publication of error events. (boolean value)
456#publish_errors = false
457
458# The format for an instance that is passed with the log message.
459# (string value)
460#instance_format = "[instance: %(uuid)s] "
461
462# The format for an instance UUID that is passed with the log message.
463# (string value)
464#instance_uuid_format = "[instance: %(uuid)s] "
465
466# Enables or disables fatal status of deprecations. (boolean value)
467#fatal_deprecations = false
468
469#
470# From oslo.messaging
471#
472
473# Size of RPC connection pool. (integer value)
474# Deprecated group/name - [DEFAULT]/rpc_conn_pool_size
475#rpc_conn_pool_size = 30
476
477# ZeroMQ bind address. Should be a wildcard (*), an ethernet
478# interface, or IP. The "host" option should point or resolve to this
479# address. (string value)
480#rpc_zmq_bind_address = *
481
482# MatchMaker driver. (string value)
483# Allowed values: redis, dummy
484#rpc_zmq_matchmaker = redis
485
486# Type of concurrency used. Either "native" or "eventlet" (string
487# value)
488#rpc_zmq_concurrency = eventlet
489
490# Number of ZeroMQ contexts, defaults to 1. (integer value)
491#rpc_zmq_contexts = 1
492
493# Maximum number of ingress messages to locally buffer per topic.
494# Default is unlimited. (integer value)
495#rpc_zmq_topic_backlog = <None>
496
497# Directory for holding IPC sockets. (string value)
498#rpc_zmq_ipc_dir = /var/run/openstack
499
500# Name of this node. Must be a valid hostname, FQDN, or IP address.
501# Must match "host" option, if running Nova. (string value)
502#rpc_zmq_host = localhost
503
504# Seconds to wait before a cast expires (TTL). The default value of -1
505# specifies an infinite linger period. The value of 0 specifies no
506# linger period. Pending messages shall be discarded immediately when
507# the socket is closed. Only supported by impl_zmq. (integer value)
508#rpc_cast_timeout = -1
509
510# The default number of seconds that poll should wait. Poll raises
511# timeout exception when timeout expired. (integer value)
512#rpc_poll_timeout = 1
513
514# Expiration timeout in seconds of a name service record about
515# existing target ( < 0 means no timeout). (integer value)
516#zmq_target_expire = 120
517
518# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy.
519# (boolean value)
520#use_pub_sub = true
521
522# Minimal port number for random ports range. (port value)
523# Minimum value: 0
524# Maximum value: 65535
525#rpc_zmq_min_port = 49152
526
527# Maximal port number for random ports range. (integer value)
528# Minimum value: 1
529# Maximum value: 65536
530#rpc_zmq_max_port = 65536
531
532# Number of retries to find free port number before fail with
533# ZMQBindError. (integer value)
534#rpc_zmq_bind_port_retries = 100
535
536# Size of executor thread pool. (integer value)
537# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
538#executor_thread_pool_size = 64
539
540# Seconds to wait for a response from a call. (integer value)
541#rpc_response_timeout = 60
542
543# A URL representing the messaging driver to use and its full
544# configuration. If not set, we fall back to the rpc_backend option
545# and driver specific configuration. (string value)
546#transport_url = <None>
547
548# The messaging driver to use, defaults to rabbit. Other drivers
549# include amqp and zmq. (string value)
550#rpc_backend = rabbit
551
552# The default exchange under which topics are scoped. May be
553# overridden by an exchange name specified in the transport_url
554# option. (string value)
555#control_exchange = openstack
556
557
558[cors]
559
560#
561# From oslo.middleware.cors
562#
563
564# Indicate whether this resource may be shared with the domain
565# received in the requests "origin" header. (list value)
566#allowed_origin = <None>
567
568# Indicate that the actual request can include user credentials
569# (boolean value)
570#allow_credentials = true
571
572# Indicate which headers are safe to expose to the API. Defaults to
573# HTTP Simple Headers. (list value)
574#expose_headers = X-Image-Meta-Checksum,X-Auth-Token,X-Subject-Token,X-Service-Token,X-OpenStack-Request-ID
575
576# Maximum cache age of CORS preflight requests. (integer value)
577#max_age = 3600
578
579# Indicate which methods can be used during the actual request. (list
580# value)
581#allow_methods = GET,PUT,POST,DELETE,PATCH
582
583# Indicate which header field names may be used during the actual
584# request. (list value)
585#allow_headers = Content-MD5,X-Image-Meta-Checksum,X-Storage-Token,Accept-Encoding,X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-OpenStack-Request-ID
586
587
588[cors.subdomain]
589
590#
591# From oslo.middleware.cors
592#
593
594# Indicate whether this resource may be shared with the domain
595# received in the requests "origin" header. (list value)
596#allowed_origin = <None>
597
598# Indicate that the actual request can include user credentials
599# (boolean value)
600#allow_credentials = true
601
602# Indicate which headers are safe to expose to the API. Defaults to
603# HTTP Simple Headers. (list value)
604#expose_headers = X-Image-Meta-Checksum,X-Auth-Token,X-Subject-Token,X-Service-Token,X-OpenStack-Request-ID
605
606# Maximum cache age of CORS preflight requests. (integer value)
607#max_age = 3600
608
609# Indicate which methods can be used during the actual request. (list
610# value)
611#allow_methods = GET,PUT,POST,DELETE,PATCH
612
613# Indicate which header field names may be used during the actual
614# request. (list value)
615#allow_headers = Content-MD5,X-Image-Meta-Checksum,X-Storage-Token,Accept-Encoding,X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-OpenStack-Request-ID
616
617
618[database]
619
620#
621# From oslo.db
622#
623
624# The file name to use with SQLite. (string value)
625# Deprecated group/name - [DEFAULT]/sqlite_db
626sqlite_db = /var/lib/glance/glance.sqlite
627
628# If True, SQLite uses synchronous mode. (boolean value)
629# Deprecated group/name - [DEFAULT]/sqlite_synchronous
630#sqlite_synchronous = true
631
632# The back end to use for the database. (string value)
633# Deprecated group/name - [DEFAULT]/db_backend
634backend = sqlalchemy
635
636# The SQLAlchemy connection string to use to connect to the database.
637# (string value)
638# Deprecated group/name - [DEFAULT]/sql_connection
639# Deprecated group/name - [DATABASE]/sql_connection
640# Deprecated group/name - [sql]/connection
641#connection = <None>
642
643# The SQLAlchemy connection string to use to connect to the slave
644# database. (string value)
645#slave_connection = <None>
646
647# The SQL mode to be used for MySQL sessions. This option, including
648# the default, overrides any server-set SQL mode. To use whatever SQL
649# mode is set by the server configuration, set this to no value.
650# Example: mysql_sql_mode= (string value)
651#mysql_sql_mode = TRADITIONAL
652
653# Timeout before idle SQL connections are reaped. (integer value)
654# Deprecated group/name - [DEFAULT]/sql_idle_timeout
655# Deprecated group/name - [DATABASE]/sql_idle_timeout
656# Deprecated group/name - [sql]/idle_timeout
657#idle_timeout = 3600
658
659# Minimum number of SQL connections to keep open in a pool. (integer
660# value)
661# Deprecated group/name - [DEFAULT]/sql_min_pool_size
662# Deprecated group/name - [DATABASE]/sql_min_pool_size
663#min_pool_size = 1
664
665# Maximum number of SQL connections to keep open in a pool. (integer
666# value)
667# Deprecated group/name - [DEFAULT]/sql_max_pool_size
668# Deprecated group/name - [DATABASE]/sql_max_pool_size
669#max_pool_size = <None>
670
671# Maximum number of database connection retries during startup. Set to
672# -1 to specify an infinite retry count. (integer value)
673# Deprecated group/name - [DEFAULT]/sql_max_retries
674# Deprecated group/name - [DATABASE]/sql_max_retries
675#max_retries = 10
676
677# Interval between retries of opening a SQL connection. (integer
678# value)
679# Deprecated group/name - [DEFAULT]/sql_retry_interval
680# Deprecated group/name - [DATABASE]/reconnect_interval
681#retry_interval = 10
682
683# If set, use this value for max_overflow with SQLAlchemy. (integer
684# value)
685# Deprecated group/name - [DEFAULT]/sql_max_overflow
686# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
687#max_overflow = 50
688
689# Verbosity of SQL debugging information: 0=None, 100=Everything.
690# (integer value)
691# Deprecated group/name - [DEFAULT]/sql_connection_debug
692#connection_debug = 0
693
694# Add Python stack traces to SQL as comment strings. (boolean value)
695# Deprecated group/name - [DEFAULT]/sql_connection_trace
696#connection_trace = false
697
698# If set, use this value for pool_timeout with SQLAlchemy. (integer
699# value)
700# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
701#pool_timeout = <None>
702
703# Enable the experimental use of database reconnect on connection
704# lost. (boolean value)
705#use_db_reconnect = false
706
707# Seconds between retries of a database transaction. (integer value)
708#db_retry_interval = 1
709
710# If True, increases the interval between retries of a database
711# operation up to db_max_retry_interval. (boolean value)
712#db_inc_retry_interval = true
713
714# If db_inc_retry_interval is set, the maximum seconds between retries
715# of a database operation. (integer value)
716#db_max_retry_interval = 10
717
718# Maximum retries in case of connection error or deadlock error before
719# error is raised. Set to -1 to specify an infinite retry count.
720# (integer value)
721#db_max_retries = 20
722
723#
724# From oslo.db.concurrency
725#
726
727# Enable the experimental use of thread pooling for all DB API calls
728# (boolean value)
729# Deprecated group/name - [DEFAULT]/dbapi_use_tpool
730#use_tpool = false
731
732
733[glance_store]
734
735#
736# From glance.store
737#
738
739# List of stores enabled. Valid stores are: cinder, file, http, rbd,
740# sheepdog, swift, s3, vsphere (list value)
741#stores = file,http
742
743# Default scheme to use to store image data. The scheme must be
744# registered by one of the stores defined by the 'stores' config
745# option. (string value)
746#default_store = file
747
748# Minimum interval seconds to execute updating dynamic storage
749# capabilities based on backend status then. It's not a periodic
750# routine, the update logic will be executed only when interval
751# seconds elapsed and an operation of store has triggered. The feature
752# will be enabled only when the option value greater then zero.
753# (integer value)
754#store_capabilities_update_min_interval = 0
755
756# Specify the path to the CA bundle file to use in verifying the
757# remote server certificate. (string value)
758#https_ca_certificates_file = <None>
759
760# If true, the remote server certificate is not verified. If false,
761# then the default CA truststore is used for verification. This option
762# is ignored if "https_ca_certificates_file" is set. (boolean value)
763#https_insecure = true
764
765# Specify the http/https proxy information that should be used to
766# connect to the remote server. The proxy information should be a key
767# value pair of the scheme and proxy. e.g. http:10.0.0.1:3128. You can
768# specify proxies for multiple schemes by seperating the key value
769# pairs with a comma.e.g. http:10.0.0.1:3128, https:10.0.0.1:1080.
770# (dict value)
771#http_proxy_information =
772
773# If True, swiftclient won't check for a valid SSL certificate when
774# authenticating. (boolean value)
775#swift_store_auth_insecure = false
776
777# A string giving the CA certificate file to use in SSL connections
778# for verifying certs. (string value)
779#swift_store_cacert = <None>
780
781# The region of the swift endpoint to be used for single tenant. This
782# setting is only necessary if the tenant has multiple swift
783# endpoints. (string value)
784#swift_store_region = <None>
785
786# If set, the configured endpoint will be used. If None, the storage
787# url from the auth response will be used. (string value)
788#swift_store_endpoint = <None>
789
790# A string giving the endpoint type of the swift service to use
791# (publicURL, adminURL or internalURL). This setting is only used if
792# swift_store_auth_version is 2. (string value)
793#swift_store_endpoint_type = publicURL
794
795# A string giving the service type of the swift service to use. This
796# setting is only used if swift_store_auth_version is 2. (string
797# value)
798#swift_store_service_type = object-store
799
800# Container within the account that the account should use for storing
801# images in Swift when using single container mode. In multiple
802# container mode, this will be the prefix for all containers. (string
803# value)
804#swift_store_container = glance
805
806# The size, in MB, that Glance will start chunking image files and do
807# a large object manifest in Swift. (integer value)
808#swift_store_large_object_size = 5120
809
810# The amount of data written to a temporary disk buffer during the
811# process of chunking the image file. (integer value)
812#swift_store_large_object_chunk_size = 200
813
814# A boolean value that determines if we create the container if it
815# does not exist. (boolean value)
816#swift_store_create_container_on_put = false
817
818# If set to True, enables multi-tenant storage mode which causes
819# Glance images to be stored in tenant specific Swift accounts.
820# (boolean value)
821#swift_store_multi_tenant = false
822
823# When set to 0, a single-tenant store will only use one container to
824# store all images. When set to an integer value between 1 and 32, a
825# single-tenant store will use multiple containers to store images,
826# and this value will determine how many containers are created.Used
827# only when swift_store_multi_tenant is disabled. The total number of
828# containers that will be used is equal to 16^N, so if this config
829# option is set to 2, then 16^2=256 containers will be used to store
830# images. (integer value)
831#swift_store_multiple_containers_seed = 0
832
833# A list of tenants that will be granted read/write access on all
834# Swift containers created by Glance in multi-tenant mode. (list
835# value)
836#swift_store_admin_tenants =
837
838# If set to False, disables SSL layer compression of https swift
839# requests. Setting to False may improve performance for images which
840# are already in a compressed format, eg qcow2. (boolean value)
841#swift_store_ssl_compression = true
842
843# The number of times a Swift download will be retried before the
844# request fails. (integer value)
845#swift_store_retry_get_count = 0
846
847# The period of time (in seconds) before token expirationwhen
848# glance_store will try to reques new user token. Default value 60 sec
849# means that if token is going to expire in 1 min then glance_store
850# request new user token. (integer value)
851#swift_store_expire_soon_interval = 60
852
853# If set to True create a trust for each add/get request to Multi-
854# tenant store in order to prevent authentication token to be expired
855# during uploading/downloading data. If set to False then user token
856# is used for Swift connection (so no overhead on trust creation).
857# Please note that this option is considered only and only if
858# swift_store_multi_tenant=True (boolean value)
859#swift_store_use_trusts = true
860
861# The reference to the default swift account/backing store parameters
862# to use for adding new images. (string value)
863#default_swift_reference = ref1
864
865# Version of the authentication service to use. Valid versions are 2
866# and 3 for keystone and 1 (deprecated) for swauth and rackspace.
867# (deprecated - use "auth_version" in swift_store_config_file) (string
868# value)
869#swift_store_auth_version = 2
870
871# The address where the Swift authentication service is listening.
872# (deprecated - use "auth_address" in swift_store_config_file) (string
873# value)
874#swift_store_auth_address = <None>
875
876# The user to authenticate against the Swift authentication service
877# (deprecated - use "user" in swift_store_config_file) (string value)
878#swift_store_user = <None>
879
880# Auth key for the user authenticating against the Swift
881# authentication service. (deprecated - use "key" in
882# swift_store_config_file) (string value)
883#swift_store_key = <None>
884
885# The config file that has the swift account(s)configs. (string value)
886#swift_store_config_file = <None>
887
888# RADOS images will be chunked into objects of this size (in
889# megabytes). For best performance, this should be a power of two.
890# (integer value)
891#rbd_store_chunk_size = 8
892
893# RADOS pool in which images are stored. (string value)
894#rbd_store_pool = images
895
896# RADOS user to authenticate as (only applicable if using Cephx. If
897# <None>, a default will be chosen based on the client. section in
898# rbd_store_ceph_conf) (string value)
899#rbd_store_user = <None>
900
901# Ceph configuration file path. If <None>, librados will locate the
902# default config. If using cephx authentication, this file should
903# include a reference to the right keyring in a client.<USER> section
904# (string value)
905#rbd_store_ceph_conf = /etc/ceph/ceph.conf
906
907# Timeout value (in seconds) used when connecting to ceph cluster. If
908# value <= 0, no timeout is set and default librados value is used.
909# (integer value)
910#rados_connect_timeout = 0
911
912# Info to match when looking for cinder in the service catalog. Format
913# is : separated values of the form:
914# <service_type>:<service_name>:<endpoint_type> (string value)
915#cinder_catalog_info = volumev2::publicURL
916
917# Override service catalog lookup with template for cinder endpoint
918# e.g. http://localhost:8776/v2/%(tenant)s (string value)
919#cinder_endpoint_template = <None>
920
921# Region name of this node. If specified, it will be used to locate
922# OpenStack services for stores. (string value)
923# Deprecated group/name - [DEFAULT]/os_region_name
924#cinder_os_region_name = <None>
925
926# Location of ca certicates file to use for cinder client requests.
927# (string value)
928#cinder_ca_certificates_file = <None>
929
930# Number of cinderclient retries on failed http calls (integer value)
931#cinder_http_retries = 3
932
933# Time period of time in seconds to wait for a cinder volume
934# transition to complete. (integer value)
935#cinder_state_transition_timeout = 300
936
937# Allow to perform insecure SSL requests to cinder (boolean value)
938#cinder_api_insecure = false
939
940# The address where the Cinder authentication service is listening. If
941# <None>, the cinder endpoint in the service catalog is used. (string
942# value)
943#cinder_store_auth_address = <None>
944
945# User name to authenticate against Cinder. If <None>, the user of
946# current context is used. (string value)
947#cinder_store_user_name = <None>
948
949# Password for the user authenticating against Cinder. If <None>, the
950# current context auth token is used. (string value)
951#cinder_store_password = <None>
952
953# Project name where the image is stored in Cinder. If <None>, the
954# project in current context is used. (string value)
955#cinder_store_project_name = <None>
956
957# Path to the rootwrap configuration file to use for running commands
958# as root. (string value)
959#rootwrap_config = /etc/glance/rootwrap.conf
960
961# The host where the S3 server is listening. (string value)
962#s3_store_host = <None>
963
964# The S3 query token access key. (string value)
965#s3_store_access_key = <None>
966
967# The S3 query token secret key. (string value)
968#s3_store_secret_key = <None>
969
970# The S3 bucket to be used to store the Glance data. (string value)
971#s3_store_bucket = <None>
972
973# The local directory where uploads will be staged before they are
974# transferred into S3. (string value)
975#s3_store_object_buffer_dir = <None>
976
977# A boolean to determine if the S3 bucket should be created on upload
978# if it does not exist or if an error should be returned to the user.
979# (boolean value)
980#s3_store_create_bucket_on_put = false
981
982# The S3 calling format used to determine the bucket. Either subdomain
983# or path can be used. (string value)
984#s3_store_bucket_url_format = subdomain
985
986# What size, in MB, should S3 start chunking image files and do a
987# multipart upload in S3. (integer value)
988#s3_store_large_object_size = 100
989
990# What multipart upload part size, in MB, should S3 use when uploading
991# parts. The size must be greater than or equal to 5M. (integer value)
992#s3_store_large_object_chunk_size = 10
993
994# The number of thread pools to perform a multipart upload in S3.
995# (integer value)
996#s3_store_thread_pools = 10
997
998# Enable the use of a proxy. (boolean value)
999#s3_store_enable_proxy = false
1000
1001# Address or hostname for the proxy server. (string value)
1002#s3_store_proxy_host = <None>
1003
1004# The port to use when connecting over a proxy. (integer value)
1005#s3_store_proxy_port = 8080
1006
1007# The username to connect to the proxy. (string value)
1008#s3_store_proxy_user = <None>
1009
1010# The password to use when connecting over a proxy. (string value)
1011#s3_store_proxy_password = <None>
1012
1013# Images will be chunked into objects of this size (in megabytes). For
1014# best performance, this should be a power of two. (integer value)
1015#sheepdog_store_chunk_size = 64
1016
1017# Port of sheep daemon. (integer value)
1018#sheepdog_store_port = 7000
1019
1020# IP address of sheep daemon. (string value)
1021#sheepdog_store_address = localhost
1022
1023# Directory to which the Filesystem backend store writes images.
1024# (string value)
1025#filesystem_store_datadir = /var/lib/glance/images
1026
1027# List of directories and its priorities to which the Filesystem
1028# backend store writes images. (multi valued)
1029#filesystem_store_datadirs =
1030
1031# The path to a file which contains the metadata to be returned with
1032# any location associated with this store. The file must contain a
1033# valid JSON object. The object should contain the keys 'id' and
1034# 'mountpoint'. The value for both keys should be 'string'. (string
1035# value)
1036#filesystem_store_metadata_file = <None>
1037
1038# The required permission for created image file. In this way the user
1039# other service used, e.g. Nova, who consumes the image could be the
1040# exclusive member of the group that owns the files created. Assigning
1041# it less then or equal to zero means don't change the default
1042# permission of the file. This value will be decoded as an octal
1043# digit. (integer value)
1044#filesystem_store_file_perm = 0
1045
1046# ESX/ESXi or vCenter Server target system. The server value can be an
1047# IP address or a DNS name. (string value)
1048#vmware_server_host = <None>
1049
1050# Username for authenticating with VMware ESX/VC server. (string
1051# value)
1052#vmware_server_username = <None>
1053
1054# Password for authenticating with VMware ESX/VC server. (string
1055# value)
1056#vmware_server_password = <None>
1057
1058# Number of times VMware ESX/VC server API must be retried upon
1059# connection related issues. (integer value)
1060#vmware_api_retry_count = 10
1061
1062# The interval used for polling remote tasks invoked on VMware ESX/VC
1063# server. (integer value)
1064#vmware_task_poll_interval = 5
1065
1066# The name of the directory where the glance images will be stored in
1067# the VMware datastore. (string value)
1068#vmware_store_image_dir = /openstack_glance
1069
1070# If true, the ESX/vCenter server certificate is not verified. If
1071# false, then the default CA truststore is used for verification. This
1072# option is ignored if "vmware_ca_file" is set. (boolean value)
1073# Deprecated group/name - [DEFAULT]/vmware_api_insecure
1074#vmware_insecure = false
1075
1076# Specify a CA bundle file to use in verifying the ESX/vCenter server
1077# certificate. (string value)
1078#vmware_ca_file = <None>
1079
1080# A list of datastores where the image can be stored. This option may
1081# be specified multiple times for specifying multiple datastores. The
1082# datastore name should be specified after its datacenter path,
1083# seperated by ":". An optional weight may be given after the
1084# datastore name, seperated again by ":". Thus, the required format
1085# becomes <datacenter_path>:<datastore_name>:<optional_weight>. When
1086# adding an image, the datastore with highest weight will be selected,
1087# unless there is not enough free space available in cases where the
1088# image size is already known. If no weight is given, it is assumed to
1089# be zero and the directory will be considered for selection last. If
1090# multiple datastores have the same weight, then the one with the most
1091# free space available is selected. (multi valued)
1092#vmware_datastores =
1093
1094
1095[image_format]
1096
1097#
1098# From glance.api
1099#
1100
1101# Supported values for the 'container_format' image attribute (list
1102# value)
1103# Deprecated group/name - [DEFAULT]/container_formats
1104#container_formats = ami,ari,aki,bare,ovf,ova,docker
1105
1106# Supported values for the 'disk_format' image attribute (list value)
1107# Deprecated group/name - [DEFAULT]/disk_formats
1108disk_formats = ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,root-tar
1109
1110
1111[keystone_authtoken]
1112
1113#
1114# From keystonemiddleware.auth_token
1115#
1116
1117# Complete public Identity API endpoint. (string value)
1118#auth_uri = <None>
1119
1120# API version of the admin Identity API endpoint. (string value)
1121#auth_version = <None>
1122
1123# Do not handle authorization requests within the middleware, but
1124# delegate the authorization decision to downstream WSGI components.
1125# (boolean value)
1126#delay_auth_decision = false
1127
1128# Request timeout value for communicating with Identity API server.
1129# (integer value)
1130#http_connect_timeout = <None>
1131
1132# How many times are we trying to reconnect when communicating with
1133# Identity API Server. (integer value)
1134#http_request_max_retries = 3
1135
1136# Env key for the swift cache. (string value)
1137#cache = <None>
1138
1139# Required if identity server requires client certificate (string
1140# value)
1141#certfile = <None>
1142
1143# Required if identity server requires client certificate (string
1144# value)
1145#keyfile = <None>
1146
1147# A PEM encoded Certificate Authority to use when verifying HTTPs
1148# connections. Defaults to system CAs. (string value)
1149#cafile = <None>
1150
1151# Verify HTTPS connections. (boolean value)
1152#insecure = false
1153
1154# The region in which the identity server can be found. (string value)
1155#region_name = <None>
1156
1157# Directory used to cache files related to PKI tokens. (string value)
1158#signing_dir = <None>
1159
1160# Optionally specify a list of memcached server(s) to use for caching.
1161# If left undefined, tokens will instead be cached in-process. (list
1162# value)
1163# Deprecated group/name - [DEFAULT]/memcache_servers
1164#memcached_servers = <None>
1165
1166# In order to prevent excessive effort spent validating tokens, the
1167# middleware caches previously-seen tokens for a configurable duration
1168# (in seconds). Set to -1 to disable caching completely. (integer
1169# value)
1170#token_cache_time = 300
1171
1172# Determines the frequency at which the list of revoked tokens is
1173# retrieved from the Identity service (in seconds). A high number of
1174# revocation events combined with a low cache duration may
1175# significantly reduce performance. (integer value)
1176#revocation_cache_time = 10
1177
1178# (Optional) If defined, indicate whether token data should be
1179# authenticated or authenticated and encrypted. If MAC, token data is
1180# authenticated (with HMAC) in the cache. If ENCRYPT, token data is
1181# encrypted and authenticated in the cache. If the value is not one of
1182# these options or empty, auth_token will raise an exception on
1183# initialization. (string value)
1184# Allowed values: None, MAC, ENCRYPT
1185#memcache_security_strategy = None
1186
1187# (Optional, mandatory if memcache_security_strategy is defined) This
1188# string is used for key derivation. (string value)
1189#memcache_secret_key = <None>
1190
1191# (Optional) Number of seconds memcached server is considered dead
1192# before it is tried again. (integer value)
1193#memcache_pool_dead_retry = 300
1194
1195# (Optional) Maximum total number of open connections to every
1196# memcached server. (integer value)
1197#memcache_pool_maxsize = 10
1198
1199# (Optional) Socket timeout in seconds for communicating with a
1200# memcached server. (integer value)
1201#memcache_pool_socket_timeout = 3
1202
1203# (Optional) Number of seconds a connection to memcached is held
1204# unused in the pool before it is closed. (integer value)
1205#memcache_pool_unused_timeout = 60
1206
1207# (Optional) Number of seconds that an operation will wait to get a
1208# memcached client connection from the pool. (integer value)
1209#memcache_pool_conn_get_timeout = 10
1210
1211# (Optional) Use the advanced (eventlet safe) memcached client pool.
1212# The advanced pool will only work under python 2.x. (boolean value)
1213#memcache_use_advanced_pool = false
1214
1215# (Optional) Indicate whether to set the X-Service-Catalog header. If
1216# False, middleware will not ask for service catalog on token
1217# validation and will not set the X-Service-Catalog header. (boolean
1218# value)
1219#include_service_catalog = true
1220
1221# Used to control the use and type of token binding. Can be set to:
1222# "disabled" to not check token binding. "permissive" (default) to
1223# validate binding information if the bind type is of a form known to
1224# the server and ignore it if not. "strict" like "permissive" but if
1225# the bind type is unknown the token will be rejected. "required" any
1226# form of token binding is needed to be allowed. Finally the name of a
1227# binding method that must be present in tokens. (string value)
1228#enforce_token_bind = permissive
1229
1230# If true, the revocation list will be checked for cached tokens. This
1231# requires that PKI tokens are configured on the identity server.
1232# (boolean value)
1233#check_revocations_for_cached = false
1234
1235# Hash algorithms to use for hashing PKI tokens. This may be a single
1236# algorithm or multiple. The algorithms are those supported by Python
1237# standard hashlib.new(). The hashes will be tried in the order given,
1238# so put the preferred one first for performance. The result of the
1239# first hash will be stored in the cache. This will typically be set
1240# to multiple values only while migrating from a less secure algorithm
1241# to a more secure one. Once all the old tokens are expired this
1242# option should be set to a single value for better performance. (list
1243# value)
1244#hash_algorithms = md5
1245
1246# Authentication type to load (unknown value)
1247# Deprecated group/name - [DEFAULT]/auth_plugin
1248#auth_type = <None>
1249
1250# Config Section from which to load plugin specific options (unknown
1251# value)
1252#auth_section = <None>
1253
1254
1255[matchmaker_redis]
1256
1257#
1258# From oslo.messaging
1259#
1260
1261# Host to locate redis. (string value)
1262#host = 127.0.0.1
1263
1264# Use this port to connect to redis host. (port value)
1265# Minimum value: 0
1266# Maximum value: 65535
1267#port = 6379
1268
1269# Password for Redis server (optional). (string value)
1270#password =
1271
1272# List of Redis Sentinel hosts (fault tolerance mode) e.g.
1273# [host:port, host1:port ... ] (list value)
1274#sentinel_hosts =
1275
1276# Redis replica set name. (string value)
1277#sentinel_group_name = oslo-messaging-zeromq
1278
1279# Time in ms to wait between connection attempts. (integer value)
1280#wait_timeout = 500
1281
1282# Time in ms to wait before the transaction is killed. (integer value)
1283#check_timeout = 20000
1284
1285# Timeout in ms on blocking socket operations (integer value)
1286#socket_timeout = 1000
1287
1288
1289[oslo_concurrency]
1290
1291#
1292# From oslo.concurrency
1293#
1294
1295# Enables or disables inter-process locks. (boolean value)
1296# Deprecated group/name - [DEFAULT]/disable_process_locking
1297#disable_process_locking = false
1298
1299# Directory to use for lock files. For security, the specified
1300# directory should only be writable by the user running the processes
1301# that need locking. Defaults to environment variable OSLO_LOCK_PATH.
1302# If external locks are used, a lock path must be set. (string value)
1303# Deprecated group/name - [DEFAULT]/lock_path
1304#lock_path = <None>
1305
1306
1307[oslo_messaging_amqp]
1308
1309#
1310# From oslo.messaging
1311#
1312
1313# address prefix used when sending to a specific server (string value)
1314# Deprecated group/name - [amqp1]/server_request_prefix
1315#server_request_prefix = exclusive
1316
1317# address prefix used when broadcasting to all servers (string value)
1318# Deprecated group/name - [amqp1]/broadcast_prefix
1319#broadcast_prefix = broadcast
1320
1321# address prefix when sending to any server in group (string value)
1322# Deprecated group/name - [amqp1]/group_request_prefix
1323#group_request_prefix = unicast
1324
1325# Name for the AMQP container (string value)
1326# Deprecated group/name - [amqp1]/container_name
1327#container_name = <None>
1328
1329# Timeout for inactive connections (in seconds) (integer value)
1330# Deprecated group/name - [amqp1]/idle_timeout
1331#idle_timeout = 0
1332
1333# Debug: dump AMQP frames to stdout (boolean value)
1334# Deprecated group/name - [amqp1]/trace
1335#trace = false
1336
1337# CA certificate PEM file to verify server certificate (string value)
1338# Deprecated group/name - [amqp1]/ssl_ca_file
1339#ssl_ca_file =
1340
1341# Identifying certificate PEM file to present to clients (string
1342# value)
1343# Deprecated group/name - [amqp1]/ssl_cert_file
1344#ssl_cert_file =
1345
1346# Private key PEM file used to sign cert_file certificate (string
1347# value)
1348# Deprecated group/name - [amqp1]/ssl_key_file
1349#ssl_key_file =
1350
1351# Password for decrypting ssl_key_file (if encrypted) (string value)
1352# Deprecated group/name - [amqp1]/ssl_key_password
1353#ssl_key_password = <None>
1354
1355# Accept clients using either SSL or plain TCP (boolean value)
1356# Deprecated group/name - [amqp1]/allow_insecure_clients
1357#allow_insecure_clients = false
1358
1359# Space separated list of acceptable SASL mechanisms (string value)
1360# Deprecated group/name - [amqp1]/sasl_mechanisms
1361#sasl_mechanisms =
1362
1363# Path to directory that contains the SASL configuration (string
1364# value)
1365# Deprecated group/name - [amqp1]/sasl_config_dir
1366#sasl_config_dir =
1367
1368# Name of configuration file (without .conf suffix) (string value)
1369# Deprecated group/name - [amqp1]/sasl_config_name
1370#sasl_config_name =
1371
1372# User name for message broker authentication (string value)
1373# Deprecated group/name - [amqp1]/username
1374#username =
1375
1376# Password for message broker authentication (string value)
1377# Deprecated group/name - [amqp1]/password
1378#password =
1379
1380
1381[oslo_messaging_notifications]
1382
1383#
1384# From oslo.messaging
1385#
1386
1387# The Drivers(s) to handle sending notifications. Possible values are
1388# messaging, messagingv2, routing, log, test, noop (multi valued)
1389# Deprecated group/name - [DEFAULT]/notification_driver
1390#driver =
1391
1392# A URL representing the messaging driver to use for notifications. If
1393# not set, we fall back to the same configuration used for RPC.
1394# (string value)
1395# Deprecated group/name - [DEFAULT]/notification_transport_url
1396#transport_url = <None>
1397
1398# AMQP topic used for OpenStack notifications. (list value)
1399# Deprecated group/name - [rpc_notifier2]/topics
1400# Deprecated group/name - [DEFAULT]/notification_topics
1401#topics = notifications
1402
1403
1404[oslo_messaging_rabbit]
1405
1406#
1407# From oslo.messaging
1408#
1409
1410# Use durable queues in AMQP. (boolean value)
1411# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1412# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1413#amqp_durable_queues = false
1414
1415# Auto-delete queues in AMQP. (boolean value)
1416# Deprecated group/name - [DEFAULT]/amqp_auto_delete
1417#amqp_auto_delete = false
1418
1419# SSL version to use (valid only if SSL enabled). Valid values are
1420# TLSv1 and SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be
1421# available on some distributions. (string value)
1422# Deprecated group/name - [DEFAULT]/kombu_ssl_version
1423#kombu_ssl_version =
1424
1425# SSL key file (valid only if SSL enabled). (string value)
1426# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
1427#kombu_ssl_keyfile =
1428
1429# SSL cert file (valid only if SSL enabled). (string value)
1430# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
1431#kombu_ssl_certfile =
1432
1433# SSL certification authority file (valid only if SSL enabled).
1434# (string value)
1435# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
1436#kombu_ssl_ca_certs =
1437
1438# How long to wait before reconnecting in response to an AMQP consumer
1439# cancel notification. (floating point value)
1440# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
1441#kombu_reconnect_delay = 1.0
1442
1443# EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression
1444# will not be used. This option may notbe available in future
1445# versions. (string value)
1446#kombu_compression = <None>
1447
1448# How long to wait a missing client beforce abandoning to send it its
1449# replies. This value should not be longer than rpc_response_timeout.
1450# (integer value)
1451# Deprecated group/name - [DEFAULT]/kombu_reconnect_timeout
1452#kombu_missing_consumer_retry_timeout = 60
1453
1454# Determines how the next RabbitMQ node is chosen in case the one we
1455# are currently connected to becomes unavailable. Takes effect only if
1456# more than one RabbitMQ node is provided in config. (string value)
1457# Allowed values: round-robin, shuffle
1458#kombu_failover_strategy = round-robin
1459
1460# The RabbitMQ broker address where a single node is used. (string
1461# value)
1462# Deprecated group/name - [DEFAULT]/rabbit_host
1463#rabbit_host = localhost
1464
1465# The RabbitMQ broker port where a single node is used. (port value)
1466# Minimum value: 0
1467# Maximum value: 65535
1468# Deprecated group/name - [DEFAULT]/rabbit_port
1469#rabbit_port = 5672
1470
1471# RabbitMQ HA cluster host:port pairs. (list value)
1472# Deprecated group/name - [DEFAULT]/rabbit_hosts
1473#rabbit_hosts = $rabbit_host:$rabbit_port
1474
1475# Connect over SSL for RabbitMQ. (boolean value)
1476# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
1477#rabbit_use_ssl = false
1478
1479# The RabbitMQ userid. (string value)
1480# Deprecated group/name - [DEFAULT]/rabbit_userid
1481#rabbit_userid = guest
1482
1483# The RabbitMQ password. (string value)
1484# Deprecated group/name - [DEFAULT]/rabbit_password
1485#rabbit_password = guest
1486
1487# The RabbitMQ login method. (string value)
1488# Deprecated group/name - [DEFAULT]/rabbit_login_method
1489#rabbit_login_method = AMQPLAIN
1490
1491# The RabbitMQ virtual host. (string value)
1492# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
1493#rabbit_virtual_host = /
1494
1495# How frequently to retry connecting with RabbitMQ. (integer value)
1496#rabbit_retry_interval = 1
1497
1498# How long to backoff for between retries when connecting to RabbitMQ.
1499# (integer value)
1500# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
1501#rabbit_retry_backoff = 2
1502
1503# Maximum interval of RabbitMQ connection retries. Default is 30
1504# seconds. (integer value)
1505#rabbit_interval_max = 30
1506
1507# Maximum number of RabbitMQ connection retries. Default is 0
1508# (infinite retry count). (integer value)
1509# Deprecated group/name - [DEFAULT]/rabbit_max_retries
1510#rabbit_max_retries = 0
1511
1512# Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change
1513# this option, you must wipe the RabbitMQ database. In RabbitMQ 3.0,
1514# queue mirroring is no longer controlled by the x-ha-policy argument
1515# when declaring a queue. If you just want to make sure that all
1516# queues (except those with auto-generated names) are mirrored across
1517# all nodes, run: "rabbitmqctl set_policy HA '^(?!amq\.).*' '{"ha-
1518# mode": "all"}' " (boolean value)
1519# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
1520#rabbit_ha_queues = false
1521
1522# Positive integer representing duration in seconds for queue TTL
1523# (x-expires). Queues which are unused for the duration of the TTL are
1524# automatically deleted. The parameter affects only reply and fanout
1525# queues. (integer value)
1526# Minimum value: 1
1527#rabbit_transient_queues_ttl = 600
1528
1529# Specifies the number of messages to prefetch. Setting to zero allows
1530# unlimited messages. (integer value)
1531#rabbit_qos_prefetch_count = 0
1532
1533# Number of seconds after which the Rabbit broker is considered down
1534# if heartbeat's keep-alive fails (0 disable the heartbeat).
1535# EXPERIMENTAL (integer value)
1536#heartbeat_timeout_threshold = 60
1537
1538# How often times during the heartbeat_timeout_threshold we check the
1539# heartbeat. (integer value)
1540#heartbeat_rate = 2
1541
1542# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake
1543# (boolean value)
1544# Deprecated group/name - [DEFAULT]/fake_rabbit
1545#fake_rabbit = false
1546
1547# Maximum number of channels to allow (integer value)
1548#channel_max = <None>
1549
1550# The maximum byte size for an AMQP frame (integer value)
1551#frame_max = <None>
1552
1553# How often to send heartbeats for consumer's connections (integer
1554# value)
1555#heartbeat_interval = 1
1556
1557# Enable SSL (boolean value)
1558#ssl = <None>
1559
1560# Arguments passed to ssl.wrap_socket (dict value)
1561#ssl_options = <None>
1562
1563# Set socket timeout in seconds for connection's socket (floating
1564# point value)
1565#socket_timeout = 0.25
1566
1567# Set TCP_USER_TIMEOUT in seconds for connection's socket (floating
1568# point value)
1569#tcp_user_timeout = 0.25
1570
1571# Set delay for reconnection to some host which has connection error
1572# (floating point value)
1573#host_connection_reconnect_delay = 0.25
1574
1575# Maximum number of connections to keep queued. (integer value)
1576#pool_max_size = 10
1577
1578# Maximum number of connections to create above `pool_max_size`.
1579# (integer value)
1580#pool_max_overflow = 0
1581
1582# Default number of seconds to wait for a connections to available
1583# (integer value)
1584#pool_timeout = 30
1585
1586# Lifetime of a connection (since creation) in seconds or None for no
1587# recycling. Expired connections are closed on acquire. (integer
1588# value)
1589#pool_recycle = 600
1590
1591# Threshold at which inactive (since release) connections are
1592# considered stale in seconds or None for no staleness. Stale
1593# connections are closed on acquire. (integer value)
1594#pool_stale = 60
1595
1596# Persist notification messages. (boolean value)
1597#notification_persistence = false
1598
1599# Exchange name for for sending notifications (string value)
1600#default_notification_exchange = ${control_exchange}_notification
1601
1602# Max number of not acknowledged message which RabbitMQ can send to
1603# notification listener. (integer value)
1604#notification_listener_prefetch_count = 100
1605
1606# Reconnecting retry count in case of connectivity problem during
1607# sending notification, -1 means infinite retry. (integer value)
1608#default_notification_retry_attempts = -1
1609
1610# Reconnecting retry delay in case of connectivity problem during
1611# sending notification message (floating point value)
1612#notification_retry_delay = 0.25
1613
1614# Time to live for rpc queues without consumers in seconds. (integer
1615# value)
1616#rpc_queue_expiration = 60
1617
1618# Exchange name for sending RPC messages (string value)
1619#default_rpc_exchange = ${control_exchange}_rpc
1620
1621# Exchange name for receiving RPC replies (string value)
1622#rpc_reply_exchange = ${control_exchange}_rpc_reply
1623
1624# Max number of not acknowledged message which RabbitMQ can send to
1625# rpc listener. (integer value)
1626#rpc_listener_prefetch_count = 100
1627
1628# Max number of not acknowledged message which RabbitMQ can send to
1629# rpc reply listener. (integer value)
1630#rpc_reply_listener_prefetch_count = 100
1631
1632# Reconnecting retry count in case of connectivity problem during
1633# sending reply. -1 means infinite retry during rpc_timeout (integer
1634# value)
1635#rpc_reply_retry_attempts = -1
1636
1637# Reconnecting retry delay in case of connectivity problem during
1638# sending reply. (floating point value)
1639#rpc_reply_retry_delay = 0.25
1640
1641# Reconnecting retry count in case of connectivity problem during
1642# sending RPC message, -1 means infinite retry. If actual retry
1643# attempts in not 0 the rpc request could be processed more then one
1644# time (integer value)
1645#default_rpc_retry_attempts = -1
1646
1647# Reconnecting retry delay in case of connectivity problem during
1648# sending RPC message (floating point value)
1649#rpc_retry_delay = 0.25
1650
1651
1652[oslo_policy]
1653
1654#
1655# From oslo.policy
1656#
1657
1658# The JSON file that defines policies. (string value)
1659# Deprecated group/name - [DEFAULT]/policy_file
1660#policy_file = policy.json
1661
1662# Default rule. Enforced when a requested rule is not found. (string
1663# value)
1664# Deprecated group/name - [DEFAULT]/policy_default_rule
1665#policy_default_rule = default
1666
1667# Directories where policy configuration files are stored. They can be
1668# relative to any directory in the search path defined by the
1669# config_dir option, or absolute paths. The file defined by
1670# policy_file must exist for these directories to be searched.
1671# Missing or empty directories are ignored. (multi valued)
1672# Deprecated group/name - [DEFAULT]/policy_dirs
1673#policy_dirs = policy.d
1674
1675
1676[paste_deploy]
1677
1678#
1679# From glance.api
1680#
1681
1682# Partial name of a pipeline in your paste configuration file with the
1683# service name removed. For example, if your paste section name is
1684# [pipeline:glance-api-keystone] use the value "keystone" (string
1685# value)
1686#flavor = <None>
1687
1688# Name of the paste configuration file. (string value)
1689#config_file = <None>
1690
1691
1692[profiler]
1693
1694#
1695# From glance.api
1696#
1697
1698# If False fully disable profiling feature. (boolean value)
1699#enabled = false
1700
1701# If False doesn't trace SQL requests. (boolean value)
1702#trace_sqlalchemy = false
1703
1704# Secret key to use to sign Glance API and Glance Registry services
1705# tracing messages. (string value)
1706#hmac_keys = SECRET_KEY
1707
1708
1709[store_type_location_strategy]
1710
1711#
1712# From glance.api
1713#
1714
1715# The store names to use to get store preference order. The name must
1716# be registered by one of the stores defined by the 'stores' config
1717# option. This option will be applied when you using 'store_type'
1718# option as image location strategy defined by the 'location_strategy'
1719# config option. (list value)
1720#store_type_preference =
1721
1722
1723[task]
1724
1725#
1726# From glance.api
1727#
1728
1729# Time in hours for which a task lives after, either succeeding or
1730# failing (integer value)
1731# Deprecated group/name - [DEFAULT]/task_time_to_live
1732#task_time_to_live = 48
1733
1734# Specifies which task executor to be used to run the task scripts.
1735# (string value)
1736#task_executor = taskflow
1737
1738# Work dir for asynchronous task operations. The directory set here
1739# will be used to operate over images - normally before they are
1740# imported in the destination store. When providing work dir, make
1741# sure enough space is provided for concurrent tasks to run
1742# efficiently without running out of space. A rough estimation can be
1743# done by multiplying the number of `max_workers` - or the N of
1744# workers running - by an average image size (e.g 500MB). The image
1745# size estimation should be done based on the average size in your
1746# deployment. Note that depending on the tasks running you may need to
1747# multiply this number by some factor depending on what the task does.
1748# For example, you may want to double the available size if image
1749# conversion is enabled. All this being said, remember these are just
1750# estimations and you should do them based on the worst case scenario
1751# and be prepared to act in case they were wrong. (string value)
1752#work_dir = <None>
1753
1754
1755[taskflow_executor]
1756
1757#
1758# From glance.api
1759#
1760
1761# The mode in which the engine will run. Can be 'serial' or
1762# 'parallel'. (string value)
1763# Allowed values: serial, parallel
1764#engine_mode = parallel
1765
1766# The number of parallel activities executed at the same time by the
1767# engine. The value can be greater than one when the engine mode is
1768# 'parallel'. (integer value)
1769# Deprecated group/name - [task]/eventlet_executor_pool_size
1770#max_workers = 10