Merge "Clean out deprecations from paste.ini"

This commit is contained in:
Zuul 2021-08-05 17:34:57 +00:00 committed by Gerrit Code Review
commit 2841892229
2 changed files with 0 additions and 20 deletions

View File

@ -1577,12 +1577,6 @@ profiling feature for glance-api service.
in their deployment. Without HMAC key the profiling will not be triggered
even profiling feature is enabled.
**IMPORTANT NOTE**: previously HMAC keys (as well as enabled parameter) were
placed at `/etc/glance/api-paste.ini` file for Glance API service
respectively. Starting with osprofiler 0.3.1 release there is no need to set
these arguments in the `*-paste.ini` files. This functionality is still
supported, although the config values are having larger priority.
The config value ``trace_sqlalchemy`` is used to determine whether fully
enable sqlalchemy engine based SQL execution profiling feature for glance-api
service.

View File

@ -22,18 +22,6 @@ pipeline = cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler aut
[pipeline:glance-api-keystone+cachemanagement]
pipeline = cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler authtoken context cache cachemanage rootapp
# Use this pipeline for authZ only. This means that the registry will treat a
# user as authenticated without making requests to keystone to reauthenticate
# the user.
[pipeline:glance-api-trusted-auth]
pipeline = cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler context rootapp
# Use this pipeline for authZ only. This means that the registry will treat a
# user as authenticated without making requests to keystone to reauthenticate
# the user and uses cache management
[pipeline:glance-api-trusted-auth+cachemanagement]
pipeline = cors healthcheck http_proxy_to_wsgi versionnegotiation osprofiler context cache cachemanage rootapp
[composite:rootapp]
paste.composite_factory = glance.api:root_app_factory
/: apiversions
@ -74,8 +62,6 @@ paste.filter_factory = glance.api.middleware.gzip:GzipMiddleware.factory
[filter:osprofiler]
paste.filter_factory = osprofiler.web:WsgiMiddleware.factory
hmac_keys = SECRET_KEY #DEPRECATED
enabled = yes #DEPRECATED
[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory