components/openstack/glance/files/glance-api.conf
branchs11-update
changeset 4072 db0cec748ec0
parent 3178 77584387a894
child 4991 dba45c643059
child 6035 c9748fcc32de
equal deleted inserted replaced
4067:4be1f488dda8 4072:db0cec748ec0
     9 # in a request to add a new image to Glance? Known schemes are determined
     9 # in a request to add a new image to Glance? Known schemes are determined
    10 # by the known_stores option below.
    10 # by the known_stores option below.
    11 # Default: 'file'
    11 # Default: 'file'
    12 default_store = file
    12 default_store = file
    13 
    13 
    14 # List of which store classes and store class locations are
       
    15 # currently known to glance at startup.
       
    16 # Existing but disabled stores:
       
    17 #      glance.store.rbd.Store,
       
    18 #      glance.store.s3.Store,
       
    19 #      glance.store.swift.Store,
       
    20 #      glance.store.sheepdog.Store,
       
    21 #      glance.store.cinder.Store,
       
    22 #known_stores = glance.store.filesystem.Store,
       
    23 #               glance.store.http.Store
       
    24 
       
    25 
       
    26 # Maximum image size (in bytes) that may be uploaded through the
    14 # Maximum image size (in bytes) that may be uploaded through the
    27 # Glance API server. Defaults to 1 TB.
    15 # Glance API server. Defaults to 1 TB.
    28 # WARNING: this value should only be increased after careful consideration
    16 # WARNING: this value should only be increased after careful consideration
    29 # and must be set to a value under 8 EB (9223372036854775808).
    17 # and must be set to a value under 8 EB (9223372036854775808).
    30 #image_size_cap = 1099511627776
    18 #image_size_cap = 1099511627776
    33 bind_host = 0.0.0.0
    21 bind_host = 0.0.0.0
    34 
    22 
    35 # Port the bind the API server to
    23 # Port the bind the API server to
    36 bind_port = 9292
    24 bind_port = 9292
    37 
    25 
    38 # Log to this file. Make sure you do not set the same log
    26 # Log to this file. Make sure you do not set the same log file for both the API
    39 # file for both the API and registry servers!
    27 # and registry servers!
       
    28 #
       
    29 # If `log_file` is omitted and `use_syslog` is false, then log messages are
       
    30 # sent to stdout as a fallback.
    40 log_file = /var/log/glance/api.log
    31 log_file = /var/log/glance/api.log
    41 
    32 
    42 # Backlog requests when creating socket
    33 # Backlog requests when creating socket
    43 backlog = 4096
    34 backlog = 4096
    44 
    35 
    48 
    39 
    49 # API to use for accessing data. Default value points to sqlalchemy
    40 # API to use for accessing data. Default value points to sqlalchemy
    50 # package, it is also possible to use: glance.db.registry.api
    41 # package, it is also possible to use: glance.db.registry.api
    51 # data_api = glance.db.sqlalchemy.api
    42 # data_api = glance.db.sqlalchemy.api
    52 
    43 
    53 # SQLAlchemy connection string for the reference implementation
    44 # The number of child process workers that will be
    54 # registry server. Any valid SQLAlchemy connection string is fine.
    45 # created to service API requests. The default will be
    55 # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
    46 # equal to the number of CPUs available. (integer value)
    56 sql_connection = sqlite:////var/lib/glance/glance.sqlite
       
    57 
       
    58 # Period in seconds after which SQLAlchemy should reestablish its connection
       
    59 # to the database.
       
    60 #
       
    61 # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
       
    62 # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
       
    63 # notice this, you can lower this value to ensure that SQLAlchemy reconnects
       
    64 # before MySQL can drop the connection.
       
    65 sql_idle_timeout = 3600
       
    66 
       
    67 # Number of Glance API worker processes to start.
       
    68 # On machines with more than one CPU increasing this value
       
    69 # may improve performance (especially if using SSL with
       
    70 # compression turned on). It is typically recommended to set
       
    71 # this value to the number of CPUs present on your machine.
       
    72 workers = 1
    47 workers = 1
       
    48 
       
    49 # Maximum line size of message headers to be accepted.
       
    50 # max_header_line may need to be increased when using large tokens
       
    51 # (typically those generated by the Keystone v3 API with big service
       
    52 # catalogs)
       
    53 # max_header_line = 16384
    73 
    54 
    74 # Role used to identify an authenticated user as administrator
    55 # Role used to identify an authenticated user as administrator
    75 #admin_role = admin
    56 #admin_role = admin
    76 
    57 
    77 # Allow unauthenticated users to access the API with read-only
    58 # Allow unauthenticated users to access the API with read-only
    97 # auth_token middleware.
    78 # auth_token middleware.
    98 # The default value is false.
    79 # The default value is false.
    99 #send_identity_headers = False
    80 #send_identity_headers = False
   100 
    81 
   101 # Supported values for the 'container_format' image attribute
    82 # Supported values for the 'container_format' image attribute
   102 #container_formats=ami,ari,aki,bare,ovf,uar
    83 container_formats=ami,ari,aki,bare,ovf,ova,uar
   103 
    84 
   104 # Supported values for the 'disk_format' image attribute
    85 # Supported values for the 'disk_format' image attribute
   105 #disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,zfs
    86 disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso,zfs
   106 
    87 
   107 # Directory to use for lock files. Default to a temp directory
    88 # Directory to use for lock files. Default to a temp directory
   108 # (string value). This setting needs to be the same for both
    89 # (string value). This setting needs to be the same for both
   109 # glance-scrubber and glance-api.
    90 # glance-scrubber and glance-api.
   110 #lock_path=<None>
    91 #lock_path=<None>
   111 #
    92 
   112 # Property Protections config file
    93 # Property Protections config file
   113 # This file contains the rules for property protections and the roles
    94 # This file contains the rules for property protections and the roles/policies
   114 # associated with it.
    95 # associated with it.
   115 # If this config value is not specified, by default, property protections
    96 # If this config value is not specified, by default, property protections
   116 # won't be enforced.
    97 # won't be enforced.
   117 # If a value is specified and the file is not found, then an
    98 # If a value is specified and the file is not found, then the glance-api
   118 # HTTPInternalServerError will be thrown.
    99 # service will not start.
   119 #property_protection_file =
   100 #property_protection_file =
   120 
   101 
   121 # Set a system wide quota for every user.  This value is the total number
   102 # Specify whether 'roles' or 'policies' are used in the
   122 # of bytes that a user can use across all storage systems.  A value of
   103 # property_protection_file.
   123 # 0 means unlimited.
   104 # The default value for property_protection_rule_format is 'roles'.
   124 #user_storage_quota = 0
   105 #property_protection_rule_format = roles
       
   106 
       
   107 # This value sets what strategy will be used to determine the image location
       
   108 # order. Currently two strategies are packaged with Glance 'location_order'
       
   109 # and 'store_type'.
       
   110 #location_strategy = location_order
   125 
   111 
   126 # ================= Syslog Options ============================
   112 # ================= Syslog Options ============================
   127 
   113 
   128 # Send logs to syslog (/dev/log) instead of to file specified
   114 # Send logs to syslog (/dev/log) instead of to file specified
   129 # by `log_file`
   115 # by `log_file`
   195 # Enable DEBUG log messages from sqlalchemy which prints every database
   181 # Enable DEBUG log messages from sqlalchemy which prints every database
   196 # query and response.
   182 # query and response.
   197 # Default: False
   183 # Default: False
   198 #sqlalchemy_debug = True
   184 #sqlalchemy_debug = True
   199 
   185 
       
   186 # Pass the user's token through for API requests to the registry.
       
   187 # Default: True
       
   188 #use_user_token = True
       
   189 
       
   190 # If 'use_user_token' is not in effect then admin credentials
       
   191 # can be specified. Requests to the registry on behalf of
       
   192 # the API will use these credentials.
       
   193 # Admin user name
       
   194 #admin_user = None
       
   195 # Admin password
       
   196 #admin_password = None
       
   197 # Admin tenant name
       
   198 #admin_tenant_name = None
       
   199 # Keystone endpoint
       
   200 #auth_url = None
       
   201 # Keystone region
       
   202 #auth_region = None
       
   203 # Auth strategy
       
   204 #auth_strategy = keystone
       
   205 
   200 # ============ Notification System Options =====================
   206 # ============ Notification System Options =====================
   201 
   207 
   202 # Notifications can be sent when images are create, updated or deleted.
   208 # Driver or drivers to handle sending notifications. Set to
   203 # There are three methods of sending notifications, logging (via the
   209 # 'messaging' to send notifications to a message queue.
   204 # log_file directive), rabbit (via a rabbitmq queue), qpid (via a Qpid
   210 # notification_driver = noop
   205 # message queue), or noop (no notifications sent, the default)
   211 
   206 notifier_strategy = noop
   212 # Default publisher_id for outgoing notifications.
       
   213 # default_publisher_id = image.localhost
       
   214 
       
   215 # Messaging driver used for 'messaging' notifications driver
       
   216 # rpc_backend = 'rabbit'
   207 
   217 
   208 # Configuration options if sending notifications via rabbitmq (these are
   218 # Configuration options if sending notifications via rabbitmq (these are
   209 # the defaults)
   219 # the defaults)
   210 rabbit_host = localhost
   220 rabbit_host = localhost
   211 rabbit_port = 5672
   221 rabbit_port = 5672
   234 qpid_heartbeat = 5
   244 qpid_heartbeat = 5
   235 # Set to 'ssl' to enable SSL
   245 # Set to 'ssl' to enable SSL
   236 qpid_protocol = tcp
   246 qpid_protocol = tcp
   237 qpid_tcp_nodelay = True
   247 qpid_tcp_nodelay = True
   238 
   248 
       
   249 # ============ Delayed Delete Options =============================
       
   250 
       
   251 # Turn on/off delayed delete
       
   252 delayed_delete = False
       
   253 
       
   254 # Delayed delete time in seconds
       
   255 scrub_time = 43200
       
   256 
       
   257 # Directory that the scrubber will use to remind itself of what to delete
       
   258 # Make sure this is also set in glance-scrubber.conf
       
   259 scrubber_datadir = /var/lib/glance/scrubber
       
   260 
       
   261 # =============== Quota Options ==================================
       
   262 
       
   263 # The maximum number of image members allowed per image
       
   264 #image_member_quota = 128
       
   265 
       
   266 # The maximum number of image properties allowed per image
       
   267 #image_property_quota = 128
       
   268 
       
   269 # The maximum number of tags allowed per image
       
   270 #image_tag_quota = 128
       
   271 
       
   272 # The maximum number of locations allowed per image
       
   273 #image_location_quota = 10
       
   274 
       
   275 # Set a system wide quota for every user.  This value is the total number
       
   276 # of bytes that a user can use across all storage systems.  A value of
       
   277 # 0 means unlimited.
       
   278 #user_storage_quota = 0
       
   279 
       
   280 # =============== Image Cache Options =============================
       
   281 
       
   282 # Base directory that the Image Cache uses
       
   283 image_cache_dir = /var/lib/glance/image-cache/
       
   284 
       
   285 # =============== Database Options =================================
       
   286 
       
   287 [database]
       
   288 # The file name to use with SQLite (string value)
       
   289 #sqlite_db = oslo.sqlite
       
   290 
       
   291 # If True, SQLite uses synchronous mode (boolean value)
       
   292 #sqlite_synchronous = True
       
   293 
       
   294 # The backend to use for db (string value)
       
   295 # Deprecated group/name - [DEFAULT]/db_backend
       
   296 #backend = sqlalchemy
       
   297 
       
   298 # The SQLAlchemy connection string used to connect to the
       
   299 # database (string value)
       
   300 # Deprecated group/name - [DEFAULT]/sql_connection
       
   301 # Deprecated group/name - [DATABASE]/sql_connection
       
   302 # Deprecated group/name - [sql]/connection
       
   303 connection = mysql://%SERVICE_USER%:%SERVICE_PASSWORD%@localhost/glance
       
   304 
       
   305 # The SQL mode to be used for MySQL sessions. This option,
       
   306 # including the default, overrides any server-set SQL mode. To
       
   307 # use whatever SQL mode is set by the server configuration,
       
   308 # set this to no value. Example: mysql_sql_mode= (string
       
   309 # value)
       
   310 #mysql_sql_mode = TRADITIONAL
       
   311 
       
   312 # Timeout before idle sql connections are reaped (integer
       
   313 # value)
       
   314 # Deprecated group/name - [DEFAULT]/sql_idle_timeout
       
   315 # Deprecated group/name - [DATABASE]/sql_idle_timeout
       
   316 # Deprecated group/name - [sql]/idle_timeout
       
   317 #idle_timeout = 3600
       
   318 
       
   319 # Minimum number of SQL connections to keep open in a pool
       
   320 # (integer value)
       
   321 # Deprecated group/name - [DEFAULT]/sql_min_pool_size
       
   322 # Deprecated group/name - [DATABASE]/sql_min_pool_size
       
   323 #min_pool_size = 1
       
   324 
       
   325 # Maximum number of SQL connections to keep open in a pool
       
   326 # (integer value)
       
   327 # Deprecated group/name - [DEFAULT]/sql_max_pool_size
       
   328 # Deprecated group/name - [DATABASE]/sql_max_pool_size
       
   329 #max_pool_size = <None>
       
   330 
       
   331 # Maximum db connection retries during startup. (setting -1
       
   332 # implies an infinite retry count) (integer value)
       
   333 # Deprecated group/name - [DEFAULT]/sql_max_retries
       
   334 # Deprecated group/name - [DATABASE]/sql_max_retries
       
   335 #max_retries = 10
       
   336 
       
   337 # Interval between retries of opening a sql connection
       
   338 # (integer value)
       
   339 # Deprecated group/name - [DEFAULT]/sql_retry_interval
       
   340 # Deprecated group/name - [DATABASE]/reconnect_interval
       
   341 #retry_interval = 10
       
   342 
       
   343 # If set, use this value for max_overflow with sqlalchemy
       
   344 # (integer value)
       
   345 # Deprecated group/name - [DEFAULT]/sql_max_overflow
       
   346 # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
       
   347 #max_overflow = <None>
       
   348 
       
   349 # Verbosity of SQL debugging information. 0=None,
       
   350 # 100=Everything (integer value)
       
   351 # Deprecated group/name - [DEFAULT]/sql_connection_debug
       
   352 #connection_debug = 0
       
   353 
       
   354 # Add python stack traces to SQL as comment strings (boolean
       
   355 # value)
       
   356 # Deprecated group/name - [DEFAULT]/sql_connection_trace
       
   357 #connection_trace = False
       
   358 
       
   359 # If set, use this value for pool_timeout with sqlalchemy
       
   360 # (integer value)
       
   361 # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
       
   362 #pool_timeout = <None>
       
   363 
       
   364 # Enable the experimental use of database reconnect on
       
   365 # connection lost (boolean value)
       
   366 #use_db_reconnect = False
       
   367 
       
   368 # seconds between db connection retries (integer value)
       
   369 #db_retry_interval = 1
       
   370 
       
   371 # Whether to increase interval between db connection retries,
       
   372 # up to db_max_retry_interval (boolean value)
       
   373 #db_inc_retry_interval = True
       
   374 
       
   375 # max seconds between db connection retries, if
       
   376 # db_inc_retry_interval is enabled (integer value)
       
   377 #db_max_retry_interval = 10
       
   378 
       
   379 # maximum db connection retries before error is raised.
       
   380 # (setting -1 implies an infinite retry count) (integer value)
       
   381 #db_max_retries = 20
       
   382 
       
   383 [keystone_authtoken]
       
   384 auth_uri = http://127.0.0.1:5000/v2.0/
       
   385 identity_uri = http://127.0.0.1:35357/
       
   386 admin_tenant_name = %SERVICE_TENANT_NAME%
       
   387 admin_user = %SERVICE_USER%
       
   388 admin_password = %SERVICE_PASSWORD%
       
   389 revocation_cache_time = 10
       
   390 signing_dir = /var/lib/glance/keystone-signing
       
   391 
       
   392 [paste_deploy]
       
   393 # Name of the paste configuration file that defines the available pipelines
       
   394 #config_file = glance-api-paste.ini
       
   395 
       
   396 # Partial name of a pipeline in your paste configuration file with the
       
   397 # service name removed. For example, if your paste section name is
       
   398 # [pipeline:glance-api-keystone], you would configure the flavor below
       
   399 # as 'keystone'.
       
   400 flavor=keystone
       
   401 
       
   402 [store_type_location_strategy]
       
   403 # The scheme list to use to get store preference order. The scheme must be
       
   404 # registered by one of the stores defined by the 'known_stores' config option.
       
   405 # This option will be applied when you using 'store_type' option as image
       
   406 # location strategy defined by the 'location_strategy' config option.
       
   407 #store_type_preference =
       
   408 
       
   409 [profiler]
       
   410 # If False fully disable profiling feature.
       
   411 #enabled = False
       
   412 
       
   413 # If False doesn't trace SQL requests.
       
   414 #trace_sqlalchemy = False
       
   415 
       
   416 [task]
       
   417 # ================= Glance Tasks Options ============================
       
   418 
       
   419 # Specifies how long (in hours) a task is supposed to live in the tasks DB
       
   420 # after succeeding or failing before getting soft-deleted.
       
   421 # The default value for task_time_to_live is 48 hours.
       
   422 # task_time_to_live = 48
       
   423 
       
   424 # Specifies which task executor to be used to run the task scripts.
       
   425 # The default value for task_executor is eventlet.
       
   426 # task_executor = eventlet
       
   427 
       
   428 # Specifies the maximum number of eventlet threads which can be spun up by
       
   429 # the eventlet based task executor to perform execution of Glance tasks.
       
   430 # eventlet_executor_pool_size = 1000
       
   431 
       
   432 [glance_store]
       
   433 # List of which store classes and store class locations are
       
   434 # currently known to glance at startup.
       
   435 # Existing but disabled stores:
       
   436 #      glance.store.rbd.Store,
       
   437 #      glance.store.s3.Store,
       
   438 #      glance.store.swift.Store,
       
   439 #      glance.store.sheepdog.Store,
       
   440 #      glance.store.cinder.Store,
       
   441 #      glance.store.gridfs.Store,
       
   442 #      glance.store.vmware_datastore.Store,
       
   443 #stores = glance.store.filesystem.Store,
       
   444 #         glance.store.http.Store
       
   445 
   239 # ============ Filesystem Store Options ========================
   446 # ============ Filesystem Store Options ========================
   240 
   447 
   241 # Directory that the Filesystem backend store
   448 # Directory that the Filesystem backend store
   242 # writes image data to
   449 # writes image data to
   243 filesystem_store_datadir = /var/lib/glance/images/
   450 filesystem_store_datadir = /var/lib/glance/images/
       
   451 
       
   452 # A list of directories where image data can be stored.
       
   453 # This option may be specified multiple times for specifying multiple store
       
   454 # directories. Either one of filesystem_store_datadirs or
       
   455 # filesystem_store_datadir option is required. A priority number may be given
       
   456 # after each directory entry, separated by a ":".
       
   457 # When adding an image, the highest priority directory will be selected, unless
       
   458 # there is not enough space available in cases where the image size is already
       
   459 # known. If no priority is given, it is assumed to be zero and the directory
       
   460 # will be considered for selection last. If multiple directories have the same
       
   461 # priority, then the one with the most free space available is selected.
       
   462 # If same store is specified multiple times then BadStoreConfiguration
       
   463 # exception will be raised.
       
   464 #filesystem_store_datadirs = /var/lib/glance/images/:1
   244 
   465 
   245 # A path to a JSON file that contains metadata describing the storage
   466 # A path to a JSON file that contains metadata describing the storage
   246 # system.  When show_multiple_locations is True the information in this
   467 # system.  When show_multiple_locations is True the information in this
   247 # file will be returned with any location that is contained in this
   468 # file will be returned with any location that is contained in this
   248 # store.
   469 # store.
   279 
   500 
   280 # What size, in MB, should Glance start chunking image files
   501 # What size, in MB, should Glance start chunking image files
   281 # and do a large object manifest in Swift? By default, this is
   502 # and do a large object manifest in Swift? By default, this is
   282 # the maximum object size in Swift, which is 5GB
   503 # the maximum object size in Swift, which is 5GB
   283 swift_store_large_object_size = 5120
   504 swift_store_large_object_size = 5120
       
   505 
       
   506 # swift_store_config_file = glance-swift.conf
       
   507 # This file contains references for each of the configured
       
   508 # Swift accounts/backing stores. If used, this option can prevent
       
   509 # credentials being stored in the database. Using Swift references
       
   510 # is disabled if this config is left blank.
       
   511 
       
   512 # The reference to the default Swift parameters to use for adding new images.
       
   513 # default_swift_reference = 'ref1'
   284 
   514 
   285 # When doing a large object manifest, what size, in MB, should
   515 # When doing a large object manifest, what size, in MB, should
   286 # Glance write chunks to Swift? This amount of data is written
   516 # Glance write chunks to Swift? This amount of data is written
   287 # to a temporary disk buffer during the process of chunking
   517 # to a temporary disk buffer during the process of chunking
   288 # the image file, and the default is 200MB
   518 # the image file, and the default is 200MB
   320 # Setting to 'False' may improve performance for images which are already
   550 # Setting to 'False' may improve performance for images which are already
   321 # in a compressed format, eg qcow2. If set to True, enables SSL layer
   551 # in a compressed format, eg qcow2. If set to True, enables SSL layer
   322 # compression (provided it is supported by the target swift proxy).
   552 # compression (provided it is supported by the target swift proxy).
   323 #swift_store_ssl_compression = True
   553 #swift_store_ssl_compression = True
   324 
   554 
       
   555 # The number of times a Swift download will be retried before the
       
   556 # request fails
       
   557 #swift_store_retry_get_count = 0
       
   558 
       
   559 # Bypass SSL verification for Swift
       
   560 #swift_store_auth_insecure = False
       
   561 
   325 # ============ S3 Store Options =============================
   562 # ============ S3 Store Options =============================
   326 
   563 
   327 # Address where the S3 authentication service lives
   564 # Address where the S3 authentication service lives
   328 # Valid schemes are 'http://' and 'https://'
   565 # Valid schemes are 'http://' and 'https://'
   329 # If no scheme specified,  default to 'http://'
   566 # If no scheme specified,  default to 'http://'
   356 # subdomain or as the first token of the path. Amazon's S3 service will
   593 # subdomain or as the first token of the path. Amazon's S3 service will
   357 # accept it as the subdomain, but Swift's S3 middleware requires it be
   594 # accept it as the subdomain, but Swift's S3 middleware requires it be
   358 # in the path. Set this to 'path' or 'subdomain' - defaults to 'subdomain'.
   595 # in the path. Set this to 'path' or 'subdomain' - defaults to 'subdomain'.
   359 #s3_store_bucket_url_format = subdomain
   596 #s3_store_bucket_url_format = subdomain
   360 
   597 
       
   598 # Size, in MB, should S3 start chunking image files
       
   599 # and do a multipart upload in S3. The default is 100MB.
       
   600 #s3_store_large_object_size = 100
       
   601 
       
   602 # Multipart upload part size, in MB, should S3 use when uploading
       
   603 # parts. The size must be greater than or equal to
       
   604 # 5MB. The default is 10MB.
       
   605 #s3_store_large_object_chunk_size = 10
       
   606 
       
   607 # The number of thread pools to perform a multipart upload
       
   608 # in S3. The default is 10.
       
   609 #s3_store_thread_pools = 10
       
   610 
   361 # ============ RBD Store Options =============================
   611 # ============ RBD Store Options =============================
   362 
   612 
   363 # Ceph configuration file path
   613 # Ceph configuration file path
   364 # If using cephx authentication, this file should
   614 # If using cephx authentication, this file should
   365 # include a reference to the right keyring
   615 # include a reference to the right keyring
   366 # in a client.<USER> section
   616 # in a client.<USER> section
   367 rbd_store_ceph_conf = /etc/ceph/ceph.conf
   617 #rbd_store_ceph_conf = /etc/ceph/ceph.conf
   368 
   618 
   369 # RADOS user to authenticate as (only applicable if using cephx)
   619 # RADOS user to authenticate as (only applicable if using cephx)
   370 rbd_store_user = glance
   620 # If <None>, a default will be chosen based on the client. section
       
   621 # in rbd_store_ceph_conf
       
   622 #rbd_store_user = <None>
   371 
   623 
   372 # RADOS pool in which images are stored
   624 # RADOS pool in which images are stored
   373 rbd_store_pool = images
   625 #rbd_store_pool = images
   374 
   626 
   375 # Images will be chunked into objects of this size (in megabytes).
   627 # RADOS images will be chunked into objects of this size (in megabytes).
   376 # For best performance, this should be a power of two
   628 # For best performance, this should be a power of two
   377 rbd_store_chunk_size = 8
   629 #rbd_store_chunk_size = 8
   378 
   630 
   379 # ============ Sheepdog Store Options =============================
   631 # ============ Sheepdog Store Options =============================
   380 
   632 
   381 sheepdog_store_address = localhost
   633 sheepdog_store_address = localhost
   382 
   634 
   408 #cinder_http_retries = 3
   660 #cinder_http_retries = 3
   409 
   661 
   410 # Allow to perform insecure SSL requests to cinder (boolean value)
   662 # Allow to perform insecure SSL requests to cinder (boolean value)
   411 #cinder_api_insecure = False
   663 #cinder_api_insecure = False
   412 
   664 
   413 # ============ Delayed Delete Options =============================
   665 # ============ VMware Datastore Store Options =====================
   414 
   666 
   415 # Turn on/off delayed delete
   667 # ESX/ESXi or vCenter Server target system.
   416 delayed_delete = False
   668 # The server value can be an IP address or a DNS name
   417 
   669 # e.g. 127.0.0.1, 127.0.0.1:443, www.vmware-infra.com
   418 # Delayed delete time in seconds
   670 #vmware_server_host = <None>
   419 scrub_time = 43200
   671 
   420 
   672 # Server username (string value)
   421 # Directory that the scrubber will use to remind itself of what to delete
   673 #vmware_server_username = <None>
   422 # Make sure this is also set in glance-scrubber.conf
   674 
   423 scrubber_datadir = /var/lib/glance/scrubber
   675 # Server password (string value)
   424 
   676 #vmware_server_password = <None>
   425 # =============== Image Cache Options =============================
   677 
   426 
   678 # Inventory path to a datacenter (string value)
   427 # Base directory that the Image Cache uses
   679 # Value optional when vmware_server_ip is an ESX/ESXi host: if specified
   428 image_cache_dir = /var/lib/glance/image-cache/
   680 # should be `ha-datacenter`.
   429 
   681 #vmware_datacenter_path = <None>
   430 [keystone_authtoken]
   682 
   431 auth_uri = http://127.0.0.1:5000/v2.0
   683 # Datastore associated with the datacenter (string value)
   432 identity_uri = http://127.0.0.1:35357
   684 #vmware_datastore_name = <None>
   433 admin_tenant_name = %SERVICE_TENANT_NAME%
   685 
   434 admin_user = %SERVICE_USER%
   686 # The number of times we retry on failures
   435 admin_password = %SERVICE_PASSWORD%
   687 # e.g., socket error, etc (integer value)
   436 signing_dir = /var/lib/glance/keystone-signing
   688 #vmware_api_retry_count = 10
   437 
   689 
   438 [paste_deploy]
   690 # The interval used for polling remote tasks
   439 # Name of the paste configuration file that defines the available pipelines
   691 # invoked on VMware ESX/VC server in seconds (integer value)
   440 #config_file = glance-api-paste.ini
   692 #vmware_task_poll_interval = 5
   441 
   693 
   442 # Partial name of a pipeline in your paste configuration file with the
   694 # Absolute path of the folder containing the images in the datastore
   443 # service name removed. For example, if your paste section name is
   695 # (string value)
   444 # [pipeline:glance-api-keystone], you would configure the flavor below
   696 #vmware_store_image_dir = /openstack_glance
   445 # as 'keystone'.
   697 
   446 flavor = keystone
   698 # Allow to perform insecure SSL requests to the target system (boolean value)
       
   699 #vmware_api_insecure = False