components/openstack/glance/files/glance-cache.conf
changeset 6852 bf55de364b19
parent 6176 8b75bcaa9d4d
equal deleted inserted replaced
6851:f984e52b96bb 6852:bf55de364b19
    42 
    42 
    43 # Whether to include the backend image locations in image properties.
    43 # Whether to include the backend image locations in image properties.
    44 # For example, if using the file system store a URL of
    44 # For example, if using the file system store a URL of
    45 # "file:///path/to/image" will be returned to the user in the
    45 # "file:///path/to/image" will be returned to the user in the
    46 # 'direct_url' meta-data field. Revealing storage location can be a
    46 # 'direct_url' meta-data field. Revealing storage location can be a
    47 # security risk, so use this setting with caution!  The overrides
    47 # security risk, so use this setting with caution! Setting this to
    48 # show_image_direct_url. (boolean value)
    48 # true overrides the show_image_direct_url option. (boolean value)
    49 #show_multiple_locations = false
    49 #show_multiple_locations = false
    50 
    50 
    51 # Maximum size of image a user can upload in bytes. Defaults to
    51 # Maximum size of image a user can upload in bytes. Defaults to
    52 # 1099511627776 bytes (1 TB).WARNING: this value should only be
    52 # 1099511627776 bytes (1 TB). WARNING: this value should only be
    53 # increased after careful consideration and must be set to a value
    53 # increased after careful consideration and must be set to a value
    54 # under 8 EB (9223372036854775808). (integer value)
    54 # under 8 EB (9223372036854775808). (integer value)
       
    55 # Maximum value: 9223372036854775808
    55 #image_size_cap = 1099511627776
    56 #image_size_cap = 1099511627776
    56 
    57 
    57 # Set a system wide quota for every user. This value is the total
    58 # Set a system wide quota for every user. This value is the total
    58 # capacity that a user can use across all storage systems. A value of
    59 # capacity that a user can use across all storage systems. A value of
    59 # 0 means unlimited.Optional unit can be specified for the value.
    60 # 0 means unlimited. Optional unit can be specified for the value.
    60 # Accepted units are B, KB, MB, GB and TB representing Bytes,
    61 # Accepted units are B, KB, MB, GB and TB representing Bytes,
    61 # KiloBytes, MegaBytes, GigaBytes and TeraBytes respectively. If no
    62 # KiloBytes, MegaBytes, GigaBytes and TeraBytes respectively. If no
    62 # unit is specified then Bytes is assumed. Note that there should not
    63 # unit is specified then Bytes is assumed. Note that there should not
    63 # be any space between value and unit and units are case sensitive.
    64 # be any space between value and unit and units are case sensitive.
    64 # (string value)
    65 # (string value)
    79 # The hostname/IP of the pydev process listening for debug connections
    80 # The hostname/IP of the pydev process listening for debug connections
    80 # (string value)
    81 # (string value)
    81 #pydev_worker_debug_host = <None>
    82 #pydev_worker_debug_host = <None>
    82 
    83 
    83 # The port on which a pydev process is listening for connections.
    84 # The port on which a pydev process is listening for connections.
    84 # (integer value)
    85 # (port value)
       
    86 # Minimum value: 0
       
    87 # Maximum value: 65535
    85 #pydev_worker_debug_port = 5678
    88 #pydev_worker_debug_port = 5678
    86 
    89 
    87 # AES key for encrypting store 'location' metadata. This includes, if
    90 # AES key for encrypting store 'location' metadata. This includes, if
    88 # used, Swift or S3 credentials. Should be set to a random string of
    91 # used, Swift or S3 credentials. Should be set to a random string of
    89 # length 16, 24 or 32 bytes (string value)
    92 # length 16, 24 or 32 bytes (string value)
    90 #metadata_encryption_key = <None>
    93 #metadata_encryption_key = <None>
    91 
    94 
    92 # Digest algorithm which will be used for digital signature; the
    95 # Digest algorithm which will be used for digital signature. Use the
    93 # default is sha1 the default in Kilo for a smooth upgrade process,
       
    94 # and it will be updated with sha256 in next release(L). Use the
       
    95 # command "openssl list-message-digest-algorithms" to get the
    96 # command "openssl list-message-digest-algorithms" to get the
    96 # available algorithms supported by the version of OpenSSL on the
    97 # available algorithms supported by the version of OpenSSL on the
    97 # platform. Examples are "sha1", "sha256", "sha512", etc. (string
    98 # platform. Examples are "sha1", "sha256", "sha512", etc. (string
    98 # value)
    99 # value)
    99 #digest_algorithm = sha1
   100 #digest_algorithm = sha256
   100 
   101 
   101 # The path to the sqlite file database that will be used for image
   102 # The path to the sqlite file database that will be used for image
   102 # cache management. (string value)
   103 # cache management. (string value)
   103 #image_cache_sqlite_db = cache.db
   104 #image_cache_sqlite_db = cache.db
   104 
   105 
   105 # The driver to use for image cache management. (string value)
   106 # The driver to use for image cache management. (string value)
   106 #image_cache_driver = sqlite
   107 #image_cache_driver = sqlite
   107 
   108 
   108 # The upper limit (the maximum size of accumulated cache in bytes)
   109 # The upper limit (the maximum size of accumulated cache in bytes)
   109 # beyond which pruner, if running, starts cleaning the images cache.
   110 # beyond which the cache pruner, if running, starts cleaning the image
   110 # (integer value)
   111 # cache. (integer value)
   111 #image_cache_max_size = 10737418240
   112 #image_cache_max_size = 10737418240
   112 
   113 
   113 # The amount of time to let an image remain in the cache without being
   114 # The amount of time to let an incomplete image remain in the cache,
   114 # accessed. (integer value)
   115 # before the cache cleaner, if running, will remove the incomplete
       
   116 # image. (integer value)
   115 #image_cache_stall_time = 86400
   117 #image_cache_stall_time = 86400
   116 
   118 
   117 # Base directory that the Image Cache uses. (string value)
   119 # Base directory that the image cache uses. (string value)
   118 #image_cache_dir = <None>
   120 #image_cache_dir = <None>
   119 
   121 
   120 # Address to find the registry server. (string value)
   122 # Address to find the registry server. (string value)
   121 #registry_host = 0.0.0.0
   123 #registry_host = 0.0.0.0
   122 
   124 
   123 # Port the registry server is listening on. (integer value)
   125 # Port the registry server is listening on. (port value)
       
   126 # Minimum value: 0
       
   127 # Maximum value: 65535
   124 #registry_port = 9191
   128 #registry_port = 9191
   125 
   129 
   126 # Whether to pass through the user token when making requests to the
   130 # Whether to pass through the user token when making requests to the
   127 # registry. (boolean value)
   131 # registry. To prevent failures with token expiration during big files
   128 # WARNING: DO NOT CHANGE THIS VALUE.  Setting use_user_token to False
   132 # upload, it is recommended to set this parameter to False. If
   129 # allows for unintended privilege escalation within the Glance API server.
   133 # "use_user_token" is not in effect, then admin credentials can be
   130 # See https://wiki.openstack.org/wiki/OSSN/OSSN-0060
   134 # specified. (boolean value)
       
   135 # This option is deprecated for removal.
       
   136 # Its value may be silently ignored in the future.
       
   137 # Reason: This option was considered harmful and has been deprecated
       
   138 # in M release. It will be removed in O release. For more information
       
   139 # read OSSN-0060. Related functionality with uploading big images has
       
   140 # been implemented with Keystone trusts support.
   131 #use_user_token = true
   141 #use_user_token = true
   132 
   142 
   133 # The administrators user name. If "use_user_token" is not in effect,
   143 # The administrators user name. If "use_user_token" is not in effect,
   134 # then admin credentials can be specified. (string value)
   144 # then admin credentials can be specified. (string value)
       
   145 # This option is deprecated for removal.
       
   146 # Its value may be silently ignored in the future.
       
   147 # Reason: This option was considered harmful and has been deprecated
       
   148 # in M release. It will be removed in O release. For more information
       
   149 # read OSSN-0060. Related functionality with uploading big images has
       
   150 # been implemented with Keystone trusts support.
   135 admin_user = %SERVICE_USER%
   151 admin_user = %SERVICE_USER%
   136 
   152 
   137 # The administrators password. If "use_user_token" is not in effect,
   153 # The administrators password. If "use_user_token" is not in effect,
   138 # then admin credentials can be specified. (string value)
   154 # then admin credentials can be specified. (string value)
       
   155 # This option is deprecated for removal.
       
   156 # Its value may be silently ignored in the future.
       
   157 # Reason: This option was considered harmful and has been deprecated
       
   158 # in M release. It will be removed in O release. For more information
       
   159 # read OSSN-0060. Related functionality with uploading big images has
       
   160 # been implemented with Keystone trusts support.
   139 admin_password = %SERVICE_PASSWORD%
   161 admin_password = %SERVICE_PASSWORD%
   140 
   162 
   141 # The tenant name of the administrative user. If "use_user_token" is
   163 # The tenant name of the administrative user. If "use_user_token" is
   142 # not in effect, then admin tenant name can be specified. (string
   164 # not in effect, then admin tenant name can be specified. (string
   143 # value)
   165 # value)
       
   166 # This option is deprecated for removal.
       
   167 # Its value may be silently ignored in the future.
       
   168 # Reason: This option was considered harmful and has been deprecated
       
   169 # in M release. It will be removed in O release. For more information
       
   170 # read OSSN-0060. Related functionality with uploading big images has
       
   171 # been implemented with Keystone trusts support.
   144 admin_tenant_name = %SERVICE_TENANT_NAME%
   172 admin_tenant_name = %SERVICE_TENANT_NAME%
   145 
   173 
   146 # The URL to the keystone service. If "use_user_token" is not in
   174 # The URL to the keystone service. If "use_user_token" is not in
   147 # effect and using keystone auth, then URL of keystone can be
   175 # effect and using keystone auth, then URL of keystone can be
   148 # specified. (string value)
   176 # specified. (string value)
       
   177 # This option is deprecated for removal.
       
   178 # Its value may be silently ignored in the future.
       
   179 # Reason: This option was considered harmful and has been deprecated
       
   180 # in M release. It will be removed in O release. For more information
       
   181 # read OSSN-0060. Related functionality with uploading big images has
       
   182 # been implemented with Keystone trusts support.
   149 auth_url = http://127.0.0.1:5000/v2.0/
   183 auth_url = http://127.0.0.1:5000/v2.0/
   150 
   184 
   151 # The strategy to use for authentication. If "use_user_token" is not
   185 # The strategy to use for authentication. If "use_user_token" is not
   152 # in effect, then auth strategy can be specified. (string value)
   186 # in effect, then auth strategy can be specified. (string value)
   153 #auth_strategy = noauth
   187 # This option is deprecated for removal.
       
   188 # Its value may be silently ignored in the future.
       
   189 # Reason: This option was considered harmful and has been deprecated
       
   190 # in M release. It will be removed in O release. For more information
       
   191 # read OSSN-0060. Related functionality with uploading big images has
       
   192 # been implemented with Keystone trusts support.
       
   193 auth_strategy = keystone
   154 
   194 
   155 # The region for the authentication service. If "use_user_token" is
   195 # The region for the authentication service. If "use_user_token" is
   156 # not in effect and using keystone auth, then region name can be
   196 # not in effect and using keystone auth, then region name can be
   157 # specified. (string value)
   197 # specified. (string value)
       
   198 # This option is deprecated for removal.
       
   199 # Its value may be silently ignored in the future.
       
   200 # Reason: This option was considered harmful and has been deprecated
       
   201 # in M release. It will be removed in O release. For more information
       
   202 # read OSSN-0060. Related functionality with uploading big images has
       
   203 # been implemented with Keystone trusts support.
   158 #auth_region = <None>
   204 #auth_region = <None>
   159 
   205 
   160 #
   206 #
   161 # From oslo.log
   207 # From oslo.log
   162 #
   208 #
   163 
   209 
   164 # Print debugging output (set logging level to DEBUG instead of
   210 # If set to true, the logging level will be set to DEBUG instead of
   165 # default WARNING level). (boolean value)
   211 # the default INFO level. (boolean value)
   166 #debug = false
   212 #debug = false
   167 
   213 
   168 # Print more verbose output (set logging level to INFO instead of
   214 # If set to false, the logging level will be set to WARNING instead of
   169 # default WARNING level). (boolean value)
   215 # the default INFO level. (boolean value)
   170 #verbose = false
   216 # This option is deprecated for removal.
       
   217 # Its value may be silently ignored in the future.
       
   218 #verbose = true
   171 
   219 
   172 # The name of a logging configuration file. This file is appended to
   220 # The name of a logging configuration file. This file is appended to
   173 # any existing logging configuration files. For details about logging
   221 # any existing logging configuration files. For details about logging
   174 # configuration files, see the Python logging module documentation.
   222 # configuration files, see the Python logging module documentation.
   175 # (string value)
   223 # Note that when logging configuration files are used then all logging
       
   224 # configuration is set in the configuration file and other logging
       
   225 # configuration options are ignored (for example,
       
   226 # logging_context_format_string). (string value)
   176 # Deprecated group/name - [DEFAULT]/log_config
   227 # Deprecated group/name - [DEFAULT]/log_config
   177 #log_config_append = <None>
   228 #log_config_append = <None>
   178 
   229 
   179 # DEPRECATED. A logging.Formatter log message format string which may
   230 # Defines the format string for %%(asctime)s in log records. Default:
   180 # use any of the available logging.LogRecord attributes. This option
   231 # %(default)s . This option is ignored if log_config_append is set.
   181 # is deprecated.  Please use logging_context_format_string and
   232 # (string value)
   182 # logging_default_format_string instead. (string value)
       
   183 #log_format = <None>
       
   184 
       
   185 # Format string for %%(asctime)s in log records. Default: %(default)s
       
   186 # . (string value)
       
   187 #log_date_format = %Y-%m-%d %H:%M:%S
   233 #log_date_format = %Y-%m-%d %H:%M:%S
   188 
   234 
   189 # (Optional) Name of log file to output to. If no default is set,
   235 # (Optional) Name of log file to send logging output to. If no default
   190 # logging will go to stdout. (string value)
   236 # is set, logging will go to stderr as defined by use_stderr. This
       
   237 # option is ignored if log_config_append is set. (string value)
   191 # Deprecated group/name - [DEFAULT]/logfile
   238 # Deprecated group/name - [DEFAULT]/logfile
   192 #log_file = <None>
   239 #log_file = <None>
   193 
   240 
   194 # (Optional) The base directory used for relative --log-file paths.
   241 # (Optional) The base directory used for relative log_file paths.
   195 # (string value)
   242 # This option is ignored if log_config_append is set. (string value)
   196 # Deprecated group/name - [DEFAULT]/logdir
   243 # Deprecated group/name - [DEFAULT]/logdir
   197 #log_dir = <None>
   244 #log_dir = <None>
   198 
   245 
   199 # Use syslog for logging. Existing syslog format is DEPRECATED during
   246 # Uses logging handler designed to watch file system. When log file is
   200 # I, and will change in J to honor RFC5424. (boolean value)
   247 # moved or removed this handler will open a new log file with
       
   248 # specified path instantaneously. It makes sense only if log_file
       
   249 # option is specified and Linux platform is used. This option is
       
   250 # ignored if log_config_append is set. (boolean value)
       
   251 #watch_log_file = false
       
   252 
       
   253 # Use syslog for logging. Existing syslog format is DEPRECATED and
       
   254 # will be changed later to honor RFC5424. This option is ignored if
       
   255 # log_config_append is set. (boolean value)
   201 #use_syslog = false
   256 #use_syslog = false
   202 
   257 
   203 # (Optional) Enables or disables syslog rfc5424 format for logging. If
   258 # Syslog facility to receive log lines. This option is ignored if
   204 # enabled, prefixes the MSG part of the syslog message with APP-NAME
   259 # log_config_append is set. (string value)
   205 # (RFC5424). The format without the APP-NAME is deprecated in I, and
       
   206 # will be removed in J. (boolean value)
       
   207 #use_syslog_rfc_format = false
       
   208 
       
   209 # Syslog facility to receive log lines. (string value)
       
   210 #syslog_log_facility = LOG_USER
   260 #syslog_log_facility = LOG_USER
   211 
   261 
   212 # Log output to standard error. (boolean value)
   262 # Log output to standard error. This option is ignored if
       
   263 # log_config_append is set. (boolean value)
   213 #use_stderr = true
   264 #use_stderr = true
   214 
   265 
   215 # Format string to use for log messages with context. (string value)
   266 # Format string to use for log messages with context. (string value)
   216 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
   267 #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
   217 
   268 
   218 # Format string to use for log messages without context. (string
   269 # Format string to use for log messages when context is undefined.
   219 # value)
   270 # (string value)
   220 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
   271 #logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
   221 
   272 
   222 # Data to append to log format when level is DEBUG. (string value)
   273 # Additional data to append to log message when logging level for the
       
   274 # message is DEBUG. (string value)
   223 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
   275 #logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
   224 
   276 
   225 # Prefix each line of exception output with this format. (string
   277 # Prefix each line of exception output with this format. (string
   226 # value)
   278 # value)
   227 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d TRACE %(name)s %(instance)s
   279 #logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
   228 
   280 
   229 # List of logger=LEVEL pairs. (list value)
   281 # Defines the format string for %(user_identity)s that is used in
   230 #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
   282 # logging_context_format_string. (string value)
       
   283 #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
       
   284 
       
   285 # List of package logging levels in logger=LEVEL pairs. This option is
       
   286 # ignored if log_config_append is set. (list value)
       
   287 #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,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
   231 
   288 
   232 # Enables or disables publication of error events. (boolean value)
   289 # Enables or disables publication of error events. (boolean value)
   233 #publish_errors = false
   290 #publish_errors = false
   234 
   291 
       
   292 # The format for an instance that is passed with the log message.
       
   293 # (string value)
       
   294 #instance_format = "[instance: %(uuid)s] "
       
   295 
       
   296 # The format for an instance UUID that is passed with the log message.
       
   297 # (string value)
       
   298 #instance_uuid_format = "[instance: %(uuid)s] "
       
   299 
   235 # Enables or disables fatal status of deprecations. (boolean value)
   300 # Enables or disables fatal status of deprecations. (boolean value)
   236 #fatal_deprecations = false
   301 #fatal_deprecations = false
   237 
   302 
   238 # The format for an instance that is passed with the log message.
       
   239 # (string value)
       
   240 #instance_format = "[instance: %(uuid)s] "
       
   241 
       
   242 # The format for an instance UUID that is passed with the log message.
       
   243 # (string value)
       
   244 #instance_uuid_format = "[instance: %(uuid)s] "
       
   245 
       
   246 
   303 
   247 [glance_store]
   304 [glance_store]
   248 
   305 
   249 #
   306 #
   250 # From glance.store
   307 # From glance.store
   251 #
   308 #
   252 
   309 
   253 # List of stores enabled (list value)
   310 # List of stores enabled. Valid stores are: cinder, file, http, rbd,
       
   311 # sheepdog, swift, s3, vsphere (list value)
   254 #stores = file,http
   312 #stores = file,http
   255 
   313 
   256 # Default scheme to use to store image data. The scheme must be
   314 # Default scheme to use to store image data. The scheme must be
   257 # registered by one of the stores defined by the 'stores' config
   315 # registered by one of the stores defined by the 'stores' config
   258 # option. (string value)
   316 # option. (string value)
   264 # seconds elapsed and an operation of store has triggered. The feature
   322 # seconds elapsed and an operation of store has triggered. The feature
   265 # will be enabled only when the option value greater then zero.
   323 # will be enabled only when the option value greater then zero.
   266 # (integer value)
   324 # (integer value)
   267 #store_capabilities_update_min_interval = 0
   325 #store_capabilities_update_min_interval = 0
   268 
   326 
   269 #
       
   270 # From glance.store
       
   271 #
       
   272 
       
   273 # Images will be chunked into objects of this size (in megabytes). For
   327 # Images will be chunked into objects of this size (in megabytes). For
   274 # best performance, this should be a power of two. (integer value)
   328 # best performance, this should be a power of two. (integer value)
   275 #sheepdog_store_chunk_size = 64
   329 #sheepdog_store_chunk_size = 64
   276 
   330 
   277 # Port of sheep daemon. (integer value)
   331 # Port of sheep daemon. (integer value)
   297 # default config. If using cephx authentication, this file should
   351 # default config. If using cephx authentication, this file should
   298 # include a reference to the right keyring in a client.<USER> section
   352 # include a reference to the right keyring in a client.<USER> section
   299 # (string value)
   353 # (string value)
   300 #rbd_store_ceph_conf = /etc/ceph/ceph.conf
   354 #rbd_store_ceph_conf = /etc/ceph/ceph.conf
   301 
   355 
       
   356 # Timeout value (in seconds) used when connecting to ceph cluster. If
       
   357 # value <= 0, no timeout is set and default librados value is used.
       
   358 # (integer value)
       
   359 #rados_connect_timeout = 0
       
   360 
       
   361 # Specify the path to the CA bundle file to use in verifying the
       
   362 # remote server certificate. (string value)
       
   363 #https_ca_certificates_file = <None>
       
   364 
       
   365 # If true, the remote server certificate is not verified. If false,
       
   366 # then the default CA truststore is used for verification. This option
       
   367 # is ignored if "https_ca_certificates_file" is set. (boolean value)
       
   368 #https_insecure = true
       
   369 
       
   370 # Specify the http/https proxy information that should be used to
       
   371 # connect to the remote server. The proxy information should be a key
       
   372 # value pair of the scheme and proxy. e.g. http:10.0.0.1:3128. You can
       
   373 # specify proxies for multiple schemes by seperating the key value
       
   374 # pairs with a comma.e.g. http:10.0.0.1:3128, https:10.0.0.1:1080.
       
   375 # (dict value)
       
   376 #http_proxy_information =
       
   377 
   302 # Directory to which the Filesystem backend store writes images.
   378 # Directory to which the Filesystem backend store writes images.
   303 # (string value)
   379 # (string value)
   304 filesystem_store_datadir = /var/lib/glance/images/
   380 #filesystem_store_datadir = /var/lib/glance/images
   305 
   381 
   306 # List of directories and its priorities to which the Filesystem
   382 # List of directories and its priorities to which the Filesystem
   307 # backend store writes images. (multi valued)
   383 # backend store writes images. (multi valued)
   308 #filesystem_store_datadirs =
   384 #filesystem_store_datadirs =
   309 
   385 
   320 # it less then or equal to zero means don't change the default
   396 # it less then or equal to zero means don't change the default
   321 # permission of the file. This value will be decoded as an octal
   397 # permission of the file. This value will be decoded as an octal
   322 # digit. (integer value)
   398 # digit. (integer value)
   323 #filesystem_store_file_perm = 0
   399 #filesystem_store_file_perm = 0
   324 
   400 
   325 # Hostname or IP address of the instance to connect to, or a mongodb
       
   326 # URI, or a list of hostnames / mongodb URIs. If host is an IPv6
       
   327 # literal it must be enclosed in '[' and ']' characters following the
       
   328 # RFC2732 URL syntax (e.g. '[::1]' for localhost) (string value)
       
   329 #mongodb_store_uri = <None>
       
   330 
       
   331 # Database to use (string value)
       
   332 #mongodb_store_db = <None>
       
   333 
       
   334 # The host where the S3 server is listening. (string value)
   401 # The host where the S3 server is listening. (string value)
   335 #s3_store_host = <None>
   402 #s3_store_host = <None>
   336 
   403 
   337 # The S3 query token access key. (string value)
   404 # The S3 query token access key. (string value)
   338 #s3_store_access_key = <None>
   405 #s3_store_access_key = <None>
   366 
   433 
   367 # The number of thread pools to perform a multipart upload in S3.
   434 # The number of thread pools to perform a multipart upload in S3.
   368 # (integer value)
   435 # (integer value)
   369 #s3_store_thread_pools = 10
   436 #s3_store_thread_pools = 10
   370 
   437 
       
   438 # Enable the use of a proxy. (boolean value)
       
   439 #s3_store_enable_proxy = false
       
   440 
       
   441 # Address or hostname for the proxy server. (string value)
       
   442 #s3_store_proxy_host = <None>
       
   443 
       
   444 # The port to use when connecting over a proxy. (integer value)
       
   445 #s3_store_proxy_port = 8080
       
   446 
       
   447 # The username to connect to the proxy. (string value)
       
   448 #s3_store_proxy_user = <None>
       
   449 
       
   450 # The password to use when connecting over a proxy. (string value)
       
   451 #s3_store_proxy_password = <None>
       
   452 
   371 # ESX/ESXi or vCenter Server target system. The server value can be an
   453 # ESX/ESXi or vCenter Server target system. The server value can be an
   372 # IP address or a DNS name. (string value)
   454 # IP address or a DNS name. (string value)
   373 #vmware_server_host = <None>
   455 #vmware_server_host = <None>
   374 
   456 
   375 # Username for authenticating with VMware ESX/VC server. (string
   457 # Username for authenticating with VMware ESX/VC server. (string
   378 
   460 
   379 # Password for authenticating with VMware ESX/VC server. (string
   461 # Password for authenticating with VMware ESX/VC server. (string
   380 # value)
   462 # value)
   381 #vmware_server_password = <None>
   463 #vmware_server_password = <None>
   382 
   464 
   383 # DEPRECATED. Inventory path to a datacenter. If the
       
   384 # vmware_server_host specified is an ESX/ESXi, the
       
   385 # vmware_datacenter_path is optional. If specified, it should be "ha-
       
   386 # datacenter". This option is deprecated in favor of vmware_datastores
       
   387 # and will be removed in the Liberty release. (string value)
       
   388 #vmware_datacenter_path = ha-datacenter
       
   389 
       
   390 # DEPRECATED. Datastore associated with the datacenter. This option is
       
   391 # deprecated in favor of vmware_datastores and will be removed in the
       
   392 # Liberty release. (string value)
       
   393 #vmware_datastore_name = <None>
       
   394 
       
   395 # Number of times VMware ESX/VC server API must be retried upon
   465 # Number of times VMware ESX/VC server API must be retried upon
   396 # connection related issues. (integer value)
   466 # connection related issues. (integer value)
   397 #vmware_api_retry_count = 10
   467 #vmware_api_retry_count = 10
   398 
   468 
   399 # The interval used for polling remote tasks invoked on VMware ESX/VC
   469 # The interval used for polling remote tasks invoked on VMware ESX/VC
   402 
   472 
   403 # The name of the directory where the glance images will be stored in
   473 # The name of the directory where the glance images will be stored in
   404 # the VMware datastore. (string value)
   474 # the VMware datastore. (string value)
   405 #vmware_store_image_dir = /openstack_glance
   475 #vmware_store_image_dir = /openstack_glance
   406 
   476 
   407 # Allow to perform insecure SSL requests to ESX/VC. (boolean value)
   477 # If true, the ESX/vCenter server certificate is not verified. If
   408 #vmware_api_insecure = false
   478 # false, then the default CA truststore is used for verification. This
       
   479 # option is ignored if "vmware_ca_file" is set. (boolean value)
       
   480 # Deprecated group/name - [DEFAULT]/vmware_api_insecure
       
   481 #vmware_insecure = false
       
   482 
       
   483 # Specify a CA bundle file to use in verifying the ESX/vCenter server
       
   484 # certificate. (string value)
       
   485 #vmware_ca_file = <None>
   409 
   486 
   410 # A list of datastores where the image can be stored. This option may
   487 # A list of datastores where the image can be stored. This option may
   411 # be specified multiple times for specifying multiple datastores.
   488 # be specified multiple times for specifying multiple datastores. The
   412 # Either one of vmware_datastore_name or vmware_datastores is
   489 # datastore name should be specified after its datacenter path,
   413 # required. The datastore name should be specified after its
   490 # seperated by ":". An optional weight may be given after the
   414 # datacenter path, seperated by ":". An optional weight may be given
   491 # datastore name, seperated again by ":". Thus, the required format
   415 # after the datastore name, seperated again by ":". Thus, the required
   492 # becomes <datacenter_path>:<datastore_name>:<optional_weight>. When
   416 # format becomes <datacenter_path>:<datastore_name>:<optional_weight>.
   493 # adding an image, the datastore with highest weight will be selected,
   417 # When adding an image, the datastore with highest weight will be
   494 # unless there is not enough free space available in cases where the
   418 # selected, unless there is not enough free space available in cases
   495 # image size is already known. If no weight is given, it is assumed to
   419 # where the image size is already known. If no weight is given, it is
   496 # be zero and the directory will be considered for selection last. If
   420 # assumed to be zero and the directory will be considered for
   497 # multiple datastores have the same weight, then the one with the most
   421 # selection last. If multiple datastores have the same weight, then
   498 # free space available is selected. (multi valued)
   422 # the one with the most free space available is selected. (multi
       
   423 # valued)
       
   424 #vmware_datastores =
   499 #vmware_datastores =
   425 
   500 
   426 # Info to match when looking for cinder in the service catalog. Format
   501 # Info to match when looking for cinder in the service catalog. Format
   427 # is : separated values of the form:
   502 # is : separated values of the form:
   428 # <service_type>:<service_name>:<endpoint_type> (string value)
   503 # <service_type>:<service_name>:<endpoint_type> (string value)
   429 #cinder_catalog_info = volume:cinder:publicURL
   504 #cinder_catalog_info = volumev2::publicURL
   430 
   505 
   431 # Override service catalog lookup with template for cinder endpoint
   506 # Override service catalog lookup with template for cinder endpoint
   432 # e.g. http://localhost:8776/v1/%(project_id)s (string value)
   507 # e.g. http://localhost:8776/v2/%(tenant)s (string value)
   433 #cinder_endpoint_template = <None>
   508 #cinder_endpoint_template = <None>
   434 
   509 
   435 # Region name of this node (string value)
   510 # Region name of this node. If specified, it will be used to locate
   436 #os_region_name = <None>
   511 # OpenStack services for stores. (string value)
       
   512 # Deprecated group/name - [DEFAULT]/os_region_name
       
   513 #cinder_os_region_name = <None>
   437 
   514 
   438 # Location of ca certicates file to use for cinder client requests.
   515 # Location of ca certicates file to use for cinder client requests.
   439 # (string value)
   516 # (string value)
   440 #cinder_ca_certificates_file = <None>
   517 #cinder_ca_certificates_file = <None>
   441 
   518 
   442 # Number of cinderclient retries on failed http calls (integer value)
   519 # Number of cinderclient retries on failed http calls (integer value)
   443 #cinder_http_retries = 3
   520 #cinder_http_retries = 3
   444 
   521 
       
   522 # Time period of time in seconds to wait for a cinder volume
       
   523 # transition to complete. (integer value)
       
   524 #cinder_state_transition_timeout = 300
       
   525 
   445 # Allow to perform insecure SSL requests to cinder (boolean value)
   526 # Allow to perform insecure SSL requests to cinder (boolean value)
   446 #cinder_api_insecure = false
   527 #cinder_api_insecure = false
   447 
   528 
   448 # Version of the authentication service to use. Valid versions are 2
   529 # The address where the Cinder authentication service is listening. If
   449 # for keystone and 1 for swauth and rackspace. (deprecated) (string
   530 # <None>, the cinder endpoint in the service catalog is used. (string
   450 # value)
   531 # value)
   451 #swift_store_auth_version = 2
   532 #cinder_store_auth_address = <None>
       
   533 
       
   534 # User name to authenticate against Cinder. If <None>, the user of
       
   535 # current context is used. (string value)
       
   536 #cinder_store_user_name = <None>
       
   537 
       
   538 # Password for the user authenticating against Cinder. If <None>, the
       
   539 # current context auth token is used. (string value)
       
   540 #cinder_store_password = <None>
       
   541 
       
   542 # Project name where the image is stored in Cinder. If <None>, the
       
   543 # project in current context is used. (string value)
       
   544 #cinder_store_project_name = <None>
       
   545 
       
   546 # Path to the rootwrap configuration file to use for running commands
       
   547 # as root. (string value)
       
   548 #rootwrap_config = /etc/glance/rootwrap.conf
   452 
   549 
   453 # If True, swiftclient won't check for a valid SSL certificate when
   550 # If True, swiftclient won't check for a valid SSL certificate when
   454 # authenticating. (boolean value)
   551 # authenticating. (boolean value)
   455 #swift_store_auth_insecure = false
   552 #swift_store_auth_insecure = false
   456 
   553 
   501 #swift_store_multi_tenant = false
   598 #swift_store_multi_tenant = false
   502 
   599 
   503 # When set to 0, a single-tenant store will only use one container to
   600 # When set to 0, a single-tenant store will only use one container to
   504 # store all images. When set to an integer value between 1 and 32, a
   601 # store all images. When set to an integer value between 1 and 32, a
   505 # single-tenant store will use multiple containers to store images,
   602 # single-tenant store will use multiple containers to store images,
   506 # and this value will determine how many containers are created.Used
   603 # and this value will determine how many containers are created. Used
   507 # only when swift_store_multi_tenant is disabled. The total number of
   604 # only when swift_store_multi_tenant is disabled. The total number of
   508 # containers that will be used is equal to 16^N, so if this config
   605 # containers that will be used is equal to 16^N, so if this config
   509 # option is set to 2, then 16^2=256 containers will be used to store
   606 # option is set to 2, then 16^2=256 containers will be used to store
   510 # images. (integer value)
   607 # images. (integer value)
   511 #swift_store_multiple_containers_seed = 0
   608 #swift_store_multiple_containers_seed = 0
   522 
   619 
   523 # The number of times a Swift download will be retried before the
   620 # The number of times a Swift download will be retried before the
   524 # request fails. (integer value)
   621 # request fails. (integer value)
   525 #swift_store_retry_get_count = 0
   622 #swift_store_retry_get_count = 0
   526 
   623 
       
   624 # The period of time (in seconds) before token expirationwhen
       
   625 # glance_store will try to reques new user token. Default value 60 sec
       
   626 # means that if token is going to expire in 1 min then glance_store
       
   627 # request new user token. (integer value)
       
   628 #swift_store_expire_soon_interval = 60
       
   629 
       
   630 # If set to True create a trust for each add/get request to Multi-
       
   631 # tenant store in order to prevent authentication token to be expired
       
   632 # during uploading/downloading data. If set to False then user token
       
   633 # is used for Swift connection (so no overhead on trust creation).
       
   634 # Please note that this option is considered only and only if
       
   635 # swift_store_multi_tenant=True (boolean value)
       
   636 #swift_store_use_trusts = true
       
   637 
   527 # The reference to the default swift account/backing store parameters
   638 # The reference to the default swift account/backing store parameters
   528 # to use for adding new images. (string value)
   639 # to use for adding new images. (string value)
   529 #default_swift_reference = ref1
   640 #default_swift_reference = ref1
   530 
   641 
   531 # The address where the Swift authentication service is
   642 # Version of the authentication service to use. Valid versions are 2
   532 # listening.(deprecated) (string value)
   643 # and 3 for keystone and 1 (deprecated) for swauth and rackspace.
       
   644 # (deprecated - use "auth_version" in swift_store_config_file) (string
       
   645 # value)
       
   646 #swift_store_auth_version = 2
       
   647 
       
   648 # The address where the Swift authentication service is listening.
       
   649 # (deprecated - use "auth_address" in swift_store_config_file) (string
       
   650 # value)
   533 #swift_store_auth_address = <None>
   651 #swift_store_auth_address = <None>
   534 
   652 
   535 # The user to authenticate against the Swift authentication service
   653 # The user to authenticate against the Swift authentication service
   536 # (deprecated) (string value)
   654 # (deprecated - use "user" in swift_store_config_file) (string value)
   537 #swift_store_user = <None>
   655 #swift_store_user = <None>
   538 
   656 
   539 # Auth key for the user authenticating against the Swift
   657 # Auth key for the user authenticating against the Swift
   540 # authentication service. (deprecated) (string value)
   658 # authentication service. (deprecated - use "key" in
       
   659 # swift_store_config_file) (string value)
   541 #swift_store_key = <None>
   660 #swift_store_key = <None>
   542 
   661 
   543 # The config file that has the swift account(s)configs. (string value)
   662 # The config file that has the swift account(s)configs. (string value)
   544 #swift_store_config_file = <None>
   663 #swift_store_config_file = <None>
   545 
   664 
   557 # Directory to use for lock files.  For security, the specified
   676 # Directory to use for lock files.  For security, the specified
   558 # directory should only be writable by the user running the processes
   677 # directory should only be writable by the user running the processes
   559 # that need locking. Defaults to environment variable OSLO_LOCK_PATH.
   678 # that need locking. Defaults to environment variable OSLO_LOCK_PATH.
   560 # If external locks are used, a lock path must be set. (string value)
   679 # If external locks are used, a lock path must be set. (string value)
   561 # Deprecated group/name - [DEFAULT]/lock_path
   680 # Deprecated group/name - [DEFAULT]/lock_path
   562 #lock_path = <None>
   681 lock_path = /var/lib/glance/lock
   563 
   682 
   564 
   683 
   565 [oslo_policy]
   684 [oslo_policy]
   566 
   685 
   567 #
   686 #