Re: [Openstack] [Swift] Bug: swift-ring-builder set_weight doesn't work

2017-01-30 Thread Alexandr Porunov
Hello Matt, Thank you very much for your help! It's awesome. Now everything works! Best regards, Alexandr On Mon, Jan 30, 2017 at 12:48 AM, Matthew Oliver wrote: > Hey Alexandr, > > Thanks for the email. I can help you in this instance, and I'll push up a > patch to correct the usage documenta

Re: [Openstack] [Swift] Bug: swift-ring-builder set_weight doesn't work

2017-01-30 Thread Matthew Oliver
You welcome, and thank you for bringing it to our attention. Thanks to you, the next release will have the set_weight usage corrected: https://bugs.launchpad.net/swift/+bug/1660214 Regards, Matt On Mon, Jan 30, 2017 at 7:25 PM, Alexandr Porunov < alexandr.poru...@gmail.com> wrote: > Hello Mat

Re: [Openstack] [Swift] How to get a list of devices from the ring in Java / Bash?

2017-01-30 Thread Matthew Oliver
Hey Alexandr, If you wanted to do it using python, and you didn't have swift installed you can use pickle and unpickle the builder. something like: import pickle builder = pickle.load(open('') Then you'd have a python dict structure, where I think you can 'builder['devs']' or with swift ins