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