Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Operators

Swift installation

 

 

OpenStack operators RSS feed   Index | Next | Previous | View Threaded


donald.mize at hp

Aug 17, 2011, 1:06 PM

Post #1 of 2 (49 views)
Permalink
Swift installation

All,

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 10.1.1.9 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
self._initial_balance()
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?

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


donald.mize at hp

Aug 17, 2011, 2:13 PM

Post #2 of 2 (48 views)
Permalink
Swift installation [In reply to]

Nevermind, I figured it out!

From: openstack-operators-bounces [at] lists [mailto:openstack-operators-bounces [at] lists] On Behalf Of Mize, Donald
Sent: Wednesday, August 17, 2011 3:07 PM
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] Swift installation

All,

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 10.1.1.9 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
self._initial_balance()
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?

Thanks!
Don
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110817/c5344e72/attachment.html>

OpenStack operators RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.