Re: Create and listing topics with AWS4 fails

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

 



Dear Daniel and community,
The issue was fixed on master: https://github.com/ceph/ceph/pull/42012
(not yet in pacific)

Yuval

On Wed, Jun 23, 2021 at 11:58 AM Daniel Iwan <iwan.daniel@xxxxxxxxx> wrote:

> Hi Yuval
>
> Thank you very much for the link
> This gave me some useful info from
> https://github.com/ceph/ceph/tree/master/examples/boto3#aws-cli
>
> Regards
> Daniel
>
>
> On Tue, 22 Jun 2021 at 18:34, Yuval Lifshitz <ylifshit@xxxxxxxxxx> wrote:
>
>> Hi Daniel,
>> You are correct, currently, only v2 auth is supported for topic
>> management.
>> (tracked here: https://tracker.ceph.com/issues/50039)
>> It should be fixed soon but may take some time before it is backported to
>> Pacific (will keep the list posted).
>>
>> Best Regards,
>>
>> Yuval
>>
>>
>> On Tue, Jun 22, 2021 at 7:18 PM Daniel Iwan <iwan.daniel@xxxxxxxxx>
>> wrote:
>>
>>> Hi
>>>
>>> I'm on Pacific 16.2.1
>>> Documentation states that topic operations should be created using
>>> REST with application/x-www-form-urlencoded
>>>
>>> See
>>> https://docs.ceph.com/en/latest/radosgw/notifications/#topics
>>>
>>> However when attempting to create one using Postman (auth v4) operation
>>> fails.
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <Error>
>>>     <Code>NotImplemented</Code>
>>>     <RequestId>tx00000000000000000004e-0060d207d0-df5c88-abcf</RequestId>
>>>     <HostId>df5c88-abc-default</HostId>
>>> </Error>.
>>>
>>> The same error is for listing topics. See log attached
>>>
>>> I think similar issues were reported on the threads
>>>
>>>    -
>>>
>>> https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/thread/23BZW2Q3TCUNLBTP7V4YYIFZF4XHNLOP/#GNN6LEFG42XHJBHDF3MYQFIX4REBNROO
>>>    -
>>>
>>> https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/thread/WMKEYKTE5NH5JCDXP6GG2D3YD2O6NKBD/#3JED6JENSR2F7TB3EOBVOPXJOUHQQP3X
>>>    -
>>>
>>> https://lists.ceph.io/hyperkitty/list/ceph-users@xxxxxxx/thread/2G4YWOUMVE2CTJFLJWPLQY4VRUBJHD3F/#7XUF3IS5DUQZWCFAKCQAKEJTW2OS2RP6
>>>
>>>
>>> I think the handling procedure is in
>>> https://github.com/ceph/ceph/blob/master/src/rgw/rgw_rest_s3.cc
>>>  get_auth_data_v4()which does not have RGW_OP_PUBSUB_TOPIC_CREATE or
>>> similar topic-related operations.
>>> If that's the case this makes it more difficult to integrate those
>>> operations as majority of the sw uses AWSV4 authentication
>>>
>>> Can anyone confirm if the doc is wrong, auth V3 needs to be used etc?
>>> Is there a tracking issue for this already?
>>>
>>> Regards
>>> Daniel
>>> _______________________________________________
>>> ceph-users mailing list -- ceph-users@xxxxxxx
>>> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>>>
>>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



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


  Powered by Linux