Bug #5302
closedrest-bench breaks with XmlParseFailure
0%
Description
This was reported on the mailing list when trying to run rest-bench:
"ERROR: failed to create bucket: XmlParseFailure -failed initializing benchmark"
and was reported on IRC a while back as well:
[18:10] <tziOm> ERROR: failed to create bucket: XmlParseFailure [18:10] <tziOm> failed initializing benchmark [18:13] <tziOm> FastCGI: comm with server "/var/www/s3gw.fcgi" aborted: error parsing headers: duplicate header 'Status'
Updated by Yehuda Sadeh almost 11 years ago
what fastcgi module is being used here? Maybe try:
rgw print continue = false
int your ceph.conf.
Updated by Sage Weil almost 11 years ago
- Project changed from Ceph to rgw
- Category deleted (
22)
Updated by Sage Weil over 10 years ago
- Status changed from New to Can't reproduce
Updated by Italo Santos about 9 years ago
I'm using RGW on a debian (whezzy) and I'm facing with the same issue when I try to use the rest-bench tool:
root@rgw:~# rest-bench --api-host=hostname --access-key=GRVQON8QLYU1US6W60WO --secret=BFdapLcvYzdljNNZXbHZfrv75A1GwGdPmCCHQQtH --bucket=bench write
host=hostname
ERROR: failed to create bucket: XmlParseFailure
failed initializing benchmark
My ceph.conf is:
[client.radosgw.gateway]
host = cephgw0001
keyring = /etc/ceph/ceph.client.radosgw.keyring
rgw socket path = /var/run/ceph/ceph.radosgw.cephgw0001.fastcgi.sock
log file = /var/log/radosgw/client.radosgw.cephgw0001.log
rgw dns name = object-storage.locaweb.com.br
rgw enable apis = s3, admin
debug rgw = 30
rgw enable usage log = true
rgw usage log tick interval = 30
rgw usage log flush threshold = 1024
rgw usage max shards = 32
rgw usage max user shards = 1
Updated by Yehuda Sadeh about 9 years ago
It fails to create a bucket. What does your apache (or whichever web server you're using) access log say?
Updated by Italo Santos about 9 years ago
That is the access.log show me the message bellow, which was a misconfigured apache rgw.conf.
X.X.X.X - - [25/Feb/2015:14:36:38 0300] "GET /" 400 490 "" "-"
After figured the apache configuration I still getting error when I try to use HTTPS protocol:
root@rgw:~# rest-bench --api-host=hostname --access-key=access_key --secret=secret_key --bucket=bench --uri_style=vhost --protocol=https write
host=hostname
bad protocol