Hi!
I'm trying to get s3website working on one of our Rados Gateway installations,
and I'm having some problems finding out what needs to be done for this to
work. It looks like this is a halfway secret feature, as I can only find it
briefly mentioned in the release notes for v10.0.4 - and nowhere in the
documentation - so I've tried to wrap my head around this by looking through
the source code without much luck.
My cluster is running Jewel 10.2.3, and I've tried to enable the s3website API
specifically on the RGW-server. (But looking at the source code, it should be
enabled by default)
Using s3cmd --debug ws-create s3://acme.example.org, I get served with 405
Method Not Allowed
DEBUG: Sending request method_string='PUT', uri='/?website',
headers={'x-amz-content-sha256':
'3fcf37205b114f03a910d11d74206358f1681381f0f9498b25aa1cc65e168937',
'Authorization': 'AWS4-HMAC-SHA256
Credential=V4NZ37SLP3VOPR2BI5UW/20161026/US/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date,Signature=4cbd6a7c26dc149fc8fb352dae2d42c27e9bdc254cecc467802941cfc0e200a2',
'x-amz-date': '20161026T094022Z'}, body=(159 bytes)
DEBUG: Response: {'status': 405, 'headers': {'content-length': '195',
'accept-ranges': 'bytes', 'server': 'Apache/2.4.6 (CentOS)
OpenSSL/1.0.1e-fips', 'connection': 'close', 'x-amz-request-id':
'tx000000000000000000003-0058107a06-20d3274-default', 'date': 'Wed, 26 Oct 2016
09:40:22 GMT', 'content-type': 'application/xml'}, 'reason': 'Method Not
Allowed', 'data': '<?xml version="1.0"
encoding="UTF-8"?><Error><Code>MethodNotAllowed</Code><RequestId>tx000000000000000000003-0058107a06-20d3274-default</RequestId><HostId>20d3274-default-default</HostId></Error>'}
Has anyone have had any luck with this?
Regards
--
Trygve Vea
Redpill Linpro AS
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com