[ceph-users] Re: S3 Bucket Notification requirement

2021-10-01 Thread Sanjeev Jha
Thanks very much Yuval for your confirmation. I have set the signature to v2 on the v1 aws-cli? [ansibleuser@ceprgw01 z_ejbg]$ python3 topic_with_endpoint.py mytopic {'TopicArn': 'arn:aws:sns:poc:app1:mytopic', 'ResponseMetadata': {'RequestId': '8b7fe743-ecc5-42b4-8e55-a3feb9dc0501.98885252.51',

[ceph-users] Re: S3 Bucket Notification requirement

2021-10-01 Thread Yuval Lifshitz
On Fri, Oct 1, 2021 at 11:20 AM Sanjeev Jha wrote: > Hi Yuval, > > Thanks, after using aws-cli v1, no signature related issue occurs. > However, I can still see the issue related to sns topic creation. > > [ansibleuser@ceprgw02 z_ejbg]$ aws --endpoint-url > http://objects.dev.xx.xx.xx:80 sns crea

[ceph-users] Re: S3 Bucket Notification requirement

2021-10-01 Thread Sanjeev Jha
Hi Yuval, Thanks, after using aws-cli v1, no signature related issue occurs. However, I can still see the issue related to sns topic creation. [ansibleuser@ceprgw02 z_ejbg]$ aws --endpoint-url http://objects.dev.xx.xx.xx:80 sns create-topic --name=mytopic --attributes='{"push-endpoint": "amqp

[ceph-users] Re: S3 Bucket Notification requirement

2021-09-29 Thread Yuval Lifshitz
aws-cli v2 do not support the old signature types. can you please install aws-cli v1 [1] and try with it? [1] https://docs.aws.amazon.com/cli/latest/userguide/install-linux.html On Mon, Sep 27, 2021 at 6:45 PM Sanjeev Jha wrote: > Hi Yuval, > > I have changed the sns signature version as sugges

[ceph-users] Re: S3 Bucket Notification requirement

2021-09-27 Thread Sanjeev Jha
Hi Yuval, I have changed the sns signature version as suggested.. I tried creating simple sns topic even without any attributes, but it does not seem to be working and getting below error: [ansibleuser@ceprgw01 ~]$ aws --profile test sns create-topic --region=poc --name=mytopic --endpoint-url

[ceph-users] Re: S3 Bucket Notification requirement

2021-09-26 Thread Yuval Lifshitz
Hi Sanjeev, You need to install our aws cli extensions. Please see the instructions here: https://github.com/ceph/ceph/blob/master/examples/boto3/README.md If you are using a version of ceph which is older than "pacific", you would also need to change the default SNS signer to use v2 instead of v4

[ceph-users] Re: S3 Bucket Notification requirement

2021-09-21 Thread Sanjeev Jha
Hi Yuval, I stuck on the first step where I am trying to create sns topic but not able to create it. I am not able to figure out the issue. AMQP server is ready, up and running with AMQP 0.9.1. [root@ceprgw01 ~]# aws --endpoint-url http://localhost:8000 sns create-topic --name=mytopic --attr

[ceph-users] Re: S3 Bucket Notification requirement

2021-08-20 Thread Sanjeev Jha
Hi Yuval, Thanks a lot for clarifying my doubts and great help indeed. I will follow the same recommendations to setup S3 bucket notifications. Best regards, Sanjeev From: Yuval Lifshitz Sent: Friday, August 20, 2021 3:40 PM To: Sanjeev Jha Cc: ceph-users@ceph

[ceph-users] Re: S3 Bucket Notification requirement

2021-08-20 Thread Yuval Lifshitz
On Thu, Aug 19, 2021 at 6:30 PM Sanjeev Jha wrote: > Hi Yuval, > > Thanks very much for your reply. > > I am using AMQP 0.9.1. > > Can I use aws sns create-topic command to create a topic in Ceph's RadosGW > ? > yes. note that you define the topic on the RGW, not the rabbitmq broker. e.g. aws --

[ceph-users] Re: S3 Bucket Notification requirement

2021-08-19 Thread Sanjeev Jha
Hi Yuval, Thanks very much for your reply. I am using AMQP 0.9.1. Can I use aws sns create-topic command to create a topic in Ceph's RadosGW ?,, If Yes then How and where to define notifications to associate with created topics? Basically, I want to understand the tasks needs to be defined in

[ceph-users] Re: S3 Bucket Notification requirement

2021-08-19 Thread Yuval Lifshitz
Hi Sanjeev, Welcome to the Ceph community! Which protocol do you intend to use in ActiveMQ? If you want to use AMQP1.0, you will have to wait, as this is still not officially supported [1]. Currently, we support AMQP0.9.1, Kafka, and HTTP. As for the more general question. To make bucket notifica