Fix ordering of swift3 in middleware pipeline
Beginning with commit 6ffcc29 of swift3, the swift3 and s3token middlewares must come between authtoken and keystoneauth in the swift proxy pipeline. When 6ffcc29 was committed, reordering was optional at the expense of an unneceessary call to keystone. However, the change becomes mandatory when using keystone v3 tokens. Without this change, authtoken will strip the necessary headers that s3token just added to the environment. Change-Id: Ic7d07d869aa617ee00190a9aedf411017539b97b
This commit is contained in:
parent
3d615b3b92
commit
8b2fc7afc7
@ -87,13 +87,13 @@ swift_middleware_list:
|
||||
- proxy-logging
|
||||
- "{% if swift_ceilometer_enabled | bool %}ceilometer{% endif %}"
|
||||
- cache
|
||||
- "{% if swift_swift3_enabled | bool%}swift3{% endif %}"
|
||||
- "{% if swift_swift3_enabled | bool%}s3token{% endif %}"
|
||||
- container_sync
|
||||
- bulk
|
||||
- tempurl
|
||||
- ratelimit
|
||||
- authtoken
|
||||
- "{% if swift_swift3_enabled | bool%}swift3{% endif %}"
|
||||
- "{% if swift_swift3_enabled | bool%}s3token{% endif %}"
|
||||
- keystoneauth
|
||||
- staticweb
|
||||
- copy
|
||||
|
Loading…
x
Reference in New Issue
Block a user