e7cbc675ce
Change-Id: I959cc6884633ada1deb55f44ca1fc6f230bdebd9
165 lines
9.2 KiB
XML
165 lines
9.2 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<para xmlns="http://docbook.org/ns/docbook" version="5.0">
|
|
<!--
|
|
###################################################################
|
|
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
|
###################################################################
|
|
|
|
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.
|
|
|
|
###################################################################
|
|
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
|
|
###################################################################
|
|
-->
|
|
<table rules="all" xml:id="config_table_glance_common">
|
|
<caption>Description of common configuration options</caption>
|
|
<col width="50%"/>
|
|
<col width="50%"/>
|
|
<thead>
|
|
<tr>
|
|
<th>Configuration option = Default value</th>
|
|
<th>Description</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<th colspan="2">[DEFAULT]</th>
|
|
</tr>
|
|
<tr>
|
|
<td><option>allow_additional_image_properties</option> = <replaceable>True</replaceable></td>
|
|
<td>(BoolOpt) Whether to allow users to specify image properties beyond what the image schema provides</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>api_limit_max</option> = <replaceable>1000</replaceable></td>
|
|
<td>(IntOpt) Maximum permissible number of items that could be returned by a request</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>backlog</option> = <replaceable>4096</replaceable></td>
|
|
<td>(IntOpt) The backlog value that will be used when creating the TCP listener socket.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>bind_host</option> = <replaceable>0.0.0.0</replaceable></td>
|
|
<td>(StrOpt) Address to bind the server. Useful when selecting a particular network interface.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>bind_port</option> = <replaceable>None</replaceable></td>
|
|
<td>(IntOpt) The port on which the server will listen.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>data_api</option> = <replaceable>glance.db.sqlalchemy.api</replaceable></td>
|
|
<td>(StrOpt) Python module path of data access API</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>digest_algorithm</option> = <replaceable>sha256</replaceable></td>
|
|
<td>(StrOpt) 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.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>executor_thread_pool_size</option> = <replaceable>64</replaceable></td>
|
|
<td>(IntOpt) Size of executor thread pool.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>image_location_quota</option> = <replaceable>10</replaceable></td>
|
|
<td>(IntOpt) Maximum number of locations allowed on an image. Negative values evaluate to unlimited.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>image_member_quota</option> = <replaceable>128</replaceable></td>
|
|
<td>(IntOpt) Maximum number of image members per image. Negative values evaluate to unlimited.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>image_property_quota</option> = <replaceable>128</replaceable></td>
|
|
<td>(IntOpt) Maximum number of properties allowed on an image. Negative values evaluate to unlimited.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>image_tag_quota</option> = <replaceable>128</replaceable></td>
|
|
<td>(IntOpt) Maximum number of tags allowed on an image. Negative values evaluate to unlimited.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>limit_param_default</option> = <replaceable>25</replaceable></td>
|
|
<td>(IntOpt) Default value for the number of items returned by a request if not specified explicitly in the request</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>memcached_servers</option> = <replaceable>None</replaceable></td>
|
|
<td>(ListOpt) Memcached servers or None for in process cache.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>metadata_encryption_key</option> = <replaceable>None</replaceable></td>
|
|
<td>(StrOpt) 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</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>metadata_source_path</option> = <replaceable>/etc/glance/metadefs/</replaceable></td>
|
|
<td>(StrOpt) Path to the directory where json metadata files are stored</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>property_protection_file</option> = <replaceable>None</replaceable></td>
|
|
<td>(StrOpt) 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.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>property_protection_rule_format</option> = <replaceable>roles</replaceable></td>
|
|
<td>(StrOpt) This config value indicates whether "roles" or "policies" are used in the property protection file.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>show_image_direct_url</option> = <replaceable>False</replaceable></td>
|
|
<td>(BoolOpt) 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!</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>user_storage_quota</option> = <replaceable>0</replaceable></td>
|
|
<td>(StrOpt) 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.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>workers</option> = <replaceable>4</replaceable></td>
|
|
<td>(IntOpt) The number of child process workers that will be created to service requests. The default will be equal to the number of CPUs available.</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">[glance_store]</th>
|
|
</tr>
|
|
<tr>
|
|
<td><option>os_region_name</option> = <replaceable>None</replaceable></td>
|
|
<td>(StrOpt) Region name of this node</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">[image_format]</th>
|
|
</tr>
|
|
<tr>
|
|
<td><option>container_formats</option> = <replaceable>ami, ari, aki, bare, ovf, ova</replaceable></td>
|
|
<td>(ListOpt) Supported values for the 'container_format' image attribute</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>disk_formats</option> = <replaceable>ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso</replaceable></td>
|
|
<td>(ListOpt) Supported values for the 'disk_format' image attribute</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">[keystone_authtoken]</th>
|
|
</tr>
|
|
<tr>
|
|
<td><option>memcached_servers</option> = <replaceable>None</replaceable></td>
|
|
<td>(ListOpt) Optionally specify a list of memcached server(s) to use for caching. If left undefined, tokens will instead be cached in-process.</td>
|
|
</tr>
|
|
<tr>
|
|
<th colspan="2">[task]</th>
|
|
</tr>
|
|
<tr>
|
|
<td><option>task_executor</option> = <replaceable>taskflow</replaceable></td>
|
|
<td>(StrOpt) Specifies which task executor to be used to run the task scripts.</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>task_time_to_live</option> = <replaceable>48</replaceable></td>
|
|
<td>(IntOpt) Time in hours for which a task lives after, either succeeding or failing</td>
|
|
</tr>
|
|
<tr>
|
|
<td><option>work_dir</option> = <replaceable>None</replaceable></td>
|
|
<td>(StrOpt) 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.</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</para>
|