2 # Show more verbose log output (sets INFO log level output)
5 # Show debugging output in logs (sets DEBUG log level output)
8 # Address to bind the registry server
11 # Port the bind the registry server to
14 # Log to this file. Make sure you do not set the same log
15 # file for both the API and registry servers!
16 log_file={RIFT_VAR_ROOT}/log/glance/glance-registry.log
18 # Backlog requests when creating socket
21 # TCP_KEEPIDLE value in seconds when creating socket.
22 # Not supported on OS X.
25 # API to use for accessing data. Default value points to sqlalchemy
27 data_api = glance.db.sqlalchemy.api
29 # SQLAlchemy connection string for the reference implementation
30 # registry server. Any valid SQLAlchemy connection string is fine.
31 # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
32 #sql_connection=mysql://glance:glance@localhost/glance
33 sql_connection=sqlite:///{RIFT_VAR_ROOT}/glance/glance-registry.db
35 # Period in seconds after which SQLAlchemy should reestablish its connection
38 # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
39 # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
40 # notice this, you can lower this value to ensure that SQLAlchemy reconnects
41 # before MySQL can drop the connection.
42 sql_idle_timeout = 3600
44 # Limit the api to return `param_limit_max` items in a call to a container. If
45 # a larger `limit` query param is provided, it will be reduced to this value.
48 # If a `limit` query param is not provided in an api request, it will
49 # default to `limit_param_default`
50 limit_param_default = 25
52 # Role used to identify an authenticated user as administrator
55 # Whether to automatically create the database tables.
59 # Enable DEBUG log messages from sqlalchemy which prints every database
62 sqlalchemy_debug = True
64 # ================= Syslog Options ============================
66 # Send logs to syslog (/dev/log) instead of to file specified
70 # Facility to use. If unset defaults to LOG_USER.
71 #syslog_log_facility = LOG_LOCAL1
73 # ================= SSL Options ===============================
75 # Certificate file to use when starting registry server securely
76 #cert_file = /path/to/certfile
78 # Private key file to use when starting registry server securely
79 #key_file = /path/to/keyfile
81 # CA certificate file to use to verify connecting clients
82 #ca_file = /path/to/cafile
88 #admin_tenant_name=%SERVICE_TENANT_NAME%
89 #admin_user=%SERVICE_USER%
90 #admin_password=%SERVICE_PASSWORD%
93 # Name of the paste configuration file that defines the available pipelines
94 config_file=/usr/share/glance/glance-registry-dist-paste.ini
96 # Partial name of a pipeline in your paste configuration file with the
97 # service name removed. For example, if your paste section name is
98 # [pipeline:glance-registry-keystone], you would configure the flavor below