I opened issue #5261, and pushed a fix (on top of next) to wip-5261.
This will need to be cherry-picked into cuttlefish.
I also created a basic test in our functional s3 tests (which will
probably need to be extended more).
Thanks,
Yehuda
On Thu, Jun 6, 2013 at 9:49 AM, Mike Bryant wrote:
> Yes,
Yes, that change lets me get and set cors policies as I would expect.
Thanks,
Mike
On 6 June 2013 17:45, Yehuda Sadeh wrote:
> Looking at it, it fails in a much basic level than I expected. My
> guess off the cuff is that the 'cors' sub-resource needs to be part of
> the canonicalized header, wh
Looking at it, it fails in a much basic level than I expected. My
guess off the cuff is that the 'cors' sub-resource needs to be part of
the canonicalized header, whereas we probably assume that it doesn't
(it doesn't appear on the Amazon list of sub-resources in the S3 auth
docs). Just for the sak
I did, and I do. (Well, having just tried it again under debug mode)
http://pastebin.com/sRHWR6Rh
On 6 June 2013 16:15, Yehuda Sadeh wrote:
> I guess you run set_cors() with a config object? Do you have the rgw
> logs for that operation?
>
>
> On Thu, Jun 6, 2013 at 8:02 AM, Mike Bryant wrote:
>
I guess you run set_cors() with a config object? Do you have the rgw
logs for that operation?
On Thu, Jun 6, 2013 at 8:02 AM, Mike Bryant wrote:
>
> No, I'm using the same user.
> I have in fact tried it as close as possible to the actual creation,
> to be sure I'm using the same credentials.
>
No, I'm using the same user.
I have in fact tried it as close as possible to the actual creation,
to be sure I'm using the same credentials.
i.e. using boto, bucket = boto.create_bucket(...), followed by,
bucket.set_cors().
Mike
On 6 June 2013 15:51, Yehuda Sadeh wrote:
> Are you trying to set t
Are you trying to set the CORS header using a user other than the user
who created the bucket?
Yehuda
On Wed, Jun 5, 2013 at 8:25 AM, Mike Bryant wrote:
> Hi,
> I'm having trouble setting a CORS policy on a bucket.
> Using the boto python library, I can create a bucket and so on, but
> when I tr
Hi,
I'm having trouble setting a CORS policy on a bucket.
Using the boto python library, I can create a bucket and so on, but
when I try to get or set the CORS policy radosgw responds with a 403:
AccessDenied
Would anyone be able to help me with where I'm going wrong?
(This is radosgw 0.61, so it