Re: what-does-nosuchkey-error-mean-while-subscribing-for-notification-in-ceph

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

 



the "Filter" tag is optional in the XML, so I don't think this is the issue.
Note that the bucket and topic have to exist when you create the
notification.

Can you try creating the notification using the AWS CLI tool instead of
CURL?
You can see examples here:
https://github.com/ceph/ceph/tree/master/examples/boto3

On Fri, Apr 16, 2021 at 12:12 PM Szabo, Istvan (Agoda) <
Istvan.Szabo@xxxxxxxxx> wrote:

> This one:
>
> <NotificationConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/
> ">
>     <TopicConfiguration>
> <Id>id1</Id>
>         <Topic>arn:aws:sns:data::testcephevent</Topic>
>     </TopicConfiguration>
> </NotificationConfiguration>
>
>
>
> Istvan Szabo
> Senior Infrastructure Engineer
> ---------------------------------------------------
> Agoda Services Co., Ltd.
> e: istvan.szabo@xxxxxxxxx<mailto:istvan.szabo@xxxxxxxxx>
> ---------------------------------------------------
>
> On 2021. Apr 16., at 14:58, David Caro <dcaro@xxxxxxxxxxxxx> wrote:
>
> 
> What does notif.xml have in it?
>
> Looking at the docs you linked, I say that it does not find the `S3Key`
> from that xml for whatever reason.
>
> On 04/16 06:54, Szabo, Istvan (Agoda) wrote:
> Hi,
>
>
> I am trying to follow this url
> https://docs.ceph.com/en/latest/radosgw/s3/bucketops/#create-notification
>
> to create a publisher for my bucket into a topic.
>
> My curl:
>
> curl -v -H 'Date: Fri, 16 Apr 2021 05:21:14 +0000' -H 'Authorization: AWS
> accessid:secretkey' -L -H 'content-type: text/xml' -H 'Content-MD5:
> pBRX39Oo7aAUYbilIYMoAw==' -T notif.xml
> http://ceph:8080/vig-test?notification
>
> and it returns me this error
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <Error>
>
>  <Code>NoSuchKey</Code>
>
>  <BucketName>vig-test</BucketName>
>
>  <RequestId>tx0000000000000016ac570-0060791ecb-1c7e96b-hkg</RequestId>
>
>  <HostId>1c7e96b-hkg-data</HostId>
>
> </Error>
>
>
> Does anybody know what does this error mean in Ceph? How can I proceed?
>
>
> Thank you
>
> ________________________________
> This message is confidential and is for the sole use of the intended
> recipient(s). It may also be privileged or otherwise protected by copyright
> or other legal rules. If you have received it by mistake please let us know
> by reply email and delete it from your system. It is prohibited to copy
> this message or disclose its content to anyone. Any confidentiality or
> privilege is not waived or lost by any mistaken delivery or unauthorized
> disclosure of the message. All messages sent to and from Agoda may be
> monitored to ensure compliance with company policies, to protect the
> company's interests and to remove potential malware. Electronic messages
> may be intercepted, amended, lost or deleted, or contain viruses.
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
>
> --
> David Caro
> SRE - Cloud Services
> Wikimedia Foundation <https://wikimediafoundation.org/>
> PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3
>
> "Imagine a world in which every single human being can freely share in the
> sum of all knowledge. That's our commitment."
> _______________________________________________
> 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