This patch allows the swift-proxy pipeline to be adjusted via a variable "swift_middleware_list", which can be amended to add additional middleware as required. The default remains the same - which is to include the default pipeline when using keystone. Additionally the logic around whether "authtoken" or "tempauth" are enabled was changed to check if these are set in "swift_middleware_list" without requiring a separate variable. Variable "swift_authtoken_active" was removed as it is no longer required. Tempest object storage settings were adjusted to work with the default list of enabled discoverable_apis for object storage. Container syncing was also turned into a variable based on the object storage default. Closes-Bug: #1453276 Co-Authored-By: Julian Montez <julian.montez@gmail.com> Co-Authored-By: Darren Birkett <darren.birkett@gmail.com> Change-Id: I70565296242d10327a58b02149f73eb5f31a877d
OpenStack swift
- tags
-
openstack, swift, cloud, ansible
- category
-
*nix
Role to install swift and swift registry.
- This role will install the following:
-
- swift
- name: Install swift server
hosts: swift_all
user: root
roles:
- { role: "os_swift", tags: [ "os-swift" ] }
vars:
external_lb_vip_address: 172.16.24.1
internal_lb_vip_address: 192.168.0.1