Multiple Server Swift Installation—rebalance
I use four Virtual Machines to set up swift in muitiple Sever.
one for proxy&auth node ,and others for storage node.
root@swift-
account.builder, build version 3
262144 partitions, 2 replicas, 1 zones, 3 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 5 192.168.1.84 6002 sdb1 100.00 0 -100.00
1 5 192.168.1.82 6002 sdb1 100.00 0 -100.00
2 5 192.168.1.69 6002 sdb1 100.00 0 -100.00
container.builder, build version 3
262144 partitions, 2 replicas, 1 zones, 3 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 5 192.168.1.84 6001 sdb1 100.00 0 -100.00
1 5 192.168.1.82 6001 sdb1 100.00 0 -100.00
2 5 192.168.1.69 6001 sdb1 100.00 0 -100.00
object.builder, build version 3
262144 partitions, 2 replicas, 1 zones, 3 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 5 192.168.1.84 6000 sdb1 100.00 0 -100.00
1 5 192.168.1.82 6000 sdb1 100.00 0 -100.00
2 5 192.168.1.69 6000 sdb1 100.00 0 -100.00
but
root@swift-
Traceback (most recent call last):
File "/usr/bin/
Commands.
File "/usr/bin/
parts, balance = builder.rebalance()
File "/usr/lib/
self.
File "/usr/lib/
while available_
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/bin/
Commands.
File "/usr/bin/
parts, balance = builder.rebalance()
File "/usr/lib/
self.
File "/usr/lib/
while available_
IndexError: list index out of range
Traceback (most recent call last):
File "/usr/bin/
Commands.
File "/usr/bin/
parts, balance = builder.rebalance()
File "/usr/lib/
self.
File "/usr/lib/
while available_
IndexError: list index out of range
root@swift-
#!/bin/bash
swift-ring-builder account.builder rebalance
swift-ring-builder container.builder rebalance
swift-ring-builder object.builder rebalance
anyone could tell me why???
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- eugene lin
- Solved:
- Last query:
- Last reply: