Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [DEFAULT]
- # Show more verbose log output (sets INFO log level output)
- #verbose=True
- verbose=True
- # Show debugging output in logs (sets DEBUG log level output)
- #debug=False
- debug=False
- # Which backend scheme should Glance use by default is not specified
- # in a request to add a new image to Glance? Known schemes are determined
- # by the known_stores option below.
- # Default: 'file'
- #default_store=file
- # Maximum image size (in bytes) that may be uploaded through the
- # Glance API server. Defaults to 1 TB.
- # WARNING: this value should only be increased after careful consideration
- # and must be set to a value under 8 EB (9223372036854775808).
- #image_size_cap=1099511627776
- # Address to bind the API server
- #bind_host=0.0.0.0
- bind_host=10.133.210.153
- # Port the bind the API server to
- #bind_port=9292
- bind_port=9292
- # Log to this file. Make sure you do not set the same log file for both the API
- # and registry servers!
- #
- # If `log_file` is omitted and `use_syslog` is false, then log messages are
- # sent to stdout as a fallback.
- #log_file=/var/log/glance/api.log
- log_file=/var/log/glance/api.log
- # Backlog requests when creating socket
- 1,1 Top
- backlog=4096
- # TCP_KEEPIDLE value in seconds when creating socket.
- # Not supported on OS X.
- #tcp_keepidle=600
- # API to use for accessing data. Default value points to sqlalchemy
- # package, it is also possible to use: glance.db.registry.api
- # data_api = glance.db.sqlalchemy.api
- # The number of child process workers that will be
- # created to service API requests. The default will be
- # equal to the number of CPUs available. (integer value)
- #workers=4
- workers=32
- # Maximum line size of message headers to be accepted.
- # max_header_line may need to be increased when using large tokens
- # (typically those generated by the Keystone v3 API with big service
- # catalogs)
- # max_header_line = 16384
- # Role used to identify an authenticated user as administrator
- #admin_role=admin
- # Allow unauthenticated users to access the API with read-only
- # privileges. This only applies when using ContextMiddleware.
- #allow_anonymous_access=False
- # Allow access to version 1 of glance api
- #enable_v1_api=True
- # Allow access to version 2 of glance api
- #enable_v2_api=True
- # Return the URL that references where the data is stored on
- # the backend storage system. For example, if using the
- # file system store a URL of 'file:///path/to/image' will
- 77,1 5%
- #show_image_direct_url=False
- show_image_direct_url=False
- # Send headers containing user and tenant information when making requests to
- # the v1 glance registry. This allows the registry to function as if a user is
- # authenticated without the need to authenticate a user itself using the
- # auth_token middleware.
- # The default value is false.
- #send_identity_headers=False
- # Supported values for the 'container_format' image attribute
- #container_formats=ami,ari,aki,bare,ovf,ova
- # Supported values for the 'disk_format' image attribute
- #disk_formats=ami,ari,aki,vhd,vmdk,raw,qcow2,vdi,iso
- # Directory to use for lock files. Default to a temp directory
- # (string value). This setting needs to be the same for both
- # glance-scrubber and glance-api.
- #lock_path=<None>
- # Property Protections config file
- # This file contains the rules for property protections and the roles/policies
- # associated with it.
- # If this config value is not specified, by default, property protections
- # won't be enforced.
- # If a value is specified and the file is not found, then the glance-api
- # service will not start.
- #property_protection_file =
- # Specify whether 'roles' or 'policies' are used in the
- # property_protection_file.
- # The default value for property_protection_rule_format is 'roles'.
- #property_protection_rule_format=roles
- # This value sets what strategy will be used to determine the image location
- # order. Currently two strategies are packaged with Glance 'location_order'
- # and 'store_type'.
- # ================= Syslog Options ============================
- # Send logs to syslog (/dev/log) instead of to file specified
- # by `log_file`
- #use_syslog=False
- use_syslog=False
- # Facility to use. If unset defaults to LOG_USER.
- #syslog_log_facility=LOG_LOCAL0
- # ================= SSL Options ===============================
- # Certificate file to use when starting API server securely
- #cert_file=/path/to/certfile
- # Private key file to use when starting API server securely
- #key_file=/path/to/keyfile
- # CA certificate file to use to verify connecting clients
- #ca_file=/path/to/cafile
- # ================= Security Options ==========================
- # AES key for encrypting store 'location' metadata, including
- # -- if used -- Swift or S3 credentials
- # Should be set to a random string of length 16, 24 or 32 bytes
- #metadata_encryption_key=<16, 24 or 32 char registry metadata key>
- # ============ Registry Options ===============================
- # Address to find the registry server
- #registry_host=0.0.0.0
- registry_host=10.133.210.153
- # Port the registry server is listening on
- #registry_port=9191
- registry_port=9191
- 157,0-1 17%
- # What protocol to use when connecting to the registry server?
- # Set to https for secure HTTP communication
- #registry_client_protocol=http
- registry_client_protocol=http
- # The path to the key file to use in SSL connections to the
- # registry server, if any. Alternately, you may set the
- # GLANCE_CLIENT_KEY_FILE environ variable to a filepath of the key file
- #registry_client_key_file=/path/to/key/file
- # The path to the cert file to use in SSL connections to the
- # registry server, if any. Alternately, you may set the
- # GLANCE_CLIENT_CERT_FILE environ variable to a filepath of the cert file
- #registry_client_cert_file=/path/to/cert/file
- # The path to the certifying authority cert file to use in SSL connections
- # to the registry server, if any. Alternately, you may set the
- # GLANCE_CLIENT_CA_FILE environ variable to a filepath of the CA cert file
- #registry_client_ca_file=/path/to/ca/file
- # When using SSL in connections to the registry server, do not require
- # validation via a certifying authority. This is the registry's equivalent of
- # specifying --insecure on the command line using glanceclient for the API
- # Default: False
- #registry_client_insecure=False
- # The period of time, in seconds, that the API server will wait for a registry
- # request to complete. A value of '0' implies no timeout.
- # Default: 600
- #registry_client_timeout=600
- # Whether to automatically create the database tables.
- # Default: False
- #db_auto_create=False
- # Enable DEBUG log messages from sqlalchemy which prints every database
- 193,1 22%
- # ============ Notification System Options =====================
- # Driver or drivers to handle sending notifications. Set to
- # 'messaging' to send notifications to a message queue.
- # notification_driver = noop
- notification_driver = messaging
- # Default publisher_id for outgoing notifications.
- # default_publisher_id = image.localhost
- # Messaging driver used for 'messaging' notifications driver
- # rpc_backend = 'rabbit'
- # Configuration options if sending notifications via rabbitmq (these are
- # the defaults)
- #rabbit_host=localhost
- #rabbit_port=5672
- #rabbit_use_ssl=false
- rabbit_use_ssl=False
- #rabbit_userid=guest
- rabbit_userid=openstack
- #rabbit_password=guest
- rabbit_password=xyz
- #rabbit_virtual_host=/
- rabbit_virtual_host=/
- #rabbit_notification_exchange=glance
- rabbit_notification_exchange=glance
- #rabbit_notification_topic=notifications
- rabbit_notification_topic=notifications
- #rabbit_durable_queues=False
- # Configuration options if sending notifications via Qpid (these are
- 249,1 30%
- image_cache_dir=/var/lib/glance/image-cache
- # =============== Database Options =================================
- rabbit_ha_queues=True
- rabbit_hosts=10.133.210.153:5672
- amqp_durable_queues=False
- log_dir=/var/log/glance
- os_region_name=RegionOne
- max_retries=-1
- [database]
- connection=mysql://glance:[email protected]/glance
- # The SQL mode to be used for MySQL sessions. This option,
- # including the default, overrides any server-set SQL mode. To
- # use whatever SQL mode is set by the server configuration,
- # set this to no value. Example: mysql_sql_mode= (string
- # value)
- #mysql_sql_mode=TRADITIONAL
- # Timeout before idle sql connections are reaped (integer
- # value)
- # Deprecated group/name - [DEFAULT]/sql_idle_timeout
- # Deprecated group/name - [DATABASE]/sql_idle_timeout
- # Deprecated group/name - [sql]/idle_timeout
- #idle_timeout=3600
- idle_timeout=3600
- 345,1 43%
- [paste_deploy]
- # Name of the paste configuration file that defines the available pipelines
- #config_file=/usr/share/glance/glance-api-dist-paste.ini
- # Partial name of a pipeline in your paste configuration file with the
- # service name removed. For example, if your paste section name is
- # [pipeline:glance-api-keystone], you would configure the flavor below
- # as 'keystone'.
- #flavor=
- flavor=keystone+cachemanagement
- [store_type_location_strategy]
- # The scheme list to use to get store preference order. The scheme must be
- # registered by one of the stores defined by the 'known_stores' config option.
- # This option will be applied when you using 'store_type' option as image
- # location strategy defined by the 'location_strategy' config option.
- #store_type_preference =
- [profiler]
- # If False fully disable profiling feature.
- #enabled=False
- # If False doesn't trace SQL requests.
- #trace_sqlalchemy=False
- 449,0-1 58%
- [task]
- # ================= Glance Tasks Options ============================
- # Specifies how long (in hours) a task is supposed to live in the tasks DB
- # after succeeding or failing before getting soft-deleted.
- # The default value for task_time_to_live is 48 hours.
- # task_time_to_live = 48
- # Specifies which task executor to be used to run the task scripts.
- # The default value for task_executor is eventlet.
- # task_executor = eventlet
- # Specifies the maximum number of eventlet threads which can be spun up by
- # the eventlet based task executor to perform execution of Glance tasks.
- # eventlet_executor_pool_size = 1000
- [glance_store]
- # List of which store classes and store class locations are
- # currently known to glance at startup.
- # Existing but disabled stores:
- # glance.store.rbd.Store,
- # glance.store.s3.Store,
- # glance.store.swift.Store,
- # glance.store.sheepdog.Store,
- # glance.store.cinder.Store,
- # glance.store.gridfs.Store,
- # glance.store.vmware_datastore.Store,
- #stores=glance.store.filesystem.Store
- stores=glance.store.filesystem.Store,glance.store.http.Store
- # glance.store.http.Store
- filesystem_store_datadir=/var/lib/glance/images/
- # A list of directories where image data can be stored.
- # This option may be specified multiple times for specifying multiple store
- # directories. Either one of filesystem_store_datadirs or
- # filesystem_store_datadir option is required. A priority number may be given
- # after each directory entry, separated by a ":".
- # When adding an image, the highest priority directory will be selected, unless
- # there is not enough space available in cases where the image size is already
- # known. If no priority is given, it is assumed to be zero and the directory
- # will be considered for selection last. If multiple directories have the same
- # priority, then the one with the most free space available is selected.
- # If same store is specified multiple times then BadStoreConfiguration
- # exception will be raised.
- filesystem_store_datadirs=/var/lib/glance/images/:1
- # A path to a JSON file that contains metadata describing the storage
- # system. When show_multiple_locations is True the information in this
- # file will be returned with any location that is contained in this
- # store.
- #filesystem_store_metadata_file=None
- # ============ Swift Store Options =============================
- # Version of the authentication service to use
- # Valid versions are '2' for keystone and '1' for swauth and rackspace
- #swift_store_auth_version=2
- # Address where the Swift authentication service lives
- # Valid schemes are 'http://' and 'https://'
- # If no scheme specified, default to 'https://'
- # For swauth, use something like '127.0.0.1:8080/v1.0/'
- #swift_store_auth_address=127.0.0.1:5000/v2.0/
- # User to authenticate against the Swift authentication service
- # If you use Swift authentication service, set it to 'account':'user'
- default_store=file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement