From 81eeb8d0327683f46f5479a89779e9cc464fabaf Mon Sep 17 00:00:00 2001 From: Emilien Macchi Date: Fri, 11 Sep 2015 14:51:02 -0400 Subject: [PATCH] Put staticweb middleware after keystoneauth in proxy pipeline The staticweb middleware needs to be put after authentication middlewares to ensure correct functionality as documented in http://docs.openstack.org/developer/swift/middleware.html#staticweb Without this Swift sends a HTML response even if the request was done using a X-Auth-Token. This might result in a faulty handling of the response on the client side; for example, "swift stat containername" would report an empty, private container, while the container might actually be public readable with data stored in it. Change-Id: Id48840e0041f8d272e08def292fbedfaf76bbfbb Co-Authored-By: Christian Schwede --- puppet/hieradata/controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/puppet/hieradata/controller.yaml b/puppet/hieradata/controller.yaml index 08ea3eb..9c36a03 100644 --- a/puppet/hieradata/controller.yaml +++ b/puppet/hieradata/controller.yaml @@ -51,9 +51,9 @@ swift::proxy::pipeline: - 'ratelimit' - 'tempurl' - 'formpost' - - 'staticweb' - 'authtoken' - 'keystone' + - 'staticweb' - 'proxy-logging' - 'proxy-server' -- 2.4.3