File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 11[pipeline:glance-api]
22# pipeline = versionnegotiation context apiv1app
33# NOTE: use the following pipeline for keystone
4- pipeline = versionnegotiation authtoken auth- context apiv1app
4+ pipeline = versionnegotiation authtoken context apiv1app
55
66# To enable Image Cache Management API replace pipeline with below:
77# pipeline = versionnegotiation context imagecache apiv1app
@@ -38,12 +38,6 @@ auth_host = %KEYSTONE_AUTH_HOST%
3838auth_port = %KEYSTONE_AUTH_PORT%
3939auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
4040auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
41- # FIXME(dtroyer): remove admin_token after auth_token is updated
42- admin_token = %SERVICE_TOKEN%
4341admin_tenant_name = %SERVICE_TENANT_NAME%
4442admin_user = %SERVICE_USERNAME%
4543admin_password = %SERVICE_PASSWORD%
46-
47- [filter:auth-context]
48- paste.filter_factory = glance.common.wsgi:filter_factory
49- glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware
Original file line number Diff line number Diff line change 11[pipeline:glance-registry]
22# pipeline = context registryapp
33# NOTE: use the following pipeline for keystone
4- pipeline = authtoken auth-context context registryapp
4+ pipeline = authtoken context registryapp
55
66[app:registryapp]
77paste.app_factory = glance.common.wsgi:app_factory
@@ -22,13 +22,6 @@ auth_host = %KEYSTONE_AUTH_HOST%
2222auth_port = %KEYSTONE_AUTH_PORT%
2323auth_protocol = %KEYSTONE_AUTH_PROTOCOL%
2424auth_uri = %KEYSTONE_SERVICE_PROTOCOL%://%KEYSTONE_SERVICE_HOST%:%KEYSTONE_SERVICE_PORT%/
25- # FIXME(dtroyer): remove admin_token after auth_token is updated
26- admin_token = %SERVICE_TOKEN%
2725admin_tenant_name = %SERVICE_TENANT_NAME%
2826admin_user = %SERVICE_USERNAME%
2927admin_password = %SERVICE_PASSWORD%
30-
31- [filter:auth-context]
32- context_class = glance.registry.context.RequestContext
33- paste.filter_factory = glance.common.wsgi:filter_factory
34- glance.filter_factory = keystone.middleware.glance_auth_token:KeystoneContextMiddleware
You can’t perform that action at this time.
0 commit comments