Project

General

Profile

Actions

Bug #983

closed

radosgw hangs, gives 500 internal server

Added by Anonymous about 13 years ago. Updated over 6 years ago.

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 #1

Updated by Sage Weil about 13 years ago

  • Target version set to v0.28
Actions #2

Updated by Colin McCabe about 13 years ago

I reproduced this. I'm still trying to figure out why this happened. Best guess so far is a timeout on the Rados end caused Apache to time out the process.

Actions #3

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_position set to 5
Actions #4

Updated by Yehuda Sadeh about 13 years ago

  • Status changed from New to Resolved

Fixed, commit:5c06fc1c8b4e983acd7f01f7b908ba8f357621b2.

Actions #5

Updated by Sage Weil about 13 years ago

  • Target version changed from v0.28 to v0.27
Actions #6

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_story_points set to 0
  • Translation missing: en.field_position deleted (11)
  • Translation missing: en.field_position set to 4
Actions #7

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_story_points changed from 0 to 1
  • Translation missing: en.field_position deleted (4)
  • Translation missing: en.field_position set to 4
Actions #8

Updated by John Spray over 6 years ago

  • Project changed from Ceph to rgw
  • Category deleted (22)
  • Target version deleted (v0.27)

Bulk reassign of radosgw category to RGW project.

Actions

Also available in: Atom PDF