Hey Arne,
Could you send me your RGW logs and your Apache RGW configuration?
Caleb
--
Developer, inktank
On Apr 11, 2013 8:53 AM, "Arne Wiebalck" <Arne.Wiebalck@xxxxxxx> wrote:
Hi,We see a reproducible "Internal Server Error" when doing something like-->#!/usr/bin/env pythonimport botoimport boto.s3.connectionaccess_key = '...'secret_key = '...'conn = boto.connect_s3(aws_access_key_id = access_key,aws_secret_access_key = secret_key,host = '....cern.ch',#is_secure=False, # uncommmnt if you are not using sslcalling_format = boto.s3.connection.OrdinaryCallingFormat(),)bucket = conn.create_bucket('bucketXXX')key = bucket.new_key('fileXXX.txt')key.set_contents_from_string('XXX content!')<--I can see that the script is actually achieving what it's meant to do, i.e. create the bucket,create the file and add content, but then it fails at "set_contents_from_string":-->Traceback (most recent call last):File "./ceph-s3.py", line 18, in <module>key.set_contents_from_string('XXX content!')File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 539, in set_contents_from_stringself.set_contents_from_file(fp, headers, replace, cb, num_cb, policy)File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 455, in set_contents_from_fileself.send_file(fp, headers, cb, num_cb)File "/usr/lib/python2.6/site-packages/boto/s3/key.py", line 367, in send_fileself.name, headers, sender=sender)File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 342, in make_requestdata, host, auth_path, sender)File "/usr/lib/python2.6/site-packages/boto/connection.py", line 459, in make_requestreturn self._mexe(method, path, data, headers, host, sender)File "/usr/lib/python2.6/site-packages/boto/connection.py", line 435, in _mexeraise BotoServerError(response.status, response.reason, body)boto.exception.BotoServerError: BotoServerError: 500 Internal Server Error<--This is Apache 2.2.15 on a RHEL6.4 derivative, ceph 0.56.4.Any ideas?I got logging enabled on the gateway, in case this is not an obvious problem.TIA,Arne--Arne Wiebalck
CERN IT
_______________________________________________
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