From 38b510c0d46b2bd5af69a7983dba1ad94e55445c Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 24 May 2016 13:20:07 -0500 Subject: [PATCH] Add staticweb to the default middleware list This change adds the "staticweb" middleware to the default list of middleware deployed. Per http://docs.openstack.org/developer/swift/middleware.html#staticweb, staticweb should be added to the pipeline just after any auth middleware. Change-Id: Ic8614ac7295751df9ad1e5ff235b84c0a0a7d252 Signed-off-by: Kevin Carter --- defaults/main.yml | 1 + .../notes/swift-staticweb-support-b280fbebf271820b.yaml | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 releasenotes/notes/swift-staticweb-support-b280fbebf271820b.yaml diff --git a/defaults/main.yml b/defaults/main.yml index a79b807d..7c414f39 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -73,6 +73,7 @@ swift_middleware_list: - ratelimit - authtoken - keystoneauth + - staticweb - container-quotas - account-quotas - slo diff --git a/releasenotes/notes/swift-staticweb-support-b280fbebf271820b.yaml b/releasenotes/notes/swift-staticweb-support-b280fbebf271820b.yaml new file mode 100644 index 00000000..5eb0ffdb --- /dev/null +++ b/releasenotes/notes/swift-staticweb-support-b280fbebf271820b.yaml @@ -0,0 +1,9 @@ +--- +features: + - The ``os_swift`` role will now include the swift "staticweb" middleware + by default. +upgrade: + - When upgrading a Swift deployment from Mitaka to Newton it should be noted + that the enabled middleware list has changed. In Newton the "staticweb" + middleware will be loaded by default. While the change adds a feature it is + non-disruptive in upgrades.