missing amqp-exchange on bucket-notification with AMQP endpoint

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

 



Hello List,

I'm trying to create a (S3-)bucket-notification into RabbitMQ via
AMQP - on Ceph v15.2.1 octopus, using the official .deb packages on Debian Buster.


I've created the following topic (directly via S3, not via pubsub REST API):

<ListTopicsResponse xmlns="https://sns.amazonaws.com/doc/2010-03-31/";>
    <ListTopicsResult>
        <Topics>
            <member>
                <User>testuser</User>
                <Name>testtopic</Name>
                <EndPoint>
                    <EndpointAddress>amqp://rabbitmquser:rabbitmqpass@xxxxxxxxxxxxxxxxxxxx:5672</EndpointAddress>                     <EndpointArgs>Attributes.entry.1.key=amqp-exchange&amp;Attributes.entry.1.value=amqp.direct&amp;push-endpoint=amqp://rabbitmquser:rabbitmqpass@xxxxxxxxxxxxxxxxxxxx:5672</EndpointArgs>
                    <EndpointTopic>testtopic</EndpointTopic>
                </EndPoint>
                <TopicArn>arn:aws:sns:de::testtopic</TopicArn>
                <OpaqueData></OpaqueData>
            </member>
        </Topics>
    </ListTopicsResult>
...
</ListTopicsResponse>

Then I've created the following bucket-notification

<NotificationConfiguration>
    <TopicConfiguration>
        <Id>notify-psapp</Id>
        <Topic>arn:aws:sns:de::testtopic</Topic>
        <Event>s3:ObjectCreated:*</Event>
        <Event>s3:ObjectRemoved:*</Event>
    </TopicConfiguration>
</NotificationConfiguration>


When I upload a file into the bucket, the event itself seems to get fired, but radosgw keeps tell me that cmqp-exchange is not set

2020-04-20T12:24:29.935+0200 7ff01c5d3700  1 ====== starting new
      request req=0x7ff01c5cad50 =====

      2020-04-20T12:24:30.019+0200 7ff01c5d3700  1 ERROR: failed to
      create push endpoint:
      amqp://rabbitmquser:rabbitmqpass@xxxxxxxxxxxxxxxxxxxx:5672  due to:
      pubsub endpoint configuration error: AMQP: missing amqp-exchange


But it's there in the EndpointArgs, right?
Or do I miss it somewhere else?

Best Regards,
Andreas
_______________________________________________
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