← Back to team overview

openstack team mailing list archive

Re: Swift PUT error


Hello Suchi,

We are doing some similar stress testing for Swift and its working fine for a normal 100 user (1sec ramp-up)/1MB object size.
Can you please give some more details on your set-up like,

-          Object size

-          Load/concurrent users

-          Size of cluster

-          # of LG and ramp-up time

-          LG and swift target set-up (both in-cloud/out of cloud)


From: openstack-bounces+nayna.patel=hp.com@xxxxxxxxxxxxxxxxxxx<mailto:openstack-bounces+nayna.patel=hp.com@xxxxxxxxxxxxxxxxxxx> [mailto:openstack-bounces+nayna.patel=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Suchi Sinha (susinha)
Sent: Thursday, March 14, 2013 3:35 PM
To: openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>
Subject: [Openstack] Swift PUT error

We are seeing lot of this error when we do  load/ stress testing on our swift  cluster..
Our assumption  connection  time between  proxy  and object  server is timeing out.
We increase client time out option. Still  no luck..
Anybody  else has seen  this erro..

ERROR __call__ error with PUT

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 932, in __call__
    res = method(req)
  File "/usr/lib/python2.7/dist-packages/swift/common/utils.py", line 1459, in wrapped
    return func(*a, **kw)
  File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 612, in PUT
    for chunk in iter(lambda: reader(self.network_chunk_size), ''):
  File "/usr/lib/python2.7/dist-packages/swift/obj/server.py", line 612, in <lambda>
    for chunk in iter(lambda: reader(self.network_chunk_size), ''):
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 147, in read
    return self._chunked_read(self.rfile, length)
  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 137, in _chunked_read
    self.chunk_length = int(rfile.readline().split(";", 1)[0], 16)
ValueError: invalid literal for int() with base 16: ''


Follow ups