Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version


Show more verbose log output (sets INFO log level output)

verbose = True

Show debugging output in logs (sets DEBUG log level output)

debug = False

debug = True

[app:glance-api] paste.app_factory = glance.server:app_factory

Which backend store should Glance use by default is not specified

in a request to add a new image to Glance? Default: 'file'

Available choices are 'file', 'swift', and 's3'

default_store = file

Address to bind the API server

bind_host =

bind_host =

Port the bind the API server to

bind_port = 9292

Address to find the registry server

registry_host =

registry_host =

Port the registry server is listening on

registry_port = 9191

============ Filesystem Store Options ========================

Directory that the Filesystem backend store

writes image data to


============ Swift Store Options =============================

Address where the Swift authentication service lives

swift_store_auth_address =

User to authenticate against the Swift authentication service

swift_store_user = jdoe

Auth key for the user authenticating against the

Swift authentication service

swift_store_key = a86850deb2742ec3cb41518e26aa2d89

Container within the account that the account should use

for storing images in Swift

swift_store_container = glance

Do we create the container if it does not exist?

swift_store_create_container_on_put = False

[app:glance-registry] paste.app_factory = glance.registry.server:app_factory

Address to bind the registry server

bind_host =

bind_host =

Port the bind the registry server to

bind_port = 9191

SQLAlchemy connection string for the reference implementation

registry server. Any valid SQLAlchemy connection string is fine.


sql_connection = sqlite:///glance.sqlite

sql_connection = sqlite:///glance.sqlite --daemonize

Period in seconds after which SQLAlchemy should reestablish its connection

to the database.


MySQL uses a default wait_timeout of 8 hours, after which it will drop

idle connections. This can result in 'MySQL Gone Away' exceptions. If you

notice this, you can lower this value to ensure that SQLAlchemy reconnects

before MySQL can drop the connection.

sql_idle_timeout = 3600


--log_dir = '/var/log/glance' --log_file = 'glance.log' --log-config=/usr/etc/logging.cnf