
The swift_rings.py file that updates the swift ring files are failing to update the weight in a builder file. This is caused by the weight passed into the swift-ring-builder CLI needing to be a string. This patch converts the weight to a string when passing it to swift-ring-builder. Closes-Bug: #1532204 Change-Id: Iceb3f19eb226fdcfd373fa73d8a5d41b41a239af
OpenStack swift key/ring sync
- tags
-
openstack, swift, cloud, ansible
- category
-
*nix
Role to synchronise keys and the ring for swift hosts
- This role will synchronise the following:
-
- ring
- ssh keys
- name: Sync swift rings and keys
hosts: swift_all:swift_remote_all
user: root
roles:
- { role: "os_swift_sync", tags: [ "os-swift-sync" ] }