<div dir="ltr"><div>Hi,<br><br>Here is a detailed overview of my setup.<br><br></div>Two machines(each 4G RAM and one 2TB disk)<br><ol><li>Configured as proxy + storage<br></li><li>Configured as storage</li></ol><p>I followed the folsom object storage administrator guide and created ring partitions using the following commands.</p>
<p># swift-ring-builder account.builder 9 2 1</p><p># swift-ring-builder container.builder 9 2 1</p><p># swift-ring-builder object.builder 9 2 1</p><p>I added both the storage units in the same zone, copied the *.ring.gz files to each host and restarted the services.</p>
<p>The setup seems to be working fine for small files, but while copying large files I get errors(as stated in the previous mail). Any help would be greatly appreciated.</p><p>Thanks.<br></p></div><div class="gmail_extra">
<br clear="all"><div>--<br>Shashank Sahni<br></div>
<br><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 12:51 PM, Shashank Sahni <span dir="ltr"><<a href="mailto:shredder12@gmail.com" target="_blank">shredder12@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div>Hi everyone,<br><br>I'm running a small test setup of swift with one proxy+storage and one storage instance.<br><br></div>The setup seems to be running well for small objects. I'm able to create and upload them successfully using swift cli tool, but for large objects(>1G), I get error of "503 service unavailable"(on swift cli) after a long wait.<br>
<br></div>I dig into logs and found that none of the replicator services are running. All of them give the following error(array index out of range)<br><br>Mar 8 12:42:03 yahoo-128 account-replicator Beginning replication run<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: Traceback (most recent call last):<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 80, in _spawn_n_impl<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: func(*args, **kwargs)<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: File "/usr/lib/python2.7/dist-packages/swift/common/db_replicator.py", line 398, in _replicate_object<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: nodes = self.ring.get_part_nodes(int(partition))<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: File "/usr/lib/python2.7/dist-packages/swift/common/ring/ring.py", line 201, in get_part_nodes<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: if not (r[part] in seen_ids or seen_ids.add(r[part]))]<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: IndexError: array index out of range<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: Traceback (most recent call last):<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: File "/usr/lib/python2.7/dist-packages/eventlet/greenpool.py", line 80, in _spawn_n_impl<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: func(*args, **kwargs)<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: File "/usr/lib/python2.7/dist-packages/swift/common/db_replicator.py", line 398, in _replicate_object<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: nodes = self.ring.get_part_nodes(int(partition))<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: File "/usr/lib/python2.7/dist-packages/swift/common/ring/ring.py", line 201, in get_part_nodes<br>Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: if not (r[part] in seen_ids or seen_ids.add(r[part]))]<br>
Mar 8 12:42:03 yahoo-128 account-replicator STDOUT: IndexError: array index out of range<br>Mar 8 12:42:03 yahoo-128 account-replicator Replication run OVER<br>Mar 8 12:42:03 yahoo-128 account-replicator Attempted to replicate 3 dbs in 0.02536 seconds (118.26332/s)<br>
Mar 8 12:42:03 yahoo-128 account-replicator Removed 0 dbs<br>Mar 8 12:42:03 yahoo-128 account-replicator 1 successes, 0 failures<br>Mar 8 12:42:03 yahoo-128 account-replicator no_change:1 ts_repl:0 diff:0 rsync:0 diff_capped:0 hashmatch:0 empty:0<br>
<br></div>Additionally, while the transfer of a big file was going on(4GB), I got the following error in logs.<br><br>proxy-server ERROR with Object server <a href="http://10.0.1.1:6000/sdb1" target="_blank">10.0.1.1:6000/sdb1</a> re: Trying to write to /v1/AUTH_cccc28c949f34bd3b5fb295cffb69ed4/data_dir/data_dir/Feb27/PRIVATE/AVCHD/BDMV/STREAM/00002.MTS: ChunkWriteTimeout (10s)<br>
<br></div>Any suggestions?<br><div><div><div><div><div><div><div><br clear="all"><div><div>--<br>Shashank Sahni<br></div>
</div></div></div></div></div></div></div></div></div>
</blockquote></div><br></div>