Bug #4957
400 Bad Request after bucket rm ... on radosgw-admin test
% Done:
100%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
nIRU3feqUBFklrrDSNdVDQ== application/octet-stream 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 <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidBucketName</Code></Error>
job wsa
ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2013-05-08_01:00:07-rados-master-testing-basic/8631$ cat orig.config.yaml kernel: kdb: true sha1: b5b09be30cf99f9c699e825629f02e3bce555d44 machine_type: plana nuke-on-error: true overrides: ceph: conf: global: ms inject socket failures: 5000 mon: debug mon: 20 debug ms: 20 debug paxos: 20 osd: osd op thread timeout: 60 fs: btrfs log-whitelist: - slow request sha1: f0c0997cb86b20fbc2613102fc58de7d64b861f4 s3tests: branch: master workunit: sha1: f0c0997cb86b20fbc2613102fc58de7d64b861f4 roles: - - mon.a - mds.a - osd.0 - client.0 - osd.1 tasks: - chef: null - clock.check: null - install: null - ceph: conf: client: debug ms: 1 rgw gc obj min wait: 15 osd: debug ms: 1 debug objclass: 20 - rgw: client.0: null - radosgw-admin: null
Subtasks
History
#1 Updated by Sage Weil almost 11 years ago
also ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2013-05-08_01:00:07-rados-master-testing-basic/8632
#2 Updated by Yehuda Sadeh almost 11 years ago
The test fails with bucket that starts with underscore. Not sure why we should allow that. In any case, there's a configurable (rgw_relaxed_s3_bucket_names) that is supposed to allow that, so we should try that first.
#3 Updated by Anonymous almost 11 years ago
- Assignee set to Yehuda Sadeh
#4 Updated by Anonymous almost 11 years ago
Made this urgent because I want to start driving us towards zero-tolerance for nightly failures. If the problem is in the test, let's fix it.
#5 Updated by Sage Weil almost 11 years ago
- Status changed from New to Resolved
commit:1b0f241dcb7f4a03c3c5095464e740e5dd75831a in teuthology.git reverts the bad test.