From 859e88ce4c0fa7a57d86c675b7f0296f4237cb91 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Wed, 13 Dec 2017 12:13:42 +0000 Subject: [PATCH] Add tempurl to swift pipeline This is required for some tempest tests and in turn to achieve 100% refstack certification for clouds deployed by Kolla. tempurl is default in Swift[0] but we're missing as we override the pipeline. [0] https://github.com/openstack/swift/blob/\ b86bf15a644db4438770801a312fe074a09c91ef/\ etc/proxy-server.conf-sample#L97 Change-Id: I0e36fcd7a785f878005d51159eb51725c284229c --- ansible/roles/swift/templates/proxy-server.conf.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/roles/swift/templates/proxy-server.conf.j2 b/ansible/roles/swift/templates/proxy-server.conf.j2 index 1edc482f69..746d293eac 100644 --- a/ansible/roles/swift/templates/proxy-server.conf.j2 +++ b/ansible/roles/swift/templates/proxy-server.conf.j2 @@ -10,13 +10,16 @@ log_level = INFO workers = {{ openstack_service_workers }} [pipeline:main] -pipeline = catch_errors gatekeeper healthcheck cache container_sync bulk ratelimit authtoken keystoneauth slo dlo {% if enable_ceilometer | bool %}ceilometer {% endif %}proxy-server +pipeline = catch_errors gatekeeper healthcheck cache container_sync bulk tempurl ratelimit authtoken keystoneauth slo dlo {% if enable_ceilometer | bool %}ceilometer {% endif %}proxy-server [app:proxy-server] use = egg:swift#proxy allow_account_management = true account_autocreate = true +[filter:tempurl] +use = egg:swift#tempurl + [filter:cache] use = egg:swift#memcache memcache_servers = {% for host in groups['swift-proxy-server'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}