ecdd8fc6ba
- Remove cache = swift.cache as well from swift config as not needed as well. Change-Id: I39f0b7ed48e6ee8926cdc011a46fdd2d01880a89
40 lines
1.5 KiB
INI
40 lines
1.5 KiB
INI
[pipeline:glance-api]
|
|
#pipeline = versionnegotiation context apiv1app
|
|
# NOTE: use the following pipeline for keystone
|
|
pipeline = versionnegotiation authtoken context apiv1app
|
|
|
|
# To enable Image Cache Management API replace pipeline with below:
|
|
# pipeline = versionnegotiation context imagecache apiv1app
|
|
# NOTE: use the following pipeline for keystone auth (with caching)
|
|
# pipeline = versionnegotiation authtoken auth-context imagecache apiv1app
|
|
|
|
[app:apiv1app]
|
|
paste.app_factory = glance.common.wsgi:app_factory
|
|
glance.app_factory = glance.api.v1.router:API
|
|
|
|
[filter:versionnegotiation]
|
|
paste.filter_factory = glance.common.wsgi:filter_factory
|
|
glance.filter_factory = glance.api.middleware.version_negotiation:VersionNegotiationFilter
|
|
|
|
[filter:cache]
|
|
paste.filter_factory = glance.common.wsgi:filter_factory
|
|
glance.filter_factory = glance.api.middleware.cache:CacheFilter
|
|
|
|
[filter:cachemanage]
|
|
paste.filter_factory = glance.common.wsgi:filter_factory
|
|
glance.filter_factory = glance.api.middleware.cache_manage:CacheManageFilter
|
|
|
|
[filter:context]
|
|
paste.filter_factory = glance.common.wsgi:filter_factory
|
|
glance.filter_factory = glance.common.context:ContextMiddleware
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystone.middleware.auth_token:filter_factory
|
|
auth_host = %KEYSTONE_AUTH_HOST%
|
|
auth_port = %KEYSTONE_AUTH_PORT%
|
|
auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
|
|
auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
|
|
admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
admin_user = %SERVICE_USERNAME%
|
|
admin_password = %SERVICE_PASSWORD%
|