Fix up some warnings

Specifically, from Swift:

  proxy-server: Adding required filter dlo to pipeline at position 7
  proxy-server: Adding required filter gatekeeper to pipeline at
    position 1
  proxy-server: Pipeline was modified. New pipeline is "catch_errors
    gatekeeper proxy-logging cache swift3 s3token authtoken keystoneauth
    dlo bulk slo proxy-logging proxy-server".

  proxy-server: Starting Keystone auth_token middleware
  proxy-server: Configuring admin URI using auth fragments. This is
    deprecated, use 'identity_uri' instead.

And from Keystone:

  2016-03-18 20:18:19.844 19052 WARNING oslo_config.cfg [-] Option
    "policy_file" from group "DEFAULT" is deprecated. Use option
    "policy_file" from group "oslo_policy".

While we're at it, remove some unused filter config options to reduce
confusion.

Change-Id: I08e76b3bfcc4b59121b7a0d5fedf1f9629d8fb25
This commit is contained in:
Tim Burke 2016-03-18 16:00:34 -07:00
parent 7fc85eaaaa
commit 7700d77cd4
3 changed files with 20 additions and 17 deletions

View File

@ -142,21 +142,24 @@ use = egg:swift#memcache
[filter:s3token]
# See swift manual for more details.
paste.filter_factory = keystonemiddleware.s3_token:filter_factory
# Prefix that will be prepended to the tenant to form the account
reseller_prefix = AUTH_
# Keystone server details
auth_host = keystonehost
auth_port = 35357
auth_protocol = http
auth_uri = http://keystonehost:5000/
admin_tenant_name = service
admin_user = swift
admin_password = password
cache = swift.cache
# SSL-related options
#insecure = False
#certfile =
#keyfile =
[filter:authtoken]
# See swift manual for more details.
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
auth_host = keystonehost
auth_port = 35357
auth_protocol = http
identity_uri = http://keystonehost:35357/
auth_uri = http://keystonehost:5000/
admin_tenant_name = service
admin_user = swift

View File

@ -1,11 +1,14 @@
[DEFAULT]
policy_file=%CONF_DIR%/policy.json
admin_token = ADMIN
[database]
connection=sqlite:///%TEST_DIR%/keystone.db
[oslo_policy]
policy_file=%CONF_DIR%/policy.json
[paste_deploy]
config_file=%CONF_DIR%/keystone-paste.ini

View File

@ -9,7 +9,7 @@ account_autocreate = true
log_level = DEBUG
[pipeline:main]
pipeline = catch_errors proxy-logging cache swift3 %MIDDLEWARE% bulk slo proxy-logging proxy-server
pipeline = catch_errors gatekeeper proxy-logging cache swift3 %MIDDLEWARE% bulk slo dlo proxy-logging proxy-server
[app:proxy-server]
use = egg:swift#proxy
@ -40,6 +40,9 @@ min_segment_size = 4
[filter:dlo]
use = egg:swift#dlo
[filter:gatekeeper]
use = egg:swift#gatekeeper
[filter:cache]
use = egg:swift#memcache
@ -49,16 +52,10 @@ auth_host = localhost
auth_port = 35357
auth_protocol = http
auth_uri = http://localhost:5000/
admin_tenant_name = service
admin_user = swift
admin_password = password
cache = swift.cache
[filter:authtoken]
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
auth_host = localhost
auth_port = 35357
auth_protocol = http
identity_uri = http://localhost:35357/
auth_uri = http://localhost:5000/
admin_tenant_name = service
admin_user = swift