Re: [openstack-dev] [Swift] (Non-)consistency of the Swift hash ring implementation

2014-09-08 Thread Nejc Saje
That's great to hear! I see now that Swift's implementation has some additional rebalancing logic that Ironic (and the code example from Gregory's blog) lacked. Cheers, Nejc On 09/08/2014 05:39 AM, John Dickinson wrote: To test Swift directly, I used the CLI tools that Swift provides for

[openstack-dev] [Swift] (Non-)consistency of the Swift hash ring implementation

2014-09-07 Thread Nejc Saje
Hey guys, in Ceilometer we're using consistent hash rings to do workload partitioning[1]. We've considered using Ironic's hash ring implementation, but found out it wasn't actually consistent (ML[2], patch[3]). The next thing I noticed that the Ironic implementation is based on Swift's. The

Re: [openstack-dev] [Swift] (Non-)consistency of the Swift hash ring implementation

2014-09-07 Thread John Dickinson
To test Swift directly, I used the CLI tools that Swift provides for managing rings. I wrote the following short script: $ cat remakerings #!/bin/bash swift-ring-builder object.builder create 16 3 0 for zone in {1..4}; do for server in {200..224}; do for drive in {1..12}; do swift-ring-builder