← Back to team overview

openstack team mailing list archive

Re: Swift PUT error

 

rfile.readline().split(";", 1)[0] here is empty string.

Could give the size of object your uploaded, in bytes.


On Fri, Mar 15, 2013 at 7:02 AM, Lokare, Bageshree
<bageshree.lokare@xxxxxx>wrote:

>  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)****
>
> ** **
>
> ****
>
> Thanks,****
>
> SHREE****
>
>  ****
>
> ** **
>
> *From:* openstack-bounces+nayna.patel=hp.com@xxxxxxxxxxxxxxxxxxx [
> mailto:openstack-bounces+nayna.patel=hp.com@xxxxxxxxxxxxxxxxxxx<openstack-bounces+nayna.patel=hp.com@xxxxxxxxxxxxxxxxxxx>]
> *On Behalf Of *Suchi Sinha (susinha)
> *Sent:* Thursday, March 14, 2013 3:35 PM
> *To:* 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: ''****
>
> ** **
>
> ** **
>
> ** **
>
> ~Suchi****
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Gareth
*Cloud Computing, Openstack, Fitness, Basketball
*
*Novice Openstack contributer*
*My promise: if you find any spelling or grammar mistake in my email from
Mar 1 2013, notice me *
*and I'll donate 1$ or 1¥ to open organization specified by you.*

Follow ups

References