2
# Show more verbose log output (sets INFO log level output)
5
# Show debugging output in logs (sets DEBUG log level output)
9
paste.app_factory = glance.server:app_factory
11
# Which backend store should Glance use by default is not specified
12
# in a request to add a new image to Glance? Default: 'file'
13
# Available choices are 'file', 'swift', and 's3'
16
# Address to bind the API server
19
# Port the bind the API server to
22
# Address to find the registry server
23
registry_host = 0.0.0.0
25
# Port the registry server is listening on
28
# ============ Filesystem Store Options ========================
30
# Directory that the Filesystem backend store
31
# writes image data to
32
filesystem_store_datadir=/var/lib/glance/images/
34
# ============ Swift Store Options =============================
36
# Address where the Swift authentication service lives
37
swift_store_auth_address = 127.0.0.1:8080/v1.0/
39
# User to authenticate against the Swift authentication service
40
swift_store_user = jdoe
42
# Auth key for the user authenticating against the
43
# Swift authentication service
44
swift_store_key = a86850deb2742ec3cb41518e26aa2d89
46
# Container within the account that the account should use
47
# for storing images in Swift
48
swift_store_container = glance
50
# Do we create the container if it does not exist?
51
swift_store_create_container_on_put = False
54
paste.app_factory = glance.registry.server:app_factory
56
# Address to bind the registry server
59
# Port the bind the registry server to
62
# SQLAlchemy connection string for the reference implementation
63
# registry server. Any valid SQLAlchemy connection string is fine.
64
# See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
65
sql_connection = sqlite:///glance.sqlite
67
# Period in seconds after which SQLAlchemy should reestablish its connection
70
# MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
71
# idle connections. This can result in 'MySQL Gone Away' exceptions. If you
72
# notice this, you can lower this value to ensure that SQLAlchemy reconnects
73
# before MySQL can drop the connection.
74
sql_idle_timeout = 3600