Hi,

I've got a problem with uploading files into buckets I've created.
I'm using the python boto client for my tests.

My code creates the bucket and then uploads the file. The apache
server is working, the bucket gets created, I can access it via
browser.
However, when trying to upload files the client hangs and says it got
500 response.

Here's the apache log:


[Tue Jun 17 11:28:09 2014] [error] [client 192.168.X.X] FastCGI: comm
with server "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec)
[Tue Jun 17 11:28:09 2014] [error] [client 192.168.X.X] FastCGI:
incomplete headers (0 bytes) received from server "/var/www/s3gw.fcgi"


Somebody here had similar problem, but there was no solution:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-September/004489.html

And the MTU on my ceph server is 1400.


My config is from ceph-ansible, but I've also tried this
http://ceph.com/docs/master/radosgw/config/
The code and the cluster was previously working OK on this host, but
it stopped after my experiments (I've created more zones, regions, and
then deleted them without touching the default region).


Perhaps somebody had similar problem and managed to fix it...

Here's also the boto log (if relevant).

Tue, 17 Jun 2014 09:00:57 GMT
/ceph-test/
2014-06-17 11:00:57,165 boto [DEBUG]:Signature:
AWS UZWH6AMGXZIWU4QH60TC:BTleaE7rREKPph3umD9g4442/a4=
2014-06-17 11:00:57,176 boto [DEBUG]:path=/ceph-test/abc
2014-06-17 11:00:57,177 boto [DEBUG]:auth_path=/ceph-test/abc
2014-06-17 11:00:57,177 boto [DEBUG]:Method: PUT
2014-06-17 11:00:57,177 boto [DEBUG]:Path: /ceph-test/abc
2014-06-17 11:00:57,177 boto [DEBUG]:Data:
2014-06-17 11:00:57,177 boto [DEBUG]:Headers: {'Content-Length': '5',
'Content-MD5': 'j0kMILqPh1g3YDpNbEt3HA==', 'Content-Type':
'application/octet-stream', 'Expect': '100-Continue', 'User-Agent':
'Boto/2.27.0 Python/2.6.6 Linux/2.6.32-431.el6.x86_64'}
2014-06-17 11:00:57,179 boto [DEBUG]:Host: Y
2014-06-17 11:00:57,179 boto [DEBUG]:Port: 80
2014-06-17 11:00:57,179 boto [DEBUG]:Params: {}
2014-06-17 11:00:57,179 boto [DEBUG]:establishing HTTP connection:
kwargs={'port': 80, 'timeout': 100}
2014-06-17 11:00:57,179 boto [DEBUG]:Token: None
2014-06-17 11:00:57,180 boto [DEBUG]:StringToSign:
PUT
j0kMILqPh1g3YDpNbEt3HA==
application/octet-stream
Tue, 17 Jun 2014 09:00:57 GMT
/ceph-test/abc
2014-06-17 11:00:57,180 boto [DEBUG]:Signature:
AWS UZWH6AMGXZIWU4QH60TC:rNQ+0GjYV0iMMNLrdJHFI2muL4M=
2014-06-17 11:01:27,215 boto [DEBUG]:Received 500 response.  Retrying
in 0.8 seconds
2014-06-17 11:01:28,001 boto [DEBUG]:Token: None
2014-06-17 11:01:28,001 boto [DEBUG]:StringToSign:
PUT


Thanks

Patrycja Szabłowska
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to