os_swift_sync role does not support weight changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
matthewoliver | ||
Kilo |
Won't Fix
|
Medium
|
Unassigned | ||
Liberty |
Fix Released
|
Medium
|
Jesse Pretorius | ||
Trunk |
Fix Released
|
Medium
|
matthewoliver |
Bug Description
When updating weights for certain nodes, the os_swift_sync role will fail with:
TASK: [os_swift_sync | Ensure contents file matches ring after ring sync for account/container] ***
failed: [objectstorage002] => (item=account) => {"changed": true, "cmd": ["/usr/bin/python", "/etc/swift/
stdout: Device weight for device <ip>:6002/disk11 differs to the ring.
The respective rings were still showing the old weight of the object servers, when this error happened
There were no other ring operations happening.
Fix submitted for master : https:/ /review. openstack. org/#/c/ 265044