Broken pipe error between proxy and object-server when uploading a file

asked 2011-03-09 22:24:09 -0600

dmitry-pha gravatar image

Hello,

I'm trying the 1.2.0 version of Swift on Red Hat 6.0 Enterprise.

When I'm uploading a file using CURL, I get the error in proxy log:

Mar 9 16:37:00 stack1 swift ERROR with Object server 192.168.24.61:6000/sdb1 re: Trying to write to /v1/AUTH_d363d33189ef41499df284a3b657146f/test_cont/1: #012Traceback (most recent call last):#012 File "/home/dmitry/stack/lib/python2.6/site-packages/swift-1.2.0-py2.6.egg/swift/proxy/server.py", line 1042, in PUT#012 conn.send(chunk) #012 File "/usr/lib64/python2.6/httplib.py", line 719, in send#012 self.sock.sendall(str)#012 File "/home/dmitry/stack/lib/python2.6/site-packages/eventlet-0.9.14-py2.6.egg/eventlet/greenio.py", line 283, in sendall#012 tail = self.send(data, flags)#012 File "/home/dmitry/stack/lib/python2.6/site-packages/eventlet-0.9.14-py2.6.egg/eventlet/greenio.py", line 269, in send#012 total_sent += fd.send(data[total_sent:], flags)#012error: [Errno 32] Broken pipe (txn: tx6b3660d2-a30b-458c-afd8-6ac7c3282fcf) Mar 9 16:37:00 stack1 swift ERROR with Object server 192.168.24.63:6000/sda1 re: Trying to write to /v1/AUTH_d363d33189ef41499df284a3b657146f/test_cont/1: #012Traceback (most recent call last):#012 File "/home/dmitry/stack/lib/python2.6/site-packages/swift-1.2.0-py2.6.egg/swift/proxy/server.py", line 1042, in PUT#012 conn.send(chunk)#012 File "/usr/lib64/python2.6/httplib.py", line 719, in send#012 self.sock.sendall(str)#012 File "/home/dmitry/stack/lib/python2.6/site-packages/eventlet-0.9.14-py2.6.egg/eventlet/greenio.py", line 283, in sendall#012 tail = self.send(data, flags)#012 File "/home/dmitry/stack/lib/python2.6/site-packages/eventlet-0.9.14-py2.6.egg/eventlet/greenio.py", line 269, in send#012 total_sent += fd.send(data[total_sent:], flags)#012error: [Errno 32] Broken pipe (txn: tx6b3660d2-a30b-458c-afd8-6ac7c3282fcf) Mar 9 16:37:00 stack1 swift Object PUT exceptions during send, 1/2 required connections (txn: tx6b3660d2-a30b-458c-afd8-6ac7c3282fcf)

I'm getting 503 response code back.

The file is actually uploading successfully to the storage and I can retrieve it. If I'm using st tool to upload, it hangs up, but the file is uploaded again.

Replication and other processes are working with no errors.

Python 2.6, WebOb version 1.0.3 (not 1.0.1 as tested). Can it be a reason of the problem?

Thank you.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-03-10 04:15:32 -0600

gholt gravatar image

There's a bug with WebOb 1.0.3 http://groups.google.com/group/paste-users/browse_thread/thread/10157caa893a82e7 (http://groups.google.com/group/paste-...)

We're trying to track down what the solution will be (perhaps a combo of a WebOb fix and a Swift behavior change, not sure).

edit flag offensive delete link more
0

answered 2011-03-10 04:16:14 -0600

gholt gravatar image

Switching to an older WebOb 1.0.1 should solve the problem.

edit flag offensive delete link more
0

answered 2011-03-10 14:59:11 -0600

dmitry-pha gravatar image

This solved the problem, thank you!

edit flag offensive delete link more
0

answered 2011-03-10 14:59:26 -0600

dmitry-pha gravatar image

Thanks gholt, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-03-09 22:24:09 -0600

Seen: 563 times

Last updated: Mar 10 '11