Description of common configuration options
Configuration option = Default value Description
[DEFAULT]
= True (BoolOpt) Whether to allow users to specify image properties beyond what the image schema provides
= 1000 (IntOpt) Maximum permissible number of items that could be returned by a request
= 4096 (IntOpt) The backlog value that will be used when creating the TCP listener socket.
= 0.0.0.0 (StrOpt) Address to bind the server. Useful when selecting a particular network interface.
= None (IntOpt) The port on which the server will listen.
= glance.db.sqlalchemy.api (StrOpt) Python module path of data access API
= sha256 (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.
= 64 (IntOpt) Size of executor thread pool.
= 10 (IntOpt) Maximum number of locations allowed on an image. Negative values evaluate to unlimited.
= 128 (IntOpt) Maximum number of image members per image. Negative values evaluate to unlimited.
= 128 (IntOpt) Maximum number of properties allowed on an image. Negative values evaluate to unlimited.
= 128 (IntOpt) Maximum number of tags allowed on an image. Negative values evaluate to unlimited.
= 25 (IntOpt) Default value for the number of items returned by a request if not specified explicitly in the request
= None (ListOpt) Memcached servers or None for in process cache.
= None (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
= /etc/glance/metadefs/ (StrOpt) Path to the directory where json metadata files are stored
= None (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.
= roles (StrOpt) This config value indicates whether "roles" or "policies" are used in the property protection file.
= False (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!
= 0 (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.
= 2 (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.
[glance_store]
= None (StrOpt) Region name of this node
[image_format]
= ami, ari, aki, bare, ovf, ova (ListOpt) Supported values for the 'container_format' image attribute
= ami, ari, aki, vhd, vmdk, raw, qcow2, vdi, iso (ListOpt) Supported values for the 'disk_format' image attribute
[keystone_authtoken]
= None (ListOpt) Optionally specify a list of memcached server(s) to use for caching. If left undefined, tokens will instead be cached in-process.
[task]
= taskflow (StrOpt) Specifies which task executor to be used to run the task scripts.
= 48 (IntOpt) Time in hours for which a task lives after, either succeeding or failing
= None (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.