[Openstack-operators] Swift installation

Mize, Donald donald.mize at hp.com
Wed Aug 17 20:06:58 UTC 2011


I got through the swift installation, creating the 'ring' using the ring builder utility, then verifying it as below, but when I rebalance, I get the error below that.

root at xnode8:/etc/swift# swift-ring-builder account.builder
account.builder, build version 1
262144 partitions, 3 replicas, 1 zones, 1 devices, 100.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices:    id  zone      ip address  port      name weight partitions balance meta
             0     1  6002      sda6 100.00          0 -100.00

root at xnode8:/etc/swift# swift-ring-builder account.builder rebalance
Traceback (most recent call last):
  File "/usr/bin/swift-ring-builder", line 616, in <module>
    Commands.__dict__.get(command, Commands.unknown)()
  File "/usr/bin/swift-ring-builder", line 477, in rebalance
    parts, balance = builder.rebalance()
  File "/usr/lib/pymodules/python2.7/swift/common/ring/builder.py", line 243, in rebalance
  File "/usr/lib/pymodules/python2.7/swift/common/ring/builder.py", line 394, in _initial_balance
    while available_devs[index]['zone'] in other_zones:
IndexError: list index out of range

What am I not doing for the setup?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110817/e718caaf/attachment-0002.html>

More information about the Openstack-operators mailing list