Update Glance example configs to reflect Liberty
Adding taskflow_executor_opts into the opts so they will be included. Closes-bug: #1496012 Depends-On: I52ebf810f4699826baa2bdf91d28e24d902cf950 Change-Id: I9c0988a70f691482258f5f3ba9a5cf5601a81ddf
This commit is contained in:
parent
6681908e17
commit
fa30891cf6
1915
etc/glance-api.conf
1915
etc/glance-api.conf
File diff suppressed because it is too large
Load Diff
@ -1,265 +1,281 @@
|
||||
[DEFAULT]
|
||||
# Show more verbose log output (sets INFO log level output)
|
||||
#verbose = False
|
||||
|
||||
# Show debugging output in logs (sets DEBUG log level output)
|
||||
#debug = False
|
||||
|
||||
# Log to this file. Make sure you do not set the same log file for both the API
|
||||
# and registry servers!
|
||||
#
|
||||
# If `log_file` is omitted and `use_syslog` is false, then log messages are
|
||||
# sent to stdout as a fallback.
|
||||
log_file = /var/log/glance/image-cache.log
|
||||
|
||||
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
|
||||
#use_syslog = False
|
||||
|
||||
# Directory that the Image Cache writes data to
|
||||
image_cache_dir = /var/lib/glance/image-cache/
|
||||
|
||||
# Number of seconds after which we should consider an incomplete image to be
|
||||
# stalled and eligible for reaping
|
||||
image_cache_stall_time = 86400
|
||||
|
||||
# The upper limit (the maximum size of accumulated cache in bytes) beyond
|
||||
# which pruner, if running, starts cleaning the images cache.
|
||||
image_cache_max_size = 10737418240
|
||||
|
||||
# Address to find the registry server
|
||||
registry_host = 0.0.0.0
|
||||
|
||||
# Port the registry server is listening on
|
||||
registry_port = 9191
|
||||
|
||||
# Auth settings if using Keystone
|
||||
# auth_url = http://127.0.0.1:5000/v2.0/
|
||||
# admin_tenant_name = %SERVICE_TENANT_NAME%
|
||||
# admin_user = %SERVICE_USER%
|
||||
# admin_password = %SERVICE_PASSWORD%
|
||||
|
||||
# List of which store classes and store class locations are
|
||||
# currently known to glance at startup.
|
||||
# known_stores = glance.store.filesystem.Store,
|
||||
# glance.store.http.Store,
|
||||
# glance.store.rbd.Store,
|
||||
# glance.store.s3.Store,
|
||||
# glance.store.swift.Store,
|
||||
# glance.store.sheepdog.Store,
|
||||
# glance.store.cinder.Store,
|
||||
# glance.store.vmware_datastore.Store,
|
||||
|
||||
# ============ Filesystem Store Options ========================
|
||||
|
||||
# Directory that the Filesystem backend store
|
||||
# writes image data to
|
||||
filesystem_store_datadir = /var/lib/glance/images/
|
||||
|
||||
# ============ Swift Store Options =============================
|
||||
|
||||
# Version of the authentication service to use
|
||||
# Valid versions are '2' for keystone and '1' for swauth and rackspace
|
||||
swift_store_auth_version = 2
|
||||
|
||||
# Address where the Swift authentication service lives
|
||||
# Valid schemes are 'http://' and 'https://'
|
||||
# If no scheme specified, default to 'https://'
|
||||
# For swauth, use something like '127.0.0.1:8080/v1.0/'
|
||||
swift_store_auth_address = 127.0.0.1:5000/v2.0/
|
||||
|
||||
# User to authenticate against the Swift authentication service
|
||||
# If you use Swift authentication service, set it to 'account':'user'
|
||||
# where 'account' is a Swift storage account and 'user'
|
||||
# is a user in that account
|
||||
swift_store_user = jdoe:jdoe
|
||||
|
||||
# Auth key for the user authenticating against the
|
||||
# Swift authentication service
|
||||
swift_store_key = a86850deb2742ec3cb41518e26aa2d89
|
||||
|
||||
# Container within the account that the account should use
|
||||
# for storing images in Swift
|
||||
swift_store_container = glance
|
||||
|
||||
# Do we create the container if it does not exist?
|
||||
swift_store_create_container_on_put = False
|
||||
|
||||
# What size, in MB, should Glance start chunking image files
|
||||
# and do a large object manifest in Swift? By default, this is
|
||||
# the maximum object size in Swift, which is 5GB
|
||||
swift_store_large_object_size = 5120
|
||||
|
||||
# This file contains references for each of the configured
|
||||
# Swift accounts/backing stores. If used, this option can prevent
|
||||
# credentials being stored in the database. Using Swift references
|
||||
# is disabled if this config is left blank.
|
||||
#swift_store_config_file = glance-swift.conf
|
||||
|
||||
# The reference to the default Swift parameters to use for adding new images.
|
||||
#default_swift_reference = 'ref1'
|
||||
|
||||
# When doing a large object manifest, what size, in MB, should
|
||||
# Glance write chunks to Swift? This amount of data is written
|
||||
# to a temporary disk buffer during the process of chunking
|
||||
# the image file, and the default is 200MB
|
||||
swift_store_large_object_chunk_size = 200
|
||||
|
||||
# If set, the configured endpoint will be used. If None, the storage URL
|
||||
# from the auth response will be used. The location of an object is
|
||||
# obtained by appending the container and object to the configured URL.
|
||||
# From glance.cache
|
||||
#
|
||||
# swift_store_endpoint = https://www.example.com/v1/not_a_container
|
||||
swift_store_endpoint = None
|
||||
|
||||
# If set to True enables multi-tenant storage mode which causes Glance images
|
||||
# to be stored in tenant specific Swift accounts.
|
||||
#swift_store_multi_tenant = False
|
||||
# Whether to allow users to specify image properties beyond what the
|
||||
# image schema provides (boolean value)
|
||||
#allow_additional_image_properties = true
|
||||
|
||||
# A list of swift ACL strings that will be applied as both read and
|
||||
# write ACLs to the containers created by Glance in multi-tenant
|
||||
# mode. This grants the specified tenants/users read and write access
|
||||
# to all newly created image objects. The standard swift ACL string
|
||||
# formats are allowed, including:
|
||||
# <tenant_id>:<username>
|
||||
# <tenant_name>:<username>
|
||||
# *:<username>
|
||||
# Multiple ACLs can be combined using a comma separated list, for
|
||||
# example: swift_store_admin_tenants = service:glance,*:admin
|
||||
#swift_store_admin_tenants =
|
||||
# Maximum number of image members per image. Negative values evaluate
|
||||
# to unlimited. (integer value)
|
||||
#image_member_quota = 128
|
||||
|
||||
# The region of the swift endpoint to be used for single tenant. This setting
|
||||
# is only necessary if the tenant has multiple swift endpoints.
|
||||
#swift_store_region =
|
||||
# Maximum number of properties allowed on an image. Negative values
|
||||
# evaluate to unlimited. (integer value)
|
||||
#image_property_quota = 128
|
||||
|
||||
# If set to False, disables SSL layer compression of https swift requests.
|
||||
# Setting to 'False' may improve performance for images which are already
|
||||
# in a compressed format, eg qcow2. If set to True, enables SSL layer
|
||||
# compression (provided it is supported by the target swift proxy).
|
||||
#swift_store_ssl_compression = True
|
||||
# Maximum number of tags allowed on an image. Negative values evaluate
|
||||
# to unlimited. (integer value)
|
||||
#image_tag_quota = 128
|
||||
|
||||
# The number of times a Swift download will be retried before the
|
||||
# request fails
|
||||
#swift_store_retry_get_count = 0
|
||||
# Maximum number of locations allowed on an image. Negative values
|
||||
# evaluate to unlimited. (integer value)
|
||||
#image_location_quota = 10
|
||||
|
||||
# Bypass SSL verification for Swift
|
||||
#swift_store_auth_insecure = False
|
||||
# Python module path of data access API (string value)
|
||||
#data_api = glance.db.sqlalchemy.api
|
||||
|
||||
# The path to a CA certificate bundle file to use for SSL verification when
|
||||
# communicating with Swift.
|
||||
#swift_store_cacert =
|
||||
# Default value for the number of items returned by a request if not
|
||||
# specified explicitly in the request (integer value)
|
||||
#limit_param_default = 25
|
||||
|
||||
# ============ S3 Store Options =============================
|
||||
# Maximum permissible number of items that could be returned by a
|
||||
# request (integer value)
|
||||
#api_limit_max = 1000
|
||||
|
||||
# Address where the S3 authentication service lives
|
||||
# Valid schemes are 'http://' and 'https://'
|
||||
# If no scheme specified, default to 'http://'
|
||||
s3_store_host = s3.amazonaws.com
|
||||
# Whether to include the backend image storage location in image
|
||||
# properties. Revealing storage location can be a security risk, so
|
||||
# use this setting with caution! (boolean value)
|
||||
#show_image_direct_url = false
|
||||
|
||||
# User to authenticate against the S3 authentication service
|
||||
s3_store_access_key = <20-char AWS access key>
|
||||
# Whether to include the backend image locations in image properties.
|
||||
# For example, if using the file system store a URL of
|
||||
# "file:///path/to/image" will be returned to the user in the
|
||||
# 'direct_url' meta-data field. Revealing storage location can be a
|
||||
# security risk, so use this setting with caution! The overrides
|
||||
# show_image_direct_url. (boolean value)
|
||||
#show_multiple_locations = false
|
||||
|
||||
# Auth key for the user authenticating against the
|
||||
# S3 authentication service
|
||||
s3_store_secret_key = <40-char AWS secret key>
|
||||
# Maximum size of image a user can upload in bytes. Defaults to
|
||||
# 1099511627776 bytes (1 TB).WARNING: this value should only be
|
||||
# increased after careful consideration and must be set to a value
|
||||
# under 8 EB (9223372036854775808). (integer value)
|
||||
# Maximum value: 9223372036854775808
|
||||
#image_size_cap = 1099511627776
|
||||
|
||||
# Container within the account that the account should use
|
||||
# for storing images in S3. Note that S3 has a flat namespace,
|
||||
# so you need a unique bucket name for your glance images. An
|
||||
# easy way to do this is append your AWS access key to "glance".
|
||||
# S3 buckets in AWS *must* be lowercased, so remember to lowercase
|
||||
# your AWS access key if you use it in your bucket name below!
|
||||
s3_store_bucket = <lowercased 20-char aws access key>glance
|
||||
|
||||
# Do we create the bucket if it does not exist?
|
||||
s3_store_create_bucket_on_put = False
|
||||
|
||||
# When sending images to S3, the data will first be written to a
|
||||
# temporary buffer on disk. By default the platform's temporary directory
|
||||
# will be used. If required, an alternative directory can be specified here.
|
||||
# s3_store_object_buffer_dir = /path/to/dir
|
||||
|
||||
# ============ Cinder Store Options ===========================
|
||||
|
||||
# Info to match when looking for cinder in the service catalog
|
||||
# Format is : separated values of the form:
|
||||
# <service_type>:<service_name>:<endpoint_type> (string value)
|
||||
#cinder_catalog_info = volume:cinder:publicURL
|
||||
|
||||
# Override service catalog lookup with template for cinder endpoint
|
||||
# e.g. http://localhost:8776/v1/%(project_id)s (string value)
|
||||
#cinder_endpoint_template = <None>
|
||||
|
||||
# Region name of this node (string value)
|
||||
#os_region_name = <None>
|
||||
|
||||
# Location of ca certicates file to use for cinder client requests
|
||||
# Set a system wide quota for every user. This value is the total
|
||||
# capacity that a user can use across all storage systems. A value of
|
||||
# 0 means unlimited.Optional unit can be specified for the value.
|
||||
# Accepted units are B, KB, MB, GB and TB representing Bytes,
|
||||
# KiloBytes, MegaBytes, GigaBytes and TeraBytes respectively. If no
|
||||
# unit is specified then Bytes is assumed. Note that there should not
|
||||
# be any space between value and unit and units are case sensitive.
|
||||
# (string value)
|
||||
#cinder_ca_certificates_file = <None>
|
||||
#user_storage_quota = 0
|
||||
|
||||
# Number of cinderclient retries on failed http calls (integer value)
|
||||
#cinder_http_retries = 3
|
||||
# Deploy the v1 OpenStack Images API. (boolean value)
|
||||
#enable_v1_api = true
|
||||
|
||||
# Allow to perform insecure SSL requests to cinder (boolean value)
|
||||
#cinder_api_insecure = False
|
||||
# Deploy the v2 OpenStack Images API. (boolean value)
|
||||
#enable_v2_api = true
|
||||
|
||||
# ============ VMware Datastore Store Options =====================
|
||||
# Deploy the v3 OpenStack Objects API. (boolean value)
|
||||
#enable_v3_api = false
|
||||
|
||||
# ESX/ESXi or vCenter Server target system.
|
||||
# The server value can be an IP address or a DNS name
|
||||
# e.g. 127.0.0.1, 127.0.0.1:443, www.vmware-infra.com
|
||||
#vmware_server_host = <None>
|
||||
# Deploy the v1 OpenStack Registry API. (boolean value)
|
||||
#enable_v1_registry = true
|
||||
|
||||
# Server username (string value)
|
||||
#vmware_server_username = <None>
|
||||
# Deploy the v2 OpenStack Registry API. (boolean value)
|
||||
#enable_v2_registry = true
|
||||
|
||||
# Server password (string value)
|
||||
#vmware_server_password = <None>
|
||||
|
||||
# Inventory path to a datacenter (string value)
|
||||
# Value optional when vmware_server_ip is an ESX/ESXi host: if specified
|
||||
# should be `ha-datacenter`.
|
||||
#vmware_datacenter_path = <None>
|
||||
|
||||
# Datastore associated with the datacenter (string value)
|
||||
#vmware_datastore_name = <None>
|
||||
|
||||
# The number of times we retry on failures
|
||||
# e.g., socket error, etc (integer value)
|
||||
#vmware_api_retry_count = 10
|
||||
|
||||
# The interval used for polling remote tasks
|
||||
# invoked on VMware ESX/VC server in seconds (integer value)
|
||||
#vmware_task_poll_interval = 5
|
||||
|
||||
# Absolute path of the folder containing the images in the datastore
|
||||
# The hostname/IP of the pydev process listening for debug connections
|
||||
# (string value)
|
||||
#vmware_store_image_dir = /openstack_glance
|
||||
#pydev_worker_debug_host = <None>
|
||||
|
||||
# Allow to perform insecure SSL requests to the target system (boolean value)
|
||||
#vmware_api_insecure = False
|
||||
# The port on which a pydev process is listening for connections.
|
||||
# (integer value)
|
||||
# Minimum value: 1
|
||||
# Maximum value: 65535
|
||||
#pydev_worker_debug_port = 5678
|
||||
|
||||
# ================= Security Options ==========================
|
||||
# AES key for encrypting store 'location' metadata. This includes, if
|
||||
# used, Swift or S3 credentials. Should be set to a random string of
|
||||
# length 16, 24 or 32 bytes (string value)
|
||||
#metadata_encryption_key = <None>
|
||||
|
||||
# AES key for encrypting store 'location' metadata, including
|
||||
# -- if used -- Swift or S3 credentials
|
||||
# Should be set to a random string of length 16, 24 or 32 bytes
|
||||
# metadata_encryption_key = <16, 24 or 32 char registry metadata key>
|
||||
# Digest algorithm which will be used for digital signature. Use the
|
||||
# command "openssl list-message-digest-algorithms" to get the
|
||||
# available algorithmssupported by the version of OpenSSL on the
|
||||
# platform. Examples are "sha1", "sha256", "sha512", etc. (string
|
||||
# value)
|
||||
#digest_algorithm = sha256
|
||||
|
||||
# The path to the sqlite file database that will be used for image
|
||||
# cache management. (string value)
|
||||
#image_cache_sqlite_db = cache.db
|
||||
|
||||
# The driver to use for image cache management. (string value)
|
||||
#image_cache_driver = sqlite
|
||||
|
||||
# The upper limit (the maximum size of accumulated cache in bytes)
|
||||
# beyond which pruner, if running, starts cleaning the images cache.
|
||||
# (integer value)
|
||||
#image_cache_max_size = 10737418240
|
||||
|
||||
# The amount of time to let an image remain in the cache without being
|
||||
# accessed. (integer value)
|
||||
#image_cache_stall_time = 86400
|
||||
|
||||
# Base directory that the Image Cache uses. (string value)
|
||||
#image_cache_dir = <None>
|
||||
|
||||
# Address to find the registry server. (string value)
|
||||
#registry_host = 0.0.0.0
|
||||
|
||||
# Port the registry server is listening on. (integer value)
|
||||
# Minimum value: 1
|
||||
# Maximum value: 65535
|
||||
#registry_port = 9191
|
||||
|
||||
# Whether to pass through the user token when making requests to the
|
||||
# registry. To prevent failures with token expiration during big files
|
||||
# upload, it is recommended to set this parameter to False.If
|
||||
# "use_user_token" is not in effect, then admin credentials can be
|
||||
# specified. (boolean value)
|
||||
#use_user_token = true
|
||||
|
||||
# The administrators user name. If "use_user_token" is not in effect,
|
||||
# then admin credentials can be specified. (string value)
|
||||
#admin_user = <None>
|
||||
|
||||
# The administrators password. If "use_user_token" is not in effect,
|
||||
# then admin credentials can be specified. (string value)
|
||||
#admin_password = <None>
|
||||
|
||||
# The tenant name of the administrative user. If "use_user_token" is
|
||||
# not in effect, then admin tenant name can be specified. (string
|
||||
# value)
|
||||
#admin_tenant_name = <None>
|
||||
|
||||
# The URL to the keystone service. If "use_user_token" is not in
|
||||
# effect and using keystone auth, then URL of keystone can be
|
||||
# specified. (string value)
|
||||
#auth_url = <None>
|
||||
|
||||
# The strategy to use for authentication. If "use_user_token" is not
|
||||
# in effect, then auth strategy can be specified. (string value)
|
||||
#auth_strategy = noauth
|
||||
|
||||
# The region for the authentication service. If "use_user_token" is
|
||||
# not in effect and using keystone auth, then region name can be
|
||||
# specified. (string value)
|
||||
#auth_region = <None>
|
||||
|
||||
#
|
||||
# From oslo.log
|
||||
#
|
||||
|
||||
# Print debugging output (set logging level to DEBUG instead of
|
||||
# default INFO level). (boolean value)
|
||||
#debug = false
|
||||
|
||||
# If set to false, will disable INFO logging level, making WARNING the
|
||||
# default. (boolean value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#verbose = true
|
||||
|
||||
# The name of a logging configuration file. This file is appended to
|
||||
# any existing logging configuration files. For details about logging
|
||||
# configuration files, see the Python logging module documentation.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/log_config
|
||||
#log_config_append = <None>
|
||||
|
||||
# DEPRECATED. A logging.Formatter log message format string which may
|
||||
# use any of the available logging.LogRecord attributes. This option
|
||||
# is deprecated. Please use logging_context_format_string and
|
||||
# logging_default_format_string instead. (string value)
|
||||
#log_format = <None>
|
||||
|
||||
# Format string for %%(asctime)s in log records. Default: %(default)s
|
||||
# . (string value)
|
||||
#log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# (Optional) Name of log file to output to. If no default is set,
|
||||
# logging will go to stdout. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logfile
|
||||
#log_file = <None>
|
||||
|
||||
# (Optional) The base directory used for relative --log-file paths.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logdir
|
||||
#log_dir = <None>
|
||||
|
||||
# Use syslog for logging. Existing syslog format is DEPRECATED and
|
||||
# will be changed later to honor RFC5424. (boolean value)
|
||||
#use_syslog = false
|
||||
|
||||
# (Optional) Enables or disables syslog rfc5424 format for logging. If
|
||||
# enabled, prefixes the MSG part of the syslog message with APP-NAME
|
||||
# (RFC5424). The format without the APP-NAME is deprecated in Kilo,
|
||||
# and will be removed in Mitaka, along with this option. (boolean
|
||||
# value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#use_syslog_rfc_format = true
|
||||
|
||||
# Syslog facility to receive log lines. (string value)
|
||||
#syslog_log_facility = LOG_USER
|
||||
|
||||
# Log output to standard error. (boolean value)
|
||||
#use_stderr = true
|
||||
|
||||
# Format string to use for log messages with context. (string value)
|
||||
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
|
||||
|
||||
# Format string to use for log messages without context. (string
|
||||
# value)
|
||||
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
|
||||
|
||||
# Data to append to log format when level is DEBUG. (string value)
|
||||
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
|
||||
|
||||
# Prefix each line of exception output with this format. (string
|
||||
# value)
|
||||
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
|
||||
|
||||
# List of logger=LEVEL pairs. (list value)
|
||||
#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
|
||||
|
||||
# Enables or disables publication of error events. (boolean value)
|
||||
#publish_errors = false
|
||||
|
||||
# The format for an instance that is passed with the log message.
|
||||
# (string value)
|
||||
#instance_format = "[instance: %(uuid)s] "
|
||||
|
||||
# The format for an instance UUID that is passed with the log message.
|
||||
# (string value)
|
||||
#instance_uuid_format = "[instance: %(uuid)s] "
|
||||
|
||||
# Enables or disables fatal status of deprecations. (boolean value)
|
||||
#fatal_deprecations = false
|
||||
|
||||
# =============== Policy Options ==============================
|
||||
|
||||
[oslo_policy]
|
||||
# The JSON file that defines policies.
|
||||
|
||||
#
|
||||
# From oslo.policy
|
||||
#
|
||||
|
||||
# The JSON file that defines policies. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/policy_file
|
||||
#policy_file = policy.json
|
||||
|
||||
# Default rule. Enforced when a requested rule is not found.
|
||||
# Default rule. Enforced when a requested rule is not found. (string
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/policy_default_rule
|
||||
#policy_default_rule = default
|
||||
|
||||
# Directories where policy configuration files are stored.
|
||||
# They can be relative to any directory in the search path
|
||||
# defined by the config_dir option, or absolute paths.
|
||||
# The file defined by policy_file must exist for these
|
||||
# directories to be searched.
|
||||
# Directories where policy configuration files are stored. They can be
|
||||
# relative to any directory in the search path defined by the
|
||||
# config_dir option, or absolute paths. The file defined by
|
||||
# policy_file must exist for these directories to be searched.
|
||||
# Missing or empty directories are ignored. (multi valued)
|
||||
# Deprecated group/name - [DEFAULT]/policy_dirs
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#policy_dirs = policy.d
|
||||
|
@ -1,13 +1,19 @@
|
||||
[DEFAULT]
|
||||
|
||||
#
|
||||
# From glance.manage
|
||||
# From oslo.log
|
||||
#
|
||||
|
||||
# Print debugging output (set logging level to DEBUG instead of
|
||||
# default WARNING level). (boolean value)
|
||||
# default INFO level). (boolean value)
|
||||
#debug = false
|
||||
|
||||
# If set to false, will disable INFO logging level, making WARNING the
|
||||
# default. (boolean value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#verbose = true
|
||||
|
||||
# The name of a logging configuration file. This file is appended to
|
||||
# any existing logging configuration files. For details about logging
|
||||
# configuration files, see the Python logging module documentation.
|
||||
@ -15,42 +21,75 @@
|
||||
# Deprecated group/name - [DEFAULT]/log_config
|
||||
#log_config_append = <None>
|
||||
|
||||
# Format string for %%(asctime)s in log records. Default: %(default)s
|
||||
# . (string value)
|
||||
#log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# (Optional) The base directory used for relative --log-file paths.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logdir
|
||||
#log_dir = <None>
|
||||
|
||||
# (Optional) Name of log file to output to. If no default is set,
|
||||
# logging will go to stdout. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logfile
|
||||
log_file = /var/log/glance/manage.log
|
||||
|
||||
# DEPRECATED. A logging.Formatter log message format string which may
|
||||
# use any of the available logging.LogRecord attributes. This option
|
||||
# is deprecated. Please use logging_context_format_string and
|
||||
# logging_default_format_string instead. (string value)
|
||||
#log_format = <None>
|
||||
|
||||
# Syslog facility to receive log lines. (string value)
|
||||
#syslog_log_facility = LOG_USER
|
||||
# Format string for %%(asctime)s in log records. Default: %(default)s
|
||||
# . (string value)
|
||||
#log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# Use syslog for logging. Existing syslog format is DEPRECATED during
|
||||
# I, and will change in J to honor RFC5424. (boolean value)
|
||||
# (Optional) Name of log file to output to. If no default is set,
|
||||
# logging will go to stdout. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logfile
|
||||
#log_file = <None>
|
||||
|
||||
# (Optional) The base directory used for relative --log-file paths.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logdir
|
||||
#log_dir = <None>
|
||||
|
||||
# Use syslog for logging. Existing syslog format is DEPRECATED and
|
||||
# will be changed later to honor RFC5424. (boolean value)
|
||||
#use_syslog = false
|
||||
|
||||
# (Optional) Enables or disables syslog rfc5424 format for logging. If
|
||||
# enabled, prefixes the MSG part of the syslog message with APP-NAME
|
||||
# (RFC5424). The format without the APP-NAME is deprecated in I, and
|
||||
# will be removed in J. (boolean value)
|
||||
#use_syslog_rfc_format = false
|
||||
# (RFC5424). The format without the APP-NAME is deprecated in Kilo,
|
||||
# and will be removed in Mitaka, along with this option. (boolean
|
||||
# value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#use_syslog_rfc_format = true
|
||||
|
||||
# Print more verbose output (set logging level to INFO instead of
|
||||
# default WARNING level). (boolean value)
|
||||
#verbose = false
|
||||
# Syslog facility to receive log lines. (string value)
|
||||
#syslog_log_facility = LOG_USER
|
||||
|
||||
# Log output to standard error. (boolean value)
|
||||
#use_stderr = true
|
||||
|
||||
# Format string to use for log messages with context. (string value)
|
||||
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
|
||||
|
||||
# Format string to use for log messages without context. (string
|
||||
# value)
|
||||
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
|
||||
|
||||
# Data to append to log format when level is DEBUG. (string value)
|
||||
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
|
||||
|
||||
# Prefix each line of exception output with this format. (string
|
||||
# value)
|
||||
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
|
||||
|
||||
# List of logger=LEVEL pairs. (list value)
|
||||
#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
|
||||
|
||||
# Enables or disables publication of error events. (boolean value)
|
||||
#publish_errors = false
|
||||
|
||||
# The format for an instance that is passed with the log message.
|
||||
# (string value)
|
||||
#instance_format = "[instance: %(uuid)s] "
|
||||
|
||||
# The format for an instance UUID that is passed with the log message.
|
||||
# (string value)
|
||||
#instance_uuid_format = "[instance: %(uuid)s] "
|
||||
|
||||
# Enables or disables fatal status of deprecations. (boolean value)
|
||||
#fatal_deprecations = false
|
||||
|
||||
|
||||
[database]
|
||||
@ -59,6 +98,14 @@ log_file = /var/log/glance/manage.log
|
||||
# From oslo.db
|
||||
#
|
||||
|
||||
# The file name to use with SQLite. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/sqlite_db
|
||||
#sqlite_db = oslo.sqlite
|
||||
|
||||
# If True, SQLite uses synchronous mode. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/sqlite_synchronous
|
||||
#sqlite_synchronous = true
|
||||
|
||||
# The back end to use for the database. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/db_backend
|
||||
#backend = sqlalchemy
|
||||
@ -70,29 +117,15 @@ log_file = /var/log/glance/manage.log
|
||||
# Deprecated group/name - [sql]/connection
|
||||
#connection = <None>
|
||||
|
||||
# Verbosity of SQL debugging information: 0=None, 100=Everything.
|
||||
# (integer value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection_debug
|
||||
#connection_debug = 0
|
||||
# The SQLAlchemy connection string to use to connect to the slave
|
||||
# database. (string value)
|
||||
#slave_connection = <None>
|
||||
|
||||
# Add Python stack traces to SQL as comment strings. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection_trace
|
||||
#connection_trace = false
|
||||
|
||||
# If True, increases the interval between database connection retries
|
||||
# up to db_max_retry_interval. (boolean value)
|
||||
#db_inc_retry_interval = true
|
||||
|
||||
# Maximum database connection retries before error is raised. Set to
|
||||
# -1 to specify an infinite retry count. (integer value)
|
||||
#db_max_retries = 20
|
||||
|
||||
# If db_inc_retry_interval is set, the maximum seconds between
|
||||
# database connection retries. (integer value)
|
||||
#db_max_retry_interval = 10
|
||||
|
||||
# Seconds between database connection retries. (integer value)
|
||||
#db_retry_interval = 1
|
||||
# The SQL mode to be used for MySQL sessions. This option, including
|
||||
# the default, overrides any server-set SQL mode. To use whatever SQL
|
||||
# mode is set by the server configuration, set this to no value.
|
||||
# Example: mysql_sql_mode= (string value)
|
||||
#mysql_sql_mode = TRADITIONAL
|
||||
|
||||
# Timeout before idle SQL connections are reaped. (integer value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_idle_timeout
|
||||
@ -100,11 +133,11 @@ log_file = /var/log/glance/manage.log
|
||||
# Deprecated group/name - [sql]/idle_timeout
|
||||
#idle_timeout = 3600
|
||||
|
||||
# If set, use this value for max_overflow with SQLAlchemy. (integer
|
||||
# Minimum number of SQL connections to keep open in a pool. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_max_overflow
|
||||
# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
|
||||
#max_overflow = <None>
|
||||
# Deprecated group/name - [DEFAULT]/sql_min_pool_size
|
||||
# Deprecated group/name - [DATABASE]/sql_min_pool_size
|
||||
#min_pool_size = 1
|
||||
|
||||
# Maximum number of SQL connections to keep open in a pool. (integer
|
||||
# value)
|
||||
@ -118,45 +151,52 @@ log_file = /var/log/glance/manage.log
|
||||
# Deprecated group/name - [DATABASE]/sql_max_retries
|
||||
#max_retries = 10
|
||||
|
||||
# Minimum number of SQL connections to keep open in a pool. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_min_pool_size
|
||||
# Deprecated group/name - [DATABASE]/sql_min_pool_size
|
||||
#min_pool_size = 1
|
||||
|
||||
# The SQL mode to be used for MySQL sessions. This option, including
|
||||
# the default, overrides any server-set SQL mode. To use whatever SQL
|
||||
# mode is set by the server configuration, set this to no value.
|
||||
# Example: mysql_sql_mode= (string value)
|
||||
#mysql_sql_mode = TRADITIONAL
|
||||
|
||||
# If set, use this value for pool_timeout with SQLAlchemy. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
|
||||
#pool_timeout = <None>
|
||||
|
||||
# Interval between retries of opening a SQL connection. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_retry_interval
|
||||
# Deprecated group/name - [DATABASE]/reconnect_interval
|
||||
#retry_interval = 10
|
||||
|
||||
# The SQLAlchemy connection string to use to connect to the slave
|
||||
# database. (string value)
|
||||
#slave_connection = <None>
|
||||
# If set, use this value for max_overflow with SQLAlchemy. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_max_overflow
|
||||
# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
|
||||
#max_overflow = <None>
|
||||
|
||||
# The file name to use with SQLite. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/sqlite_db
|
||||
#sqlite_db = oslo.sqlite
|
||||
# Verbosity of SQL debugging information: 0=None, 100=Everything.
|
||||
# (integer value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection_debug
|
||||
#connection_debug = 0
|
||||
|
||||
# If True, SQLite uses synchronous mode. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/sqlite_synchronous
|
||||
#sqlite_synchronous = true
|
||||
# Add Python stack traces to SQL as comment strings. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection_trace
|
||||
#connection_trace = false
|
||||
|
||||
# If set, use this value for pool_timeout with SQLAlchemy. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
|
||||
#pool_timeout = <None>
|
||||
|
||||
# Enable the experimental use of database reconnect on connection
|
||||
# lost. (boolean value)
|
||||
#use_db_reconnect = false
|
||||
|
||||
# Seconds between retries of a database transaction. (integer value)
|
||||
#db_retry_interval = 1
|
||||
|
||||
# If True, increases the interval between retries of a database
|
||||
# operation up to db_max_retry_interval. (boolean value)
|
||||
#db_inc_retry_interval = true
|
||||
|
||||
# If db_inc_retry_interval is set, the maximum seconds between retries
|
||||
# of a database operation. (integer value)
|
||||
#db_max_retry_interval = 10
|
||||
|
||||
# Maximum retries in case of connection error or deadlock error before
|
||||
# error is raised. Set to -1 to specify an infinite retry count.
|
||||
# (integer value)
|
||||
#db_max_retries = 20
|
||||
|
||||
#
|
||||
# From oslo.db.concurrency
|
||||
#
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,139 +1,431 @@
|
||||
[DEFAULT]
|
||||
# Show more verbose log output (sets INFO log level output)
|
||||
#verbose = False
|
||||
|
||||
# Show debugging output in logs (sets DEBUG log level output)
|
||||
#debug = False
|
||||
|
||||
# Log to this file. Make sure you do not set the same log file for both the API
|
||||
# and registry servers!
|
||||
#
|
||||
# If `log_file` is omitted and `use_syslog` is false, then log messages are
|
||||
# sent to stdout as a fallback.
|
||||
log_file = /var/log/glance/scrubber.log
|
||||
# From glance.scrubber
|
||||
#
|
||||
|
||||
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
|
||||
#use_syslog = False
|
||||
# Whether to allow users to specify image properties beyond what the
|
||||
# image schema provides (boolean value)
|
||||
#allow_additional_image_properties = true
|
||||
|
||||
# Should we run our own loop or rely on cron/scheduler to run us
|
||||
daemon = False
|
||||
# Maximum number of image members per image. Negative values evaluate
|
||||
# to unlimited. (integer value)
|
||||
#image_member_quota = 128
|
||||
|
||||
# Loop time between checking for new items to schedule for delete
|
||||
wakeup_time = 300
|
||||
# Maximum number of properties allowed on an image. Negative values
|
||||
# evaluate to unlimited. (integer value)
|
||||
#image_property_quota = 128
|
||||
|
||||
# The size of thread pool to be used for scrubbing images. The default is one,
|
||||
# which signifies serial scrubbing. Any value above one indicates the max number
|
||||
# of images that may be scrubbed in parallel.
|
||||
scrub_pool_size = 1
|
||||
# Maximum number of tags allowed on an image. Negative values evaluate
|
||||
# to unlimited. (integer value)
|
||||
#image_tag_quota = 128
|
||||
|
||||
# Directory that the scrubber will use to remind itself of what to delete
|
||||
# Make sure this is also set in glance-api.conf
|
||||
scrubber_datadir = /var/lib/glance/scrubber
|
||||
# Maximum number of locations allowed on an image. Negative values
|
||||
# evaluate to unlimited. (integer value)
|
||||
#image_location_quota = 10
|
||||
|
||||
# DEPRECATED. TO BE REMOVED IN THE LIBERTY RELEASE.
|
||||
# Only one server in your deployment should be designated the cleanup host
|
||||
cleanup_scrubber = False
|
||||
|
||||
# DEPRECATED. TO BE REMOVED IN THE LIBERTY RELEASE.
|
||||
# pending_delete items older than this time are candidates for cleanup
|
||||
cleanup_scrubber_time = 86400
|
||||
|
||||
# Address to find the registry server for cleanups
|
||||
registry_host = 0.0.0.0
|
||||
|
||||
# Port the registry server is listening on
|
||||
registry_port = 9191
|
||||
|
||||
# Auth settings if using Keystone
|
||||
# auth_url = http://127.0.0.1:5000/v2.0/
|
||||
# admin_tenant_name = %SERVICE_TENANT_NAME%
|
||||
# admin_user = %SERVICE_USER%
|
||||
# admin_password = %SERVICE_PASSWORD%
|
||||
|
||||
# API to use for accessing data. Default value points to sqlalchemy
|
||||
# package, it is also possible to use: glance.db.registry.api
|
||||
# Python module path of data access API (string value)
|
||||
#data_api = glance.db.sqlalchemy.api
|
||||
|
||||
# ================= Security Options ==========================
|
||||
# Default value for the number of items returned by a request if not
|
||||
# specified explicitly in the request (integer value)
|
||||
#limit_param_default = 25
|
||||
|
||||
# AES key for encrypting store 'location' metadata, including
|
||||
# -- if used -- Swift or S3 credentials
|
||||
# Should be set to a random string of length 16, 24 or 32 bytes
|
||||
#metadata_encryption_key = <16, 24 or 32 char registry metadata key>
|
||||
# Maximum permissible number of items that could be returned by a
|
||||
# request (integer value)
|
||||
#api_limit_max = 1000
|
||||
|
||||
# =============== Policy Options ==============================
|
||||
# Whether to include the backend image storage location in image
|
||||
# properties. Revealing storage location can be a security risk, so
|
||||
# use this setting with caution! (boolean value)
|
||||
#show_image_direct_url = false
|
||||
|
||||
# The JSON file that defines policies.
|
||||
#policy_file = policy.json
|
||||
# Whether to include the backend image locations in image properties.
|
||||
# For example, if using the file system store a URL of
|
||||
# "file:///path/to/image" will be returned to the user in the
|
||||
# 'direct_url' meta-data field. Revealing storage location can be a
|
||||
# security risk, so use this setting with caution! The overrides
|
||||
# show_image_direct_url. (boolean value)
|
||||
#show_multiple_locations = false
|
||||
|
||||
# Default rule. Enforced when a requested rule is not found.
|
||||
#policy_default_rule = default
|
||||
# Maximum size of image a user can upload in bytes. Defaults to
|
||||
# 1099511627776 bytes (1 TB).WARNING: this value should only be
|
||||
# increased after careful consideration and must be set to a value
|
||||
# under 8 EB (9223372036854775808). (integer value)
|
||||
# Maximum value: 9223372036854775808
|
||||
#image_size_cap = 1099511627776
|
||||
|
||||
# Directories where policy configuration files are stored.
|
||||
# They can be relative to any directory in the search path
|
||||
# defined by the config_dir option, or absolute paths.
|
||||
# The file defined by policy_file must exist for these
|
||||
# directories to be searched.
|
||||
#policy_dirs = policy.d
|
||||
# Set a system wide quota for every user. This value is the total
|
||||
# capacity that a user can use across all storage systems. A value of
|
||||
# 0 means unlimited.Optional unit can be specified for the value.
|
||||
# Accepted units are B, KB, MB, GB and TB representing Bytes,
|
||||
# KiloBytes, MegaBytes, GigaBytes and TeraBytes respectively. If no
|
||||
# unit is specified then Bytes is assumed. Note that there should not
|
||||
# be any space between value and unit and units are case sensitive.
|
||||
# (string value)
|
||||
#user_storage_quota = 0
|
||||
|
||||
# Deploy the v1 OpenStack Images API. (boolean value)
|
||||
#enable_v1_api = true
|
||||
|
||||
# Deploy the v2 OpenStack Images API. (boolean value)
|
||||
#enable_v2_api = true
|
||||
|
||||
# Deploy the v3 OpenStack Objects API. (boolean value)
|
||||
#enable_v3_api = false
|
||||
|
||||
# Deploy the v1 OpenStack Registry API. (boolean value)
|
||||
#enable_v1_registry = true
|
||||
|
||||
# Deploy the v2 OpenStack Registry API. (boolean value)
|
||||
#enable_v2_registry = true
|
||||
|
||||
# The hostname/IP of the pydev process listening for debug connections
|
||||
# (string value)
|
||||
#pydev_worker_debug_host = <None>
|
||||
|
||||
# The port on which a pydev process is listening for connections.
|
||||
# (integer value)
|
||||
# Minimum value: 1
|
||||
# Maximum value: 65535
|
||||
#pydev_worker_debug_port = 5678
|
||||
|
||||
# AES key for encrypting store 'location' metadata. This includes, if
|
||||
# used, Swift or S3 credentials. Should be set to a random string of
|
||||
# length 16, 24 or 32 bytes (string value)
|
||||
#metadata_encryption_key = <None>
|
||||
|
||||
# Digest algorithm which will be used for digital signature. Use the
|
||||
# command "openssl list-message-digest-algorithms" to get the
|
||||
# available algorithmssupported by the version of OpenSSL on the
|
||||
# platform. Examples are "sha1", "sha256", "sha512", etc. (string
|
||||
# value)
|
||||
#digest_algorithm = sha256
|
||||
|
||||
# The amount of time in seconds to delay before performing a delete.
|
||||
# (integer value)
|
||||
#scrub_time = 0
|
||||
|
||||
# The size of thread pool to be used for scrubbing images. The default
|
||||
# is one, which signifies serial scrubbing. Any value above one
|
||||
# indicates the max number of images that may be scrubbed in parallel.
|
||||
# (integer value)
|
||||
#scrub_pool_size = 1
|
||||
|
||||
# Turn on/off delayed delete. (boolean value)
|
||||
#delayed_delete = false
|
||||
|
||||
# Role used to identify an authenticated user as administrator.
|
||||
# (string value)
|
||||
#admin_role = admin
|
||||
|
||||
# Whether to pass through headers containing user and tenant
|
||||
# information when making requests to the registry. This allows the
|
||||
# registry to use the context middleware without keystonemiddleware's
|
||||
# auth_token middleware, removing calls to the keystone auth service.
|
||||
# It is recommended that when using this option, secure communication
|
||||
# between glance api and glance registry is ensured by means other
|
||||
# than auth_token middleware. (boolean value)
|
||||
#send_identity_headers = false
|
||||
|
||||
# Loop time between checking for new items to schedule for delete.
|
||||
# (integer value)
|
||||
#wakeup_time = 300
|
||||
|
||||
# Run as a long-running process. When not specified (the default) run
|
||||
# the scrub operation once and then exits. When specified do not exit
|
||||
# and run scrub on wakeup_time interval as specified in the config.
|
||||
# (boolean value)
|
||||
#daemon = false
|
||||
|
||||
# Whether to pass through the user token when making requests to the
|
||||
# registry. To prevent failures with token expiration during big files
|
||||
# upload, it is recommended to set this parameter to False.If
|
||||
# "use_user_token" is not in effect, then admin credentials can be
|
||||
# specified. (boolean value)
|
||||
#use_user_token = true
|
||||
|
||||
# The administrators user name. If "use_user_token" is not in effect,
|
||||
# then admin credentials can be specified. (string value)
|
||||
#admin_user = <None>
|
||||
|
||||
# The administrators password. If "use_user_token" is not in effect,
|
||||
# then admin credentials can be specified. (string value)
|
||||
#admin_password = <None>
|
||||
|
||||
# The tenant name of the administrative user. If "use_user_token" is
|
||||
# not in effect, then admin tenant name can be specified. (string
|
||||
# value)
|
||||
#admin_tenant_name = <None>
|
||||
|
||||
# The URL to the keystone service. If "use_user_token" is not in
|
||||
# effect and using keystone auth, then URL of keystone can be
|
||||
# specified. (string value)
|
||||
#auth_url = <None>
|
||||
|
||||
# The strategy to use for authentication. If "use_user_token" is not
|
||||
# in effect, then auth strategy can be specified. (string value)
|
||||
#auth_strategy = noauth
|
||||
|
||||
# The region for the authentication service. If "use_user_token" is
|
||||
# not in effect and using keystone auth, then region name can be
|
||||
# specified. (string value)
|
||||
#auth_region = <None>
|
||||
|
||||
# Address to find the registry server. (string value)
|
||||
#registry_host = 0.0.0.0
|
||||
|
||||
# Port the registry server is listening on. (integer value)
|
||||
# Minimum value: 1
|
||||
# Maximum value: 65535
|
||||
#registry_port = 9191
|
||||
|
||||
#
|
||||
# From oslo.log
|
||||
#
|
||||
|
||||
# Print debugging output (set logging level to DEBUG instead of
|
||||
# default INFO level). (boolean value)
|
||||
#debug = false
|
||||
|
||||
# If set to false, will disable INFO logging level, making WARNING the
|
||||
# default. (boolean value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#verbose = true
|
||||
|
||||
# The name of a logging configuration file. This file is appended to
|
||||
# any existing logging configuration files. For details about logging
|
||||
# configuration files, see the Python logging module documentation.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/log_config
|
||||
#log_config_append = <None>
|
||||
|
||||
# DEPRECATED. A logging.Formatter log message format string which may
|
||||
# use any of the available logging.LogRecord attributes. This option
|
||||
# is deprecated. Please use logging_context_format_string and
|
||||
# logging_default_format_string instead. (string value)
|
||||
#log_format = <None>
|
||||
|
||||
# Format string for %%(asctime)s in log records. Default: %(default)s
|
||||
# . (string value)
|
||||
#log_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# (Optional) Name of log file to output to. If no default is set,
|
||||
# logging will go to stdout. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logfile
|
||||
#log_file = <None>
|
||||
|
||||
# (Optional) The base directory used for relative --log-file paths.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/logdir
|
||||
#log_dir = <None>
|
||||
|
||||
# Use syslog for logging. Existing syslog format is DEPRECATED and
|
||||
# will be changed later to honor RFC5424. (boolean value)
|
||||
#use_syslog = false
|
||||
|
||||
# (Optional) Enables or disables syslog rfc5424 format for logging. If
|
||||
# enabled, prefixes the MSG part of the syslog message with APP-NAME
|
||||
# (RFC5424). The format without the APP-NAME is deprecated in Kilo,
|
||||
# and will be removed in Mitaka, along with this option. (boolean
|
||||
# value)
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#use_syslog_rfc_format = true
|
||||
|
||||
# Syslog facility to receive log lines. (string value)
|
||||
#syslog_log_facility = LOG_USER
|
||||
|
||||
# Log output to standard error. (boolean value)
|
||||
#use_stderr = true
|
||||
|
||||
# Format string to use for log messages with context. (string value)
|
||||
#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
|
||||
|
||||
# Format string to use for log messages without context. (string
|
||||
# value)
|
||||
#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
|
||||
|
||||
# Data to append to log format when level is DEBUG. (string value)
|
||||
#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
|
||||
|
||||
# Prefix each line of exception output with this format. (string
|
||||
# value)
|
||||
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
|
||||
|
||||
# List of logger=LEVEL pairs. (list value)
|
||||
#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
|
||||
|
||||
# Enables or disables publication of error events. (boolean value)
|
||||
#publish_errors = false
|
||||
|
||||
# The format for an instance that is passed with the log message.
|
||||
# (string value)
|
||||
#instance_format = "[instance: %(uuid)s] "
|
||||
|
||||
# The format for an instance UUID that is passed with the log message.
|
||||
# (string value)
|
||||
#instance_uuid_format = "[instance: %(uuid)s] "
|
||||
|
||||
# Enables or disables fatal status of deprecations. (boolean value)
|
||||
#fatal_deprecations = false
|
||||
|
||||
# ================= Database Options ===============+==========
|
||||
|
||||
[database]
|
||||
|
||||
# The SQLAlchemy connection string used to connect to the
|
||||
# database (string value)
|
||||
#connection=sqlite:////glance/openstack/common/db/$sqlite_db
|
||||
#
|
||||
# From oslo.db
|
||||
#
|
||||
|
||||
# The SQLAlchemy connection string used to connect to the
|
||||
# slave database (string value)
|
||||
#slave_connection=
|
||||
# The file name to use with SQLite. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/sqlite_db
|
||||
#sqlite_db = oslo.sqlite
|
||||
|
||||
# timeout before idle sql connections are reaped (integer
|
||||
# If True, SQLite uses synchronous mode. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/sqlite_synchronous
|
||||
#sqlite_synchronous = true
|
||||
|
||||
# The back end to use for the database. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/db_backend
|
||||
#backend = sqlalchemy
|
||||
|
||||
# The SQLAlchemy connection string to use to connect to the database.
|
||||
# (string value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection
|
||||
# Deprecated group/name - [DATABASE]/sql_connection
|
||||
# Deprecated group/name - [sql]/connection
|
||||
#connection = <None>
|
||||
|
||||
# The SQLAlchemy connection string to use to connect to the slave
|
||||
# database. (string value)
|
||||
#slave_connection = <None>
|
||||
|
||||
# The SQL mode to be used for MySQL sessions. This option, including
|
||||
# the default, overrides any server-set SQL mode. To use whatever SQL
|
||||
# mode is set by the server configuration, set this to no value.
|
||||
# Example: mysql_sql_mode= (string value)
|
||||
#mysql_sql_mode = TRADITIONAL
|
||||
|
||||
# Timeout before idle SQL connections are reaped. (integer value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_idle_timeout
|
||||
# Deprecated group/name - [DATABASE]/sql_idle_timeout
|
||||
# Deprecated group/name - [sql]/idle_timeout
|
||||
#idle_timeout = 3600
|
||||
|
||||
# Minimum number of SQL connections to keep open in a pool. (integer
|
||||
# value)
|
||||
#idle_timeout=3600
|
||||
# Deprecated group/name - [DEFAULT]/sql_min_pool_size
|
||||
# Deprecated group/name - [DATABASE]/sql_min_pool_size
|
||||
#min_pool_size = 1
|
||||
|
||||
# Minimum number of SQL connections to keep open in a pool
|
||||
# (integer value)
|
||||
#min_pool_size=1
|
||||
|
||||
# Maximum number of SQL connections to keep open in a pool
|
||||
# (integer value)
|
||||
#max_pool_size=<None>
|
||||
|
||||
# maximum db connection retries during startup. (setting -1
|
||||
# implies an infinite retry count) (integer value)
|
||||
#max_retries=10
|
||||
|
||||
# interval between retries of opening a sql connection
|
||||
# (integer value)
|
||||
#retry_interval=10
|
||||
|
||||
# If set, use this value for max_overflow with sqlalchemy
|
||||
# (integer value)
|
||||
#max_overflow=<None>
|
||||
|
||||
# Verbosity of SQL debugging information. 0=None,
|
||||
# 100=Everything (integer value)
|
||||
#connection_debug=0
|
||||
|
||||
# Add python stack traces to SQL as comment strings (boolean
|
||||
# Maximum number of SQL connections to keep open in a pool. (integer
|
||||
# value)
|
||||
#connection_trace=false
|
||||
# Deprecated group/name - [DEFAULT]/sql_max_pool_size
|
||||
# Deprecated group/name - [DATABASE]/sql_max_pool_size
|
||||
#max_pool_size = <None>
|
||||
|
||||
# If set, use this value for pool_timeout with sqlalchemy
|
||||
# Maximum number of database connection retries during startup. Set to
|
||||
# -1 to specify an infinite retry count. (integer value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_max_retries
|
||||
# Deprecated group/name - [DATABASE]/sql_max_retries
|
||||
#max_retries = 10
|
||||
|
||||
# Interval between retries of opening a SQL connection. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_retry_interval
|
||||
# Deprecated group/name - [DATABASE]/reconnect_interval
|
||||
#retry_interval = 10
|
||||
|
||||
# If set, use this value for max_overflow with SQLAlchemy. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_max_overflow
|
||||
# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
|
||||
#max_overflow = <None>
|
||||
|
||||
# Verbosity of SQL debugging information: 0=None, 100=Everything.
|
||||
# (integer value)
|
||||
#pool_timeout=<None>
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection_debug
|
||||
#connection_debug = 0
|
||||
|
||||
# Add Python stack traces to SQL as comment strings. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_connection_trace
|
||||
#connection_trace = false
|
||||
|
||||
# If set, use this value for pool_timeout with SQLAlchemy. (integer
|
||||
# value)
|
||||
# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
|
||||
#pool_timeout = <None>
|
||||
|
||||
# Enable the experimental use of database reconnect on connection
|
||||
# lost. (boolean value)
|
||||
#use_db_reconnect = false
|
||||
|
||||
# Seconds between retries of a database transaction. (integer value)
|
||||
#db_retry_interval = 1
|
||||
|
||||
# If True, increases the interval between retries of a database
|
||||
# operation up to db_max_retry_interval. (boolean value)
|
||||
#db_inc_retry_interval = true
|
||||
|
||||
# If db_inc_retry_interval is set, the maximum seconds between retries
|
||||
# of a database operation. (integer value)
|
||||
#db_max_retry_interval = 10
|
||||
|
||||
# Maximum retries in case of connection error or deadlock error before
|
||||
# error is raised. Set to -1 to specify an infinite retry count.
|
||||
# (integer value)
|
||||
#db_max_retries = 20
|
||||
|
||||
#
|
||||
# From oslo.db.concurrency
|
||||
#
|
||||
|
||||
# Enable the experimental use of thread pooling for all DB API calls
|
||||
# (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/dbapi_use_tpool
|
||||
#use_tpool = false
|
||||
|
||||
|
||||
[oslo_concurrency]
|
||||
|
||||
#
|
||||
# From oslo.concurrency
|
||||
#
|
||||
|
||||
# Enables or disables inter-process locks. (boolean value)
|
||||
# Deprecated group/name - [DEFAULT]/disable_process_locking
|
||||
#disable_process_locking = false
|
||||
|
||||
# Directory to use for lock files. For security, the specified
|
||||
# directory should only be writable by the user running the processes
|
||||
# that need locking. It could be read from environment variable
|
||||
# OSLO_LOCK_PATH. This setting needs to be the same for both
|
||||
# glance-scrubber and glance-api service. Default to a temp directory.
|
||||
# Deprecated group/name - [DEFAULT]/lock_path (string value)
|
||||
#lock_path = /tmp
|
||||
# that need locking. Defaults to environment variable OSLO_LOCK_PATH.
|
||||
# If external locks are used, a lock path must be set. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/lock_path
|
||||
#lock_path = <None>
|
||||
|
||||
|
||||
[oslo_policy]
|
||||
|
||||
#
|
||||
# From oslo.policy
|
||||
#
|
||||
|
||||
# The JSON file that defines policies. (string value)
|
||||
# Deprecated group/name - [DEFAULT]/policy_file
|
||||
#policy_file = policy.json
|
||||
|
||||
# Default rule. Enforced when a requested rule is not found. (string
|
||||
# value)
|
||||
# Deprecated group/name - [DEFAULT]/policy_default_rule
|
||||
#policy_default_rule = default
|
||||
|
||||
# Directories where policy configuration files are stored. They can be
|
||||
# relative to any directory in the search path defined by the
|
||||
# config_dir option, or absolute paths. The file defined by
|
||||
# policy_file must exist for these directories to be searched.
|
||||
# Missing or empty directories are ignored. (multi valued)
|
||||
# Deprecated group/name - [DEFAULT]/policy_dirs
|
||||
# This option is deprecated for removal.
|
||||
# Its value may be silently ignored in the future.
|
||||
#policy_dirs = policy.d
|
||||
|
@ -25,6 +25,7 @@ import itertools
|
||||
|
||||
import glance.api.middleware.context
|
||||
import glance.api.versions
|
||||
import glance.async.taskflow_executor
|
||||
import glance.common.config
|
||||
import glance.common.location_strategy
|
||||
import glance.common.location_strategy.store_type
|
||||
@ -51,6 +52,7 @@ _api_opts = [
|
||||
glance.common.wsgi.bind_opts,
|
||||
glance.common.wsgi.eventlet_opts,
|
||||
glance.common.wsgi.socket_opts,
|
||||
glance.common.wsgi.profiler_opts,
|
||||
glance.image_cache.drivers.sqlite.sqlite_opts,
|
||||
glance.image_cache.image_cache_opts,
|
||||
glance.notifier.notifier_opts,
|
||||
@ -61,6 +63,8 @@ _api_opts = [
|
||||
glance.scrubber.scrubber_opts))),
|
||||
('image_format', glance.common.config.image_format_opts),
|
||||
('task', glance.common.config.task_opts),
|
||||
('taskflow_executor',
|
||||
glance.async.taskflow_executor.taskflow_executor_opts),
|
||||
('store_type_location_strategy',
|
||||
glance.common.location_strategy.store_type.store_type_opts),
|
||||
('paste_deploy', glance.common.config.paste_deploy_opts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user