Actions
Bug #983
closedradosgw hangs, gives 500 internal server
Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
def test_bucket_create_naming_bad_short_empty(): # bucket creates where name is empty look like PUTs to the parent # resource (with slash), hence their error response is different e = assert_raises(boto.exception.S3ResponseError, s3.main.create_bucket, '') eq(e.status, 405) eq(e.reason, 'Method Not Allowed') eq(e.error_code, 'MethodNotAllowed')
$ S3TEST_CONF=tv.conf ./virtualenv/bin/nosetests test_s3:test_bucket_create_naming_bad_short_empty E ====================================================================== ERROR: test_s3.test_bucket_create_naming_bad_short_empty ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tv/src/s3-tests.git/virtualenv/lib/python2.6/site-packages/nose/case.py", line 187, in runTest self.test(*self.arg) File "/home/tv/src/s3-tests.git/test_s3.py", line 255, in test_bucket_create_naming_bad_short_empty e = assert_raises(boto.exception.S3ResponseError, s3.main.create_bucket, '') File "/home/tv/src/s3-tests.git/utils.py", line 6, in assert_raises callableObj(*args, **kwargs) File "/home/tv/src/s3-tests.git/virtualenv/lib/python2.6/site-packages/boto/s3/connection.py", line 364, in create_bucket data=data) File "/home/tv/src/s3-tests.git/virtualenv/lib/python2.6/site-packages/boto/s3/connection.py", line 400, in make_request override_num_retries=override_num_retries) File "/home/tv/src/s3-tests.git/virtualenv/lib/python2.6/site-packages/boto/connection.py", line 536, in make_request override_num_retries) File "/home/tv/src/s3-tests.git/virtualenv/lib/python2.6/site-packages/boto/connection.py", line 527, in _send_http_request http_request.host, sender, override_num_retries) File "/home/tv/src/s3-tests.git/virtualenv/lib/python2.6/site-packages/boto/connection.py", line 480, in _mexe raise BotoServerError(response.status, response.reason, body) BotoServerError: BotoServerError: 500 Internal Server Error <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> </body></html> -------------------- >> begin captured stdout << --------------------- Warning: failed to parse error message from AWS: <unknown>:1:49: syntax error --------------------- >> end captured stdout << ---------------------- -------------------- >> begin captured logging << -------------------- boto: DEBUG: path=/ boto: DEBUG: auth_path=/ boto: DEBUG: Canonical: GET Tue, 05 Apr 2011 17:24:39 GMT / boto: DEBUG: Method: GET boto: DEBUG: Path: / boto: DEBUG: Data: boto: DEBUG: Headers: {'Date': 'Tue, 05 Apr 2011 17:24:39 GMT', 'Content-Length': '0', 'Authorization': 'AWS TKKZ1DX83O7ZCTWHE0YD:RGT9J1KVcLJMqtYLiwcCujJIl50=', 'User-Agent': 'Boto/2.0b4 (linux2)'} boto: DEBUG: Host: localhost:7280 boto: DEBUG: establishing HTTP connection boto: DEBUG: path=/ boto: DEBUG: auth_path=/ boto: DEBUG: Canonical: GET Tue, 05 Apr 2011 17:24:39 GMT / boto: DEBUG: Method: GET boto: DEBUG: Path: / boto: DEBUG: Data: boto: DEBUG: Headers: {'Date': 'Tue, 05 Apr 2011 17:24:39 GMT', 'Content-Length': '0', 'Authorization': 'AWS O54XVCC9MQ9Q72TWP5Y1:y3j99imZrsUeAFmy9owG7xbc4BE=', 'User-Agent': 'Boto/2.0b4 (linux2)'} boto: DEBUG: Host: localhost:7280 boto: DEBUG: establishing HTTP connection boto: DEBUG: path=/ boto: DEBUG: auth_path=/ boto: DEBUG: Canonical: PUT Tue, 05 Apr 2011 17:24:39 GMT / boto: DEBUG: Method: PUT boto: DEBUG: Path: / boto: DEBUG: Data: boto: DEBUG: Headers: {'Date': 'Tue, 05 Apr 2011 17:24:39 GMT', 'Content-Length': '0', 'Authorization': 'AWS O54XVCC9MQ9Q72TWP5Y1:51d5nKOLHmef9S4JUsReea4RcPQ=', 'User-Agent': 'Boto/2.0b4 (linux2)'} boto: DEBUG: Host: localhost:7280 boto: DEBUG: received 500 response, retrying in 1 seconds boto: DEBUG: received 500 response, retrying in 2 seconds boto: DEBUG: received 500 response, retrying in 4 seconds boto: DEBUG: received 500 response, retrying in 8 seconds boto: DEBUG: received 500 response, retrying in 16 seconds boto: DEBUG: received 500 response, retrying in 32 seconds --------------------- >> end captured logging << --------------------- ---------------------------------------------------------------------- Ran 1 test in 64.120s FAILED (errors=1)
Actions