[Openstack] Swift PUT error

Gareth academicgareth at gmail.com
Fri Mar 15 09:03:12 UTC 2013


I just know some basic about chunked data.
Our codes build chunked data with '%x\r\n%s\r\n' and '0\r\n\r\n', but in
eventlet.wsgi, it split with ';' I found that and have no more ideas.


On Fri, Mar 15, 2013 at 3:35 PM, Gareth <academicgareth at gmail.com> wrote:

> 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 at hp.com> 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 at lists.launchpad.net [
>> mailto:openstack-bounces+nayna.patel=hp.com at lists.launchpad.net<openstack-bounces+nayna.patel=hp.com at lists.launchpad.net>]
>> *On Behalf Of *Suchi Sinha (susinha)
>> *Sent:* Thursday, March 14, 2013 3:35 PM
>> *To:* openstack at lists.launchpad.net
>> *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 at lists.launchpad.net
>> 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.*
>



-- 
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.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130315/996ceb61/attachment.html>


More information about the Openstack mailing list