[Openstack] rebalance error

Khaled Ben Bahri khaled-bbk at hotmail.com
Tue Sep 20 19:10:44 UTC 2011


thanks a lot for your answer :)

regards
Khaled

Date: Tue, 20 Sep 2011 10:54:34 -0700
From: mark at markgius.com
To: openstack at lists.launchpad.net
Subject: Re: [Openstack] rebalance error

I usually see this error when there are not enough zones to satisfy the number of replicas in the ring.  
When you created the ring, your create command ended with three numbers.  The second number is the number of replicas.  You need at least as many zones as there are replicas.

Mark

On Tue, Sep 20, 2011 at 9:08 AM, Khaled Ben Bahri <khaled-bbk at hotmail.com> wrote:






Hi,

I am following intructions described at : http://swift.openstack.org/1.2/howto_installmultinode.html  in order to install openstack swift


when I reach the step of rebalancing ring ( at the end of configuring the proxy node) , after adding entries to rings,
and when I execute the command : 
swift-ring-builder account.builder rebalance

I have this error :


Traceback (most recent call last):
  File "/usr/bin/swift-ring-builder", line 571, in <module>
    Commands.__dict__.get(command, Commands.unknown)()
  File "/usr/bin/swift-ring-builder", line 443, in rebalance

    parts, balance = builder.rebalance()
  File "/usr/lib/pymodules/python2.6/swift/common/ring/builder.py", line 200, in rebalance
    self._initial_balance()
  File "/usr/lib/pymodules/python2.6/swift/common/ring/builder.py", line 351, in _initial_balance

    while available_devs[index]['zone'] in other_zones:
IndexError: list index out of range



can any one help me please to solve this problem

best regards
Khaled

 		 	   		  

_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : openstack at lists.launchpad.net

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp





_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20110920/9b5166d5/attachment.html>


More information about the Openstack mailing list