Put staticweb middleware after keystoneauth in proxy pipeline
authorEmilien Macchi <emilien@redhat.com>
Fri, 11 Sep 2015 18:51:02 +0000 (14:51 -0400)
committerEmilien Macchi <emilien@redhat.com>
Tue, 22 Sep 2015 20:33:57 +0000 (16:33 -0400)
commit1730d95acdbee7c7bbcfe1eba8a48ef2b0cc1476
tree7eb0f08f5ffb42730e400d83491a270b594fb3d4
parent8e7a13ebe898a9f6a94bf77d095a681ec744e719
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.

Closes-bug: 1494896
Change-Id: Id48840e0041f8d272e08def292fbedfaf76bbfbb
Co-Authored-By: Christian Schwede <cschwede@redhat.com>
puppet/hieradata/controller.yaml