Bug #4958
closedBug #4957: 400 Bad Request after bucket rm ... on radosgw-admin test
rgw test failing when trying to delete a bucket
0%
Description
logs - ubuntu@teuthology:/a/teuthology-2013-05-08_01:00:07-rados-master-testing-basic/8631
This is the error, we are seeing in the nightlies.
Wed, 08 May 2013 08:10:54 GMT
/myfoo/9c8454ddf7aa50116496bac348d7550d
2013-05-08T01:10:54.675 INFO:teuthology.task.radosgw-admin:radosgw-admin: ['bucket', 'rm', '--bucket', 'myfoo', '--purge-objects']
2013-05-08T01:10:54.675 DEBUG:teuthology.misc:with jobid basedir: 8631
2013-05-08T01:10:54.675 DEBUG:teuthology.orchestra.run:Running [10.214.131.12]: '/home/ubuntu/cephtest/8631/enable-coredump ceph-coverage /home/ubuntu/cephtest/8631/archive/coverage radosgw-admin --log-to-stderr --format json bucket rm --bucket myfoo --purge-objects'
2013-05-08T01:10:55.256 DEBUG:boto:path=/_myfoo/
2013-05-08T01:10:55.256 DEBUG:boto:auth_path=/_myfoo/
2013-05-08T01:10:55.256 DEBUG:boto:Method: PUT
2013-05-08T01:10:55.256 DEBUG:boto:Path: /_myfoo/
2013-05-08T01:10:55.257 DEBUG:boto:Data:
2013-05-08T01:10:55.257 DEBUG:boto:Headers: {}
2013-05-08T01:10:55.257 DEBUG:boto:Host: plana28.front.sepia.ceph.com:7280
2013-05-08T01:10:55.257 DEBUG:boto:Token: None
2013-05-08T01:10:55.258 DEBUG:boto:StringToSign:
PUT
Wed, 08 May 2013 08:10:55 GMT
/_myfoo/
2013-05-08T01:10:55.261 ERROR:teuthology.run_tasks:Saw exception from tasks
Traceback (most recent call last):
File "/var/lib/teuthworker/teuthology-master/teuthology/run_tasks.py", line 25, in run_tasks
manager = _run_one_task(taskname, ctx=ctx, config=config)
File "/var/lib/teuthworker/teuthology-master/teuthology/run_tasks.py", line 14, in _run_one_task
return fn(*kwargs)
File "/var/lib/teuthworker/teuthology-master/teuthology/task/radosgw-admin.py", line 563, in task
underscore_bucket = connection.create_bucket(underscore_bucket_name)
File "/var/lib/teuthworker/teuthology-master/virtualenv/local/lib/python2.7/site-packages/boto/s3/connection.py", line 463, in create_bucket
response.status, response.reason, body)
S3ResponseError: S3ResponseError: 400 Bad Request
<Error><Code>InvalidBucketName</Code></Error>
2013-05-08T01:10:55.306 DEBUG:teuthology.run_tasks:Unwinding manager <contextlib.GeneratorContextManager object at 0x1868c10>
2013-05-08T01:10:55.306 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
File "/var/lib/teuthworker/teuthology-master/teuthology/contextutil.py", line 27, in nested
yield vars
File "/var/lib/teuthworker/teuthology-master/teuthology/task/rgw.py", line 255, in task
yield
File "/var/lib/teuthworker/teuthology-master/teuthology/run_tasks.py", line 25, in run_tasks
manager = _run_one_task(taskname, ctx=ctx, config=config)
File "/var/lib/teuthworker/teuthology-master/teuthology/run_tasks.py", line 14, in _run_one_task
return fn(*kwargs)
File "/var/lib/teuthworker/teuthology-master/teuthology/task/radosgw-admin.py", line 563, in task
underscore_bucket = connection.create_bucket(underscore_bucket_name)
File "/var/lib/teuthworker/teuthology-master/virtualenv/local/lib/python2.7/site-packages/boto/s3/connection.py", line 463, in create_bucket
response.status, response.reason, body)
S3ResponseError: S3ResponseError: 400 Bad Request
<Error><Code>InvalidBucketName</Code></Error>