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
9 bind_host = {{ internal_ip }}
11 # Port the bind the registry server to
14 # Log to this file. Make sure you do not set the same log file for both the API
15 # and registry servers!
17 # If `log_file` is omitted and `use_syslog` is false, then log messages are
18 # sent to stdout as a fallback.
19 log_file = /var/log/glance/registry.log
21 # Backlog requests when creating socket
24 # TCP_KEEPIDLE value in seconds when creating socket.
25 # Not supported on OS X.
28 # API to use for accessing data. Default value points to sqlalchemy
30 #data_api = glance.db.sqlalchemy.api
32 # Enable Registry API versions individually or simultaneously
33 #enable_v1_registry = True
34 #enable_v2_registry = True
36 # Limit the api to return `param_limit_max` items in a call to a container. If
37 # a larger `limit` query param is provided, it will be reduced to this value.
40 # If a `limit` query param is not provided in an api request, it will
41 # default to `limit_param_default`
42 limit_param_default = 25
44 # Role used to identify an authenticated user as administrator
47 # Whether to automatically create the database tables.
49 #db_auto_create = False
51 # Enable DEBUG log messages from sqlalchemy which prints every database
54 #sqlalchemy_debug = True
56 # ================= Syslog Options ============================
58 # Send logs to syslog (/dev/log) instead of to file specified
62 # Facility to use. If unset defaults to LOG_USER.
63 #syslog_log_facility = LOG_LOCAL1
65 # ================= SSL Options ===============================
67 # Certificate file to use when starting registry server securely
68 #cert_file = /path/to/certfile
70 # Private key file to use when starting registry server securely
71 #key_file = /path/to/keyfile
73 # CA certificate file to use to verify connecting clients
74 #ca_file = /path/to/cafile
76 # ================= Database Options ==========================
79 # The file name to use with SQLite (string value)
80 sqlite_db = /var/lib/glance/glance.sqlite
82 # If True, SQLite uses synchronous mode (boolean value)
83 #sqlite_synchronous = True
85 # The backend to use for db (string value)
86 # Deprecated group/name - [DEFAULT]/db_backend
89 # The SQLAlchemy connection string used to connect to the
90 # database (string value)
91 # Deprecated group/name - [DEFAULT]/sql_connection
92 # Deprecated group/name - [DATABASE]/sql_connection
93 # Deprecated group/name - [sql]/connection
95 connection = mysql://glance:{{ GLANCE_DBPASS }}@{{ db_host }}/glance
97 # The SQL mode to be used for MySQL sessions. This option,
98 # including the default, overrides any server-set SQL mode. To
99 # use whatever SQL mode is set by the server configuration,
100 # set this to no value. Example: mysql_sql_mode= (string
102 #mysql_sql_mode = TRADITIONAL
104 # Timeout before idle sql connections are reaped (integer
106 # Deprecated group/name - [DEFAULT]/sql_idle_timeout
107 # Deprecated group/name - [DATABASE]/sql_idle_timeout
108 # Deprecated group/name - [sql]/idle_timeout
111 # Minimum number of SQL connections to keep open in a pool
113 # Deprecated group/name - [DEFAULT]/sql_min_pool_size
114 # Deprecated group/name - [DATABASE]/sql_min_pool_size
117 # Maximum number of SQL connections to keep open in a pool
119 # Deprecated group/name - [DEFAULT]/sql_max_pool_size
120 # Deprecated group/name - [DATABASE]/sql_max_pool_size
121 #max_pool_size = <None>
123 # Maximum db connection retries during startup. (setting -1
124 # implies an infinite retry count) (integer value)
125 # Deprecated group/name - [DEFAULT]/sql_max_retries
126 # Deprecated group/name - [DATABASE]/sql_max_retries
129 # Interval between retries of opening a sql connection
131 # Deprecated group/name - [DEFAULT]/sql_retry_interval
132 # Deprecated group/name - [DATABASE]/reconnect_interval
135 # If set, use this value for max_overflow with sqlalchemy
137 # Deprecated group/name - [DEFAULT]/sql_max_overflow
138 # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
139 #max_overflow = <None>
141 # Verbosity of SQL debugging information. 0=None,
142 # 100=Everything (integer value)
143 # Deprecated group/name - [DEFAULT]/sql_connection_debug
144 #connection_debug = 0
146 # Add python stack traces to SQL as comment strings (boolean
148 # Deprecated group/name - [DEFAULT]/sql_connection_trace
149 #connection_trace = False
151 # If set, use this value for pool_timeout with sqlalchemy
153 # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
154 #pool_timeout = <None>
156 # Enable the experimental use of database reconnect on
157 # connection lost (boolean value)
158 #use_db_reconnect = False
160 # seconds between db connection retries (integer value)
161 #db_retry_interval = 1
163 # Whether to increase interval between db connection retries,
164 # up to db_max_retry_interval (boolean value)
165 #db_inc_retry_interval = True
167 # max seconds between db connection retries, if
168 # db_inc_retry_interval is enabled (integer value)
169 #db_max_retry_interval = 10
171 # maximum db connection retries before error is raised.
172 # (setting -1 implies an infinite retry count) (integer value)
176 auth_uri = http://{{ HA_VIP }}:5000/v2.0
177 identity_uri = http://{{ HA_VIP }}:35357
178 admin_tenant_name = service
180 admin_password = {{ GLANCE_PASS }}
183 # Name of the paste configuration file that defines the available pipelines
184 #config_file = glance-registry-paste.ini
186 # Partial name of a pipeline in your paste configuration file with the
187 # service name removed. For example, if your paste section name is
188 # [pipeline:glance-registry-keystone], you would configure the flavor below