Atom feed of this document
  
Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse -  Icehouse - 

 New, updated and deprecated options for glance

Table 6.28. New options
Option = default value (Type) Help string
enable_v1_registry = True (BoolOpt) Deploy the v1 OpenStack Registry API.
enable_v2_registry = True (BoolOpt) Deploy the v2 OpenStack Registry API.
filesystem_store_datadirs = None (MultiStrOpt) List of directories and its priorities to which the Filesystem backend store writes images.
image_location_quota = 10 (IntOpt) Maximum number of locations allowed on an image. Negative values evaluate to unlimited.
image_member_quota = 128 (IntOpt) Maximum number of image members per image. Negative values evaluate to unlimited.
image_property_quota = 128 (IntOpt) Maximum number of properties allowed on an image. Negative values evaluate to unlimited.
image_tag_quota = 128 (IntOpt) Maximum number of tags allowed on an image. Negative values evaluate to unlimited.
location_strategy = location_order (StrOpt) This value sets what strategy will be used to determine the image location order. Currently two strategies are packaged with Glance 'location_order' and 'store_type'.
log_config_append = None (StrOpt) The name of logging configuration file. It does not disable existing loggers, but just appends specified logging configuration to any other existing logging options. Please see the Python logging module documentation for details on logging configuration files.
max_header_line = 16384 (IntOpt) Maximum line size of message headers to be accepted. max_header_line may need to be increased when using large tokens (typically those generated by the Keystone v3 API with big service catalogs
property_protection_rule_format = roles (StrOpt) This config value indicates whether "roles" or "policies" are used in the property protection file.
swift_store_retry_get_count = 0 (IntOpt) The number of times a Swift download will be retried before the request fails.
use_syslog_rfc_format = False (BoolOpt) (Optional) Use syslog rfc5424 format for logging. If enabled, will add APP-NAME (RFC5424) before the MSG part of the syslog message. The old format without APP-NAME is deprecated in I, and will be removed in J.
vmware_api_insecure = False (BoolOpt) Allow to perform insecure SSL requests to ESX/VC.
vmware_api_retry_count = 10 (IntOpt) Number of times VMware ESX/VC server API must be retried upon connection related issues.
vmware_datacenter_path = ha-datacenter (StrOpt) Inventory path to a datacenter. If the vmware_server_host specified is an ESX/ESXi, the vmware_datacenter_path is optional. If specified, it should be "ha-datacenter".
vmware_datastore_name = None (StrOpt) Datastore associated with the datacenter.
vmware_server_host = None (StrOpt) ESX/ESXi or vCenter Server target system. The server value can be an IP address or a DNS name.
vmware_server_password = None (StrOpt) Password for authenticating with VMware ESX/VC server.
vmware_server_username = None (StrOpt) Username for authenticating with VMware ESX/VC server.
vmware_store_image_dir = /openstack_glance (StrOpt) The name of the directory where the glance images will be stored in the VMware datastore.
vmware_task_poll_interval = 5 (IntOpt) The interval used for polling remote tasks invoked on VMware ESX/VC server.
database/backend = sqlalchemy (StrOpt) The backend to use for db
database/connection = None (StrOpt) The SQLAlchemy connection string used to connect to the database
database/connection_debug = 0 (IntOpt) Verbosity of SQL debugging information. 0=None, 100=Everything
database/connection_trace = False (BoolOpt) Add python stack traces to SQL as comment strings
database/db_inc_retry_interval = True (BoolOpt) Whether to increase interval between db connection retries, up to db_max_retry_interval
database/db_max_retries = 20 (IntOpt) maximum db connection retries before error is raised. (setting -1 implies an infinite retry count)
database/db_max_retry_interval = 10 (IntOpt) max seconds between db connection retries, if db_inc_retry_interval is enabled
database/db_retry_interval = 1 (IntOpt) seconds between db connection retries
database/idle_timeout = 3600 (IntOpt) Timeout before idle sql connections are reaped
database/max_overflow = None (IntOpt) If set, use this value for max_overflow with sqlalchemy
database/max_pool_size = None (IntOpt) Maximum number of SQL connections to keep open in a pool
database/max_retries = 10 (IntOpt) Maximum db connection retries during startup. (setting -1 implies an infinite retry count)
database/min_pool_size = 1 (IntOpt) Minimum number of SQL connections to keep open in a pool
database/mysql_sql_mode = TRADITIONAL (StrOpt) 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=
database/pool_timeout = None (IntOpt) If set, use this value for pool_timeout with sqlalchemy
database/retry_interval = 10 (IntOpt) Interval between retries of opening a sql connection
database/sqlite_db = glance.sqlite (StrOpt) The file name to use with SQLite
database/sqlite_synchronous = True (BoolOpt) If True, SQLite uses synchronous mode
database/use_db_reconnect = False (BoolOpt) Enable the experimental use of database reconnect on connection lost
image_format/container_formats = ['ami', 'ari', 'aki', 'bare', 'ovf', 'ova'] (ListOpt) Supported values for the 'container_format' image attribute
image_format/disk_formats = ['ami', 'ari', 'aki', 'vhd', 'vmdk', 'raw', 'qcow2', 'vdi', 'iso'] (ListOpt) Supported values for the 'disk_format' image attribute
store_type_location_strategy/store_type_preference = [] (ListOpt) The store names to use to get store preference order. The name must be registered by one of the stores defined by the 'known_stores' config option. This option will be applied when you using 'store_type' option as image location strategy defined by the 'location_strategy' config option.
task/task_time_to_live = 48 (IntOpt) Time in hours for which a task lives after, either succeeding or failing
Table 6.29. New default values
Option Previous default value New default value
default_log_levels amqplib=WARN, sqlalchemy=WARN, boto=WARN, suds=INFO, keystone=INFO, eventlet.wsgi.server=WARN amqp=WARN, amqplib=WARN, boto=WARN, qpid=WARN, sqlalchemy=WARN, suds=INFO, iso8601=WARN, requests.packages.urllib3.connectionpool=WARN
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.filesystem.Store, glance.store.http.Store
logging_context_format_string %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user)s %(tenant)s] %(instance)s%(message)s %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
qpid_port 5672 5672
rbd_store_ceph_conf /etc/ceph/ceph.conf
rbd_store_chunk_size 4 8
rbd_store_pool rbd images
sheepdog_store_port 7000 7000
Table 6.30. Deprecated options
Deprecated option New Option
rabbit_durable_queues amqp_durable_queues
disk_formats image_format/disk_formats
log_config log_config_append
sql_connection database/connection
sql_max_retries database/max_retries
sql_retry_interval database/retry_interval
sql_idle_timeout database/idle_timeout
container_formats image_format/container_formats
Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...