----- Original Message ----- > From: "Potato Farmer" <potato_farmer@xxxxxxxxxxx> > To: ceph-users@xxxxxxxxxxxxxx > Sent: Thursday, March 19, 2015 12:26:41 PM > Subject: FastCGI and RadosGW issue? > > > > Hi, > > > > I am running into an issue uploading to a bucket over an s3 connection to > ceph. I can create buckets just fine. I just can’t create a key and copy > data to it. > > > > Command that causes the error: > > >>> key.set_contents_from_string("testing from string") > > > > I encounter the following error: > > Traceback (most recent call last): > > File "<stdin>", line 1, in <module> > > File "/usr/lib/python2.7/site-packages/boto/s3/key.py", line 1424, in > set_contents_from_string > > encrypt_key=encrypt_key) > > File "/usr/lib/python2.7/site-packages/boto/s3/key.py", line 1291, in > set_contents_from_file > > chunked_transfer=chunked_transfer, size=size) > > File "/usr/lib/python2.7/site-packages/boto/s3/key.py", line 748, in > send_file > > chunked_transfer=chunked_transfer, size=size) > > File "/usr/lib/python2.7/site-packages/boto/s3/key.py", line 949, in > _send_file_internal > > query_args=query_args > > File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 664, in > make_request > > retry_handler=retry_handler > > File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1068, in > make_request > > retry_handler=retry_handler) > > File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1025, in > _mexe > > raise BotoServerError(response.status, response.reason, body) > > boto.exception.BotoServerError: BotoServerError: 500 Internal Server Error > > None > > > > In the Apache logs I see the following: > > [Thu Mar 19 12:03:13 2015] [error] [] FastCGI: comm with server > "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec) > > [Thu Mar 19 12:03:13 2015] [error] [] FastCGI: incomplete headers (0 bytes) > received from server "/var/www/s3gw.fcgi" > > [Thu Mar 19 12:03:32 2015] [error] [] FastCGI: comm with server > "/var/www/s3gw.fcgi" aborted: idle timeout (30 sec) > > [Thu Mar 19 12:03:32 2015] [error] [] FastCGI: incomplete headers (0 bytes) > received from server "/var/www/s3gw.fcgi" > > > > I do not get any data to show in the radosgw logs, it is empty. I have turned > off FastCGIWrapper and set rgw print continue to false in ceph.conf. I am > using the version of FastCGI provided by the ceph repo. In this case you don't need to have 'rgw print continue' set to false; either remove that line, or set it to true. Yehuda > > > > Has anyone run into this before? Any suggestions? > > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com