Re: Don't know how to use S3 notification

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

 



 I am using 13.2.6

Jakub

Quoting Yuval Lifshitz <ylifshit@xxxxxxxxxx>:

which ceph version are you using?
note that topic creation methods got broken in v14.2.8 (working in v14.2.7).
    
   Yuval
    

     On Tue, Mar 17, 2020 at 9:25 AM <jsobczak@xxxxxxxxxxxxx> wrote:

Hello, I try to set up s3 http notifications but cant seem to figure it out.

I tried with python boto3 like this:

bucket_notification = s3.BucketNotification('wiaderko0')
response = bucket_notification.put(
     NotificationConfiguration={
         'TopicConfigurations': [
             {

                 'TopicArn': 'Kuba',
                 'Events': [
                     's3:ObjectCreated:*'
                 ]

             }
         ]

     }
)

But get the following error:
botocore.exceptions.ClientError: An error occurred (InvalidArgument) 
when calling the PutBucketNotificationConfiguration operation: Unknown

I also tried using RGW REST api like with POST like this:

http://172.16.97.1:7480/?Action=CreateTopic&Name=test&push-endpoint=http://127.0.0.1:8080

But got error like this:

<?xml version="1.0" encoding="UTF-8"?>
<Error>
     <Code>MethodNotAllowed</Code>
     <RequestId>tx0000000000000000d1e89-005e707912-11e4-default</RequestId>
     <HostId>11e4-default-default</HostId>
</Error>

Could any one offer some advice about it. I would appreciate some 
guide to setting it up as documentation is pretty unclear.
_______________________________________________
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