Hi Drew,
Judging by the "PUT /" in the request line, this request is using the
virtual hosted bucket format [1]. This means the bucket name is part of
the dns name and Host header, rather than in the path of the http
request. Making this work in radosgw takes a little extra configuration
[2]. If you prefer not to mess with dns, you can tell the SDK to
'use_path_style_endpoint' instead [3].
Hope that helps,
Casey
[1] https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html
[2]
http://docs.ceph.com/docs/nautilus/radosgw/s3/commons/#bucket-and-host-name
[3]
https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.S3.S3Client.html
On 6/14/19 11:49 AM, Drew Weaver wrote:
Hello,
I am using the latest AWS PHP SDK to create a bucket.
Every time I attempt to do this in the log I see:
2019-06-14 11:42:53.092 7fdff5459700 1 civetweb: 0x55c5450249d8:
redacted - - [14/Jun/2019:11:42:53 -0400] "PUT / HTTP/1.1" 405 405 -
aws-sdk-php/3.100.3 GuzzleHttp/6.3.3 curl/7.29.0 PHP/7.2.18
Do I need to somehow give this user or her key the capability to
create/delete their own buckets?
Thanks,
-Drew
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com