KATO Tomoyuki 6cd32dd3b4 [config-ref] fix unknown config option type to PortOpt
backport: mitaka

Change-Id: I3c37e0ee5a78b74db1b5a74feabac2e10110078d
Closes-Bug: #1603082
2016-08-03 15:29:20 +09:00

81 lines
6.0 KiB
ReStructuredText

..
Warning: Do not edit this file. It is automatically generated from the
software project's code and your changes will be overwritten.
The tool to generate this file lives in openstack-doc-tools repository.
Please make any changes needed in the code, then run the
autogenerate-config-doc tool from the openstack-doc-tools repository, or
ask for help on the documentation mailing list, IRC channel or meeting.
.. _glance-common:
.. list-table:: Description of common configuration options
:header-rows: 1
:class: config-ref-table
* - Configuration option = Default value
- Description
* - **[DEFAULT]**
-
* - ``allow_additional_image_properties`` = ``True``
- (Boolean) Whether to allow users to specify image properties beyond what the image schema provides
* - ``api_limit_max`` = ``1000``
- (Integer) Maximum permissible number of items that could be returned by a request
* - ``backlog`` = ``4096``
- (Integer) The backlog value that will be used when creating the TCP listener socket.
* - ``bind_host`` = ``0.0.0.0``
- (String) Address to bind the server. Useful when selecting a particular network interface.
* - ``bind_port`` = ``None``
- (Port number) The port on which the server will listen.
* - ``data_api`` = ``glance.db.sqlalchemy.api``
- (String) Python module path of data access API
* - ``digest_algorithm`` = ``sha256``
- (String) Digest algorithm which will be used for digital signature. Use the command "openssl list-message-digest-algorithms" to get the available algorithms supported by the version of OpenSSL on the platform. Examples are "sha1", "sha256", "sha512", etc.
* - ``executor_thread_pool_size`` = ``64``
- (Integer) Size of executor thread pool.
* - ``image_location_quota`` = ``10``
- (Integer) Maximum number of locations allowed on an image. Negative values evaluate to unlimited.
* - ``image_member_quota`` = ``128``
- (Integer) Maximum number of image members per image. Negative values evaluate to unlimited.
* - ``image_property_quota`` = ``128``
- (Integer) Maximum number of properties allowed on an image. Negative values evaluate to unlimited.
* - ``image_tag_quota`` = ``128``
- (Integer) Maximum number of tags allowed on an image. Negative values evaluate to unlimited.
* - ``limit_param_default`` = ``25``
- (Integer) Default value for the number of items returned by a request if not specified explicitly in the request
* - ``memcached_servers`` = ``None``
- (List) Memcached servers or None for in process cache.
* - ``metadata_encryption_key`` = ``None``
- (String) 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
* - ``metadata_source_path`` = ``/etc/glance/metadefs/``
- (String) Path to the directory where json metadata files are stored
* - ``property_protection_file`` = ``None``
- (String) The location of the property protection file.This file contains the rules for property protections and the roles/policies associated with it. If this config value is not specified, by default, property protections won't be enforced. If a value is specified and the file is not found, then the glance-api service will not start.
* - ``property_protection_rule_format`` = ``roles``
- (String) This config value indicates whether "roles" or "policies" are used in the property protection file.
* - ``show_image_direct_url`` = ``False``
- (Boolean) 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!
* - ``user_storage_quota`` = ``0``
- (String) 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.
* - ``workers`` = ``None``
- (Integer) The number of child process workers that will be created to service requests. The default will be equal to the number of CPUs available.
* - **[glance_store]**
-
* - ``rootwrap_config`` = ``/etc/glance/rootwrap.conf``
- (String) Path to the rootwrap configuration file to use for running commands as root.
* - **[image_format]**
-
* - ``container_formats`` = ``ami, ari, aki, bare, ovf, ova, docker``
- (List) Supported values for the 'container_format' image attribute
* - ``disk_formats`` = ``ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso``
- (List) Supported values for the 'disk_format' image attribute
* - **[task]**
-
* - ``task_executor`` = ``taskflow``
- (String) Specifies which task executor to be used to run the task scripts.
* - ``task_time_to_live`` = ``48``
- (Integer) Time in hours for which a task lives after, either succeeding or failing
* - ``work_dir`` = ``None``
- (String) Work dir for asynchronous task operations. The directory set here will be used to operate over images - normally before they are imported in the destination store. When providing work dir, make sure enough space is provided for concurrent tasks to run efficiently without running out of space. A rough estimation can be done by multiplying the number of `max_workers` - or the N of workers running - by an average image size (e.g 500MB). The image size estimation should be done based on the average size in your deployment. Note that depending on the tasks running you may need to multiply this number by some factor depending on what the task does. For example, you may want to double the available size if image conversion is enabled. All this being said, remember these are just estimations and you should do them based on the worst case scenario and be prepared to act in case they were wrong.