23
23
# Backlog requests when creating socket
26
# Number of Glance API worker processes to start.
27
# On machines with more than one CPU increasing this value
28
# may improve performance (especially if using SSL with
29
# compression turned on). It is typically recommended to set
30
# this value to the number of CPUs present on your machine.
26
33
# ================= Syslog Options ============================
28
35
# Send logs to syslog (/dev/log) instead of to file specified
207
214
# Base directory that the Image Cache uses
208
215
image_cache_dir = /var/lib/glance/image-cache/
210
[pipeline:glance-api]
211
pipeline = versionnegotiation context apiv1app
212
# NOTE: use the following pipeline for keystone
213
# pipeline = versionnegotiation authtoken auth-context apiv1app
215
# To enable transparent caching of image files replace pipeline with below:
216
# pipeline = versionnegotiation context cache apiv1app
217
# NOTE: use the following pipeline for keystone auth (with caching)
218
# pipeline = versionnegotiation authtoken auth-context cache apiv1app
220
# To enable Image Cache Management API replace pipeline with below:
221
# pipeline = versionnegotiation context cachemanage apiv1app
222
# NOTE: use the following pipeline for keystone auth (with caching)
223
# pipeline = versionnegotiation authtoken auth-context cachemanage apiv1app
226
paste.app_factory = glance.common.wsgi:app_factory
227
glance.app_factory = glance.api.v1.router:API
229
[filter:versionnegotiation]
230
paste.filter_factory = glance.common.wsgi:filter_factory
231
glance.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter
234
paste.filter_factory = glance.common.wsgi:filter_factory
235
glance.filter_factory = glance.api.middleware.cache:CacheFilter
238
paste.filter_factory = glance.common.wsgi:filter_factory
239
glance.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter
242
paste.filter_factory = glance.common.wsgi:filter_factory
243
glance.filter_factory = glance.common.context:ContextMiddleware
246
paste.filter_factory = keystone.middleware.auth_token:filter_factory
247
service_protocol = http
248
service_host = 127.0.0.1
250
auth_host = 127.0.0.1
253
auth_uri = http://127.0.0.1:5000/
254
admin_token = 999888777666
256
[filter:auth-context]
257
paste.filter_factory = glance.common.wsgi:filter_factory
258
glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware