Re: Rados Gateway and Swift create containers/buckets that cannot be opened

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Great, I'll prepare it upstream.

Thanks,
Yehuda

On Thu, Oct 9, 2014 at 3:39 PM, Mark Kirkwood
<mark.kirkwood@xxxxxxxxxxxxxxx> wrote:
> That certainly fixes the issue for me. Removing the WSGIChunkedRequest On
> directive from my keystone config and restarting brought back the original
> error. Installing a new patched radosgw binary and restarting got back a
> working swift.
>
> Cheers
>
> Mark
>
>
> On 10/10/14 07:19, Yehuda Sadeh wrote:
>>
>> Here's the fix, let me know if you need any help with that.
>>
>> Thanks,
>> Yehuda
>>
>> diff --git a/src/rgw/rgw_swift.cc b/src/rgw/rgw_swift.cc
>> index d9654a7..2445e17 100644
>> --- a/src/rgw/rgw_swift.cc
>> +++ b/src/rgw/rgw_swift.cc
>> @@ -505,6 +505,8 @@ int RGWSwift::validate_keystone_token(RGWRados
>> *store, const string& token, stru
>>
>>       validate.append_header("X-Auth-Token", admin_token);
>>
>> +    validate.set_send_length(0);
>> +
>>       int ret = validate.process(url.c_str());
>>       if (ret < 0)
>>         return ret;
>>
>>
>>
>> On Thu, Oct 9, 2014 at 10:30 AM, M Ranga Swami Reddy
>> <swamireddy@xxxxxxxxx> wrote:
>>>
>>> Hi Yehuda,
>>> Please share the fix/patch, we could test and confirm the fix status.
>>>
>>> Thanks
>>> Swami
>>>
>>> On Thu, Oct 9, 2014 at 10:42 PM, Yehuda Sadeh <yehuda@xxxxxxxxxx> wrote:
>>>>
>>>> I have a trivial fix for the issue that I'd like to check and get this
>>>> one cleared, but never got to it due to some difficulties with a
>>>> proper keystone setup in my environment. If you can and would like to
>>>> test it so that we could get it merged it would be great.
>>>>
>>>> Thanks,
>>>> Yehuda
>>>>
>>>> On Wed, Oct 8, 2014 at 6:18 PM, Mark Kirkwood
>>>> <mark.kirkwood@xxxxxxxxxxxxxxx> wrote:
>>>>>
>>>>> Yes. I ran into that as well - I used
>>>>>
>>>>> WSGIChunkedRequest On
>>>>>
>>>>> in the virtualhost config for the *keystone* server [1] as indicated in
>>>>> issue 7796.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Mark
>>>>>
>>>>> [1] i.e, not the rgw.
>>>>>
>>>>> On 08/10/14 22:58, Ashish Chandra wrote:
>>>>>>
>>>>>>
>>>>>> Hi Mark,
>>>>>> Good you got the solution. But since you have already done
>>>>>> authenticating RadosGW with Keystone, I am having one issue that you
>>>>>> can
>>>>>> help with. For me I get an error "411 Length Required" with Keystone
>>>>>> token authentication.
>>>>>> To fix this I use "WSGIChunkedRequest On" in rgw.conf as mentioned in
>>>>>> http://tracker.ceph.com/issues/7796.
>>>>>>
>>>>>> Did you face the issue, if yes what was your solution.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>
>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux