components/openstack/glance/files/glance-scrubber.conf
changeset 6176 8b75bcaa9d4d
parent 5757 9c6a2daa1337
child 6852 bf55de364b19
equal deleted inserted replaced
6175:ddba0e1c2f4f 6176:8b75bcaa9d4d
   251 # The format for an instance UUID that is passed with the log message.
   251 # The format for an instance UUID that is passed with the log message.
   252 # (string value)
   252 # (string value)
   253 #instance_uuid_format = "[instance: %(uuid)s] "
   253 #instance_uuid_format = "[instance: %(uuid)s] "
   254 
   254 
   255 
   255 
   256 [database]
   256 [glance_store]
   257 
   257 
   258 #
   258 #
   259 # From oslo.db
   259 # From glance.store
   260 #
   260 #
   261 
   261 
   262 # The file name to use with SQLite. (string value)
   262 # List of stores enabled (list value)
   263 # Deprecated group/name - [DEFAULT]/sqlite_db
   263 #stores = file,http
   264 #sqlite_db = oslo.sqlite
   264 
   265 
   265 # Default scheme to use to store image data. The scheme must be
   266 # If True, SQLite uses synchronous mode. (boolean value)
   266 # registered by one of the stores defined by the 'stores' config
   267 # Deprecated group/name - [DEFAULT]/sqlite_synchronous
   267 # option. (string value)
   268 #sqlite_synchronous = true
   268 #default_store = file
   269 
   269 
   270 # The back end to use for the database. (string value)
   270 # Minimum interval seconds to execute updating dynamic storage
   271 # Deprecated group/name - [DEFAULT]/db_backend
   271 # capabilities based on backend status then. It's not a periodic
   272 #backend = sqlalchemy
   272 # routine, the update logic will be executed only when interval
   273 
   273 # seconds elapsed and an operation of store has triggered. The feature
   274 # The SQLAlchemy connection string to use to connect to the database.
   274 # will be enabled only when the option value greater then zero.
   275 # (string value)
       
   276 # Deprecated group/name - [DEFAULT]/sql_connection
       
   277 # Deprecated group/name - [DATABASE]/sql_connection
       
   278 # Deprecated group/name - [sql]/connection
       
   279 connection = mysql://%SERVICE_USER%:%SERVICE_PASSWORD%@localhost/glance
       
   280 
       
   281 # The SQLAlchemy connection string to use to connect to the slave
       
   282 # database. (string value)
       
   283 #slave_connection = <None>
       
   284 
       
   285 # The SQL mode to be used for MySQL sessions. This option, including
       
   286 # the default, overrides any server-set SQL mode. To use whatever SQL
       
   287 # mode is set by the server configuration, set this to no value.
       
   288 # Example: mysql_sql_mode= (string value)
       
   289 #mysql_sql_mode = TRADITIONAL
       
   290 
       
   291 # Timeout before idle SQL connections are reaped. (integer value)
       
   292 # Deprecated group/name - [DEFAULT]/sql_idle_timeout
       
   293 # Deprecated group/name - [DATABASE]/sql_idle_timeout
       
   294 # Deprecated group/name - [sql]/idle_timeout
       
   295 #idle_timeout = 3600
       
   296 
       
   297 # Minimum number of SQL connections to keep open in a pool. (integer
       
   298 # value)
       
   299 # Deprecated group/name - [DEFAULT]/sql_min_pool_size
       
   300 # Deprecated group/name - [DATABASE]/sql_min_pool_size
       
   301 #min_pool_size = 1
       
   302 
       
   303 # Maximum number of SQL connections to keep open in a pool. (integer
       
   304 # value)
       
   305 # Deprecated group/name - [DEFAULT]/sql_max_pool_size
       
   306 # Deprecated group/name - [DATABASE]/sql_max_pool_size
       
   307 #max_pool_size = <None>
       
   308 
       
   309 # Maximum number of database connection retries during startup. Set to
       
   310 # -1 to specify an infinite retry count. (integer value)
       
   311 # Deprecated group/name - [DEFAULT]/sql_max_retries
       
   312 # Deprecated group/name - [DATABASE]/sql_max_retries
       
   313 #max_retries = 10
       
   314 
       
   315 # Interval between retries of opening a SQL connection. (integer
       
   316 # value)
       
   317 # Deprecated group/name - [DEFAULT]/sql_retry_interval
       
   318 # Deprecated group/name - [DATABASE]/reconnect_interval
       
   319 #retry_interval = 10
       
   320 
       
   321 # If set, use this value for max_overflow with SQLAlchemy. (integer
       
   322 # value)
       
   323 # Deprecated group/name - [DEFAULT]/sql_max_overflow
       
   324 # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
       
   325 #max_overflow = <None>
       
   326 
       
   327 # Verbosity of SQL debugging information: 0=None, 100=Everything.
       
   328 # (integer value)
   275 # (integer value)
   329 # Deprecated group/name - [DEFAULT]/sql_connection_debug
   276 #store_capabilities_update_min_interval = 0
   330 #connection_debug = 0
   277 
   331 
   278 #
   332 # Add Python stack traces to SQL as comment strings. (boolean value)
   279 # From glance.store
   333 # Deprecated group/name - [DEFAULT]/sql_connection_trace
   280 #
   334 #connection_trace = false
   281 
   335 
   282 # Images will be chunked into objects of this size (in megabytes). For
   336 # If set, use this value for pool_timeout with SQLAlchemy. (integer
   283 # best performance, this should be a power of two. (integer value)
   337 # value)
   284 #sheepdog_store_chunk_size = 64
   338 # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
   285 
   339 #pool_timeout = <None>
   286 # Port of sheep daemon. (integer value)
   340 
   287 #sheepdog_store_port = 7000
   341 # Enable the experimental use of database reconnect on connection
   288 
   342 # lost. (boolean value)
   289 # IP address of sheep daemon. (string value)
   343 #use_db_reconnect = false
   290 #sheepdog_store_address = localhost
   344 
   291 
   345 # Seconds between retries of a database transaction. (integer value)
   292 # RADOS images will be chunked into objects of this size (in
   346 #db_retry_interval = 1
   293 # megabytes). For best performance, this should be a power of two.
   347 
       
   348 # If True, increases the interval between retries of a database
       
   349 # operation up to db_max_retry_interval. (boolean value)
       
   350 #db_inc_retry_interval = true
       
   351 
       
   352 # If db_inc_retry_interval is set, the maximum seconds between retries
       
   353 # of a database operation. (integer value)
       
   354 #db_max_retry_interval = 10
       
   355 
       
   356 # Maximum retries in case of connection error or deadlock error before
       
   357 # error is raised. Set to -1 to specify an infinite retry count.
       
   358 # (integer value)
   294 # (integer value)
   359 #db_max_retries = 20
   295 #rbd_store_chunk_size = 8
   360 
   296 
   361 #
   297 # RADOS pool in which images are stored. (string value)
   362 # From oslo.db.concurrency
   298 #rbd_store_pool = images
   363 #
   299 
   364 
   300 # RADOS user to authenticate as (only applicable if using Cephx. If
   365 # Enable the experimental use of thread pooling for all DB API calls
   301 # <None>, a default will be chosen based on the client. section in
       
   302 # rbd_store_ceph_conf) (string value)
       
   303 #rbd_store_user = <None>
       
   304 
       
   305 # Ceph configuration file path. If <None>, librados will locate the
       
   306 # default config. If using cephx authentication, this file should
       
   307 # include a reference to the right keyring in a client.<USER> section
       
   308 # (string value)
       
   309 #rbd_store_ceph_conf = /etc/ceph/ceph.conf
       
   310 
       
   311 # Directory to which the Filesystem backend store writes images.
       
   312 # (string value)
       
   313 filesystem_store_datadir = /var/lib/glance/images/
       
   314 
       
   315 # List of directories and its priorities to which the Filesystem
       
   316 # backend store writes images. (multi valued)
       
   317 #filesystem_store_datadirs =
       
   318 
       
   319 # The path to a file which contains the metadata to be returned with
       
   320 # any location associated with this store.  The file must contain a
       
   321 # valid JSON object. The object should contain the keys 'id' and
       
   322 # 'mountpoint'. The value for both keys should be 'string'. (string
       
   323 # value)
       
   324 #filesystem_store_metadata_file = <None>
       
   325 
       
   326 # The required permission for created image file. In this way the user
       
   327 # other service used, e.g. Nova, who consumes the image could be the
       
   328 # exclusive member of the group that owns the files created. Assigning
       
   329 # it less then or equal to zero means don't change the default
       
   330 # permission of the file. This value will be decoded as an octal
       
   331 # digit. (integer value)
       
   332 #filesystem_store_file_perm = 0
       
   333 
       
   334 # Hostname or IP address of the instance to connect to, or a mongodb
       
   335 # URI, or a list of hostnames / mongodb URIs. If host is an IPv6
       
   336 # literal it must be enclosed in '[' and ']' characters following the
       
   337 # RFC2732 URL syntax (e.g. '[::1]' for localhost) (string value)
       
   338 #mongodb_store_uri = <None>
       
   339 
       
   340 # Database to use (string value)
       
   341 #mongodb_store_db = <None>
       
   342 
       
   343 # The host where the S3 server is listening. (string value)
       
   344 #s3_store_host = <None>
       
   345 
       
   346 # The S3 query token access key. (string value)
       
   347 #s3_store_access_key = <None>
       
   348 
       
   349 # The S3 query token secret key. (string value)
       
   350 #s3_store_secret_key = <None>
       
   351 
       
   352 # The S3 bucket to be used to store the Glance data. (string value)
       
   353 #s3_store_bucket = <None>
       
   354 
       
   355 # The local directory where uploads will be staged before they are
       
   356 # transferred into S3. (string value)
       
   357 #s3_store_object_buffer_dir = <None>
       
   358 
       
   359 # A boolean to determine if the S3 bucket should be created on upload
       
   360 # if it does not exist or if an error should be returned to the user.
   366 # (boolean value)
   361 # (boolean value)
   367 # Deprecated group/name - [DEFAULT]/dbapi_use_tpool
   362 #s3_store_create_bucket_on_put = false
   368 #use_tpool = false
   363 
       
   364 # The S3 calling format used to determine the bucket. Either subdomain
       
   365 # or path can be used. (string value)
       
   366 #s3_store_bucket_url_format = subdomain
       
   367 
       
   368 # What size, in MB, should S3 start chunking image files and do a
       
   369 # multipart upload in S3. (integer value)
       
   370 #s3_store_large_object_size = 100
       
   371 
       
   372 # What multipart upload part size, in MB, should S3 use when uploading
       
   373 # parts. The size must be greater than or equal to 5M. (integer value)
       
   374 #s3_store_large_object_chunk_size = 10
       
   375 
       
   376 # The number of thread pools to perform a multipart upload in S3.
       
   377 # (integer value)
       
   378 #s3_store_thread_pools = 10
       
   379 
       
   380 # ESX/ESXi or vCenter Server target system. The server value can be an
       
   381 # IP address or a DNS name. (string value)
       
   382 #vmware_server_host = <None>
       
   383 
       
   384 # Username for authenticating with VMware ESX/VC server. (string
       
   385 # value)
       
   386 #vmware_server_username = <None>
       
   387 
       
   388 # Password for authenticating with VMware ESX/VC server. (string
       
   389 # value)
       
   390 #vmware_server_password = <None>
       
   391 
       
   392 # DEPRECATED. Inventory path to a datacenter. If the
       
   393 # vmware_server_host specified is an ESX/ESXi, the
       
   394 # vmware_datacenter_path is optional. If specified, it should be "ha-
       
   395 # datacenter". This option is deprecated in favor of vmware_datastores
       
   396 # and will be removed in the Liberty release. (string value)
       
   397 #vmware_datacenter_path = ha-datacenter
       
   398 
       
   399 # DEPRECATED. Datastore associated with the datacenter. This option is
       
   400 # deprecated in favor of vmware_datastores and will be removed in the
       
   401 # Liberty release. (string value)
       
   402 #vmware_datastore_name = <None>
       
   403 
       
   404 # Number of times VMware ESX/VC server API must be retried upon
       
   405 # connection related issues. (integer value)
       
   406 #vmware_api_retry_count = 10
       
   407 
       
   408 # The interval used for polling remote tasks invoked on VMware ESX/VC
       
   409 # server. (integer value)
       
   410 #vmware_task_poll_interval = 5
       
   411 
       
   412 # The name of the directory where the glance images will be stored in
       
   413 # the VMware datastore. (string value)
       
   414 #vmware_store_image_dir = /openstack_glance
       
   415 
       
   416 # Allow to perform insecure SSL requests to ESX/VC. (boolean value)
       
   417 #vmware_api_insecure = false
       
   418 
       
   419 # A list of datastores where the image can be stored. This option may
       
   420 # be specified multiple times for specifying multiple datastores.
       
   421 # Either one of vmware_datastore_name or vmware_datastores is
       
   422 # required. The datastore name should be specified after its
       
   423 # datacenter path, seperated by ":". An optional weight may be given
       
   424 # after the datastore name, seperated again by ":". Thus, the required
       
   425 # format becomes <datacenter_path>:<datastore_name>:<optional_weight>.
       
   426 # When adding an image, the datastore with highest weight will be
       
   427 # selected, unless there is not enough free space available in cases
       
   428 # where the image size is already known. If no weight is given, it is
       
   429 # assumed to be zero and the directory will be considered for
       
   430 # selection last. If multiple datastores have the same weight, then
       
   431 # the one with the most free space available is selected. (multi
       
   432 # valued)
       
   433 #vmware_datastores =
       
   434 
       
   435 # Info to match when looking for cinder in the service catalog. Format
       
   436 # is : separated values of the form:
       
   437 # <service_type>:<service_name>:<endpoint_type> (string value)
       
   438 #cinder_catalog_info = volume:cinder:publicURL
       
   439 
       
   440 # Override service catalog lookup with template for cinder endpoint
       
   441 # e.g. http://localhost:8776/v1/%(project_id)s (string value)
       
   442 #cinder_endpoint_template = <None>
       
   443 
       
   444 # Region name of this node (string value)
       
   445 #os_region_name = <None>
       
   446 
       
   447 # Location of ca certicates file to use for cinder client requests.
       
   448 # (string value)
       
   449 #cinder_ca_certificates_file = <None>
       
   450 
       
   451 # Number of cinderclient retries on failed http calls (integer value)
       
   452 #cinder_http_retries = 3
       
   453 
       
   454 # Allow to perform insecure SSL requests to cinder (boolean value)
       
   455 #cinder_api_insecure = false
       
   456 
       
   457 # Version of the authentication service to use. Valid versions are 2
       
   458 # for keystone and 1 for swauth and rackspace. (deprecated) (string
       
   459 # value)
       
   460 #swift_store_auth_version = 2
       
   461 
       
   462 # If True, swiftclient won't check for a valid SSL certificate when
       
   463 # authenticating. (boolean value)
       
   464 #swift_store_auth_insecure = false
       
   465 
       
   466 # A string giving the CA certificate file to use in SSL connections
       
   467 # for verifying certs. (string value)
       
   468 #swift_store_cacert = <None>
       
   469 
       
   470 # The region of the swift endpoint to be used for single tenant. This
       
   471 # setting is only necessary if the tenant has multiple swift
       
   472 # endpoints. (string value)
       
   473 #swift_store_region = <None>
       
   474 
       
   475 # If set, the configured endpoint will be used. If None, the storage
       
   476 # url from the auth response will be used. (string value)
       
   477 #swift_store_endpoint = <None>
       
   478 
       
   479 # A string giving the endpoint type of the swift service to use
       
   480 # (publicURL, adminURL or internalURL). This setting is only used if
       
   481 # swift_store_auth_version is 2. (string value)
       
   482 #swift_store_endpoint_type = publicURL
       
   483 
       
   484 # A string giving the service type of the swift service to use. This
       
   485 # setting is only used if swift_store_auth_version is 2. (string
       
   486 # value)
       
   487 #swift_store_service_type = object-store
       
   488 
       
   489 # Container within the account that the account should use for storing
       
   490 # images in Swift when using single container mode. In multiple
       
   491 # container mode, this will be the prefix for all containers. (string
       
   492 # value)
       
   493 #swift_store_container = glance
       
   494 
       
   495 # The size, in MB, that Glance will start chunking image files and do
       
   496 # a large object manifest in Swift. (integer value)
       
   497 #swift_store_large_object_size = 5120
       
   498 
       
   499 # The amount of data written to a temporary disk buffer during the
       
   500 # process of chunking the image file. (integer value)
       
   501 #swift_store_large_object_chunk_size = 200
       
   502 
       
   503 # A boolean value that determines if we create the container if it
       
   504 # does not exist. (boolean value)
       
   505 #swift_store_create_container_on_put = false
       
   506 
       
   507 # If set to True, enables multi-tenant storage mode which causes
       
   508 # Glance images to be stored in tenant specific Swift accounts.
       
   509 # (boolean value)
       
   510 #swift_store_multi_tenant = false
       
   511 
       
   512 # When set to 0, a single-tenant store will only use one container to
       
   513 # store all images. When set to an integer value between 1 and 32, a
       
   514 # single-tenant store will use multiple containers to store images,
       
   515 # and this value will determine how many containers are created.Used
       
   516 # only when swift_store_multi_tenant is disabled. The total number of
       
   517 # containers that will be used is equal to 16^N, so if this config
       
   518 # option is set to 2, then 16^2=256 containers will be used to store
       
   519 # images. (integer value)
       
   520 #swift_store_multiple_containers_seed = 0
       
   521 
       
   522 # A list of tenants that will be granted read/write access on all
       
   523 # Swift containers created by Glance in multi-tenant mode. (list
       
   524 # value)
       
   525 #swift_store_admin_tenants =
       
   526 
       
   527 # If set to False, disables SSL layer compression of https swift
       
   528 # requests. Setting to False may improve performance for images which
       
   529 # are already in a compressed format, eg qcow2. (boolean value)
       
   530 #swift_store_ssl_compression = true
       
   531 
       
   532 # The number of times a Swift download will be retried before the
       
   533 # request fails. (integer value)
       
   534 #swift_store_retry_get_count = 0
       
   535 
       
   536 # The reference to the default swift account/backing store parameters
       
   537 # to use for adding new images. (string value)
       
   538 #default_swift_reference = ref1
       
   539 
       
   540 # The address where the Swift authentication service is
       
   541 # listening.(deprecated) (string value)
       
   542 #swift_store_auth_address = <None>
       
   543 
       
   544 # The user to authenticate against the Swift authentication service
       
   545 # (deprecated) (string value)
       
   546 #swift_store_user = <None>
       
   547 
       
   548 # Auth key for the user authenticating against the Swift
       
   549 # authentication service. (deprecated) (string value)
       
   550 #swift_store_key = <None>
       
   551 
       
   552 # The config file that has the swift account(s)configs. (string value)
       
   553 #swift_store_config_file = <None>
   369 
   554 
   370 
   555 
   371 [oslo_concurrency]
   556 [oslo_concurrency]
   372 
   557 
   373 #
   558 #