Bug 1933677 - notifications: setting "persistent=false" creates a persistent topic
Summary: notifications: setting "persistent=false" creates a persistent topic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 5.0
Assignee: Yuval Lifshitz
QA Contact: Tejas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-01 12:29 UTC by Yuval Lifshitz
Modified: 2021-08-30 08:29 UTC (History)
8 users (show)

Fixed In Version: ceph-16.2.0-95.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:28:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 49552 0 None None None 2021-03-01 12:29:31 UTC
Red Hat Issue Tracker RHCEPH-112 0 None None None 2021-08-30 00:15:16 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:29:01 UTC

Description Yuval Lifshitz 2021-03-01 12:29:31 UTC
Description of problem:
setting "persistent=false" creates a persistent topic

Version-Release number of selected component (if applicable):
ceph version 14.2.11-124.el8cp (28a642a0bcdc25cc871fe809eca67bdcb16cd10a) nautilus (stable)

Steps to Reproduce:
aws --endpoint-url http://localhost:8000 sns create-topic --name=cowtopic --attributes='{"push-endpoint": "kafka://10.8.130.218:9092", "persistent": "false"}'

Actual results:
topic "cowtopic" is persistent

Expected results:
topic "cowtopic" is not persistent

Additional info:
when "persistent" is ommitted, a non-persistent topic is created:
aws --endpoint-url http://localhost:8000 sns create-topic --name=cowtopic --attributes='{"push-endpoint": "kafka://10.8.130.218:9092"}'

Comment 1 RHEL Program Management 2021-03-01 12:29:35 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 2 Yuval Lifshitz 2021-03-09 13:52:00 UTC
this was fixed by the following commit:

commit 4864ddb958940a2f6a4f9598630cd553f1eea4b9
Author: Yuval Lifshitz <ylifshit>
Date:   Tue Mar 2 13:41:08 2021 +0200

    rgw/notification: fixing the "persistent=false" flag
    
    when setting "persistent=false" a non persistent
    topic should be created
    
    Fixes: https://tracker.ceph.com/issues/49552
    
    Signed-off-by: Yuval Lifshitz <ylifshit>
    (cherry picked from commit 9975472244ad054cb48c283a48ba6156e26dddde)
    
    above commit was cherry picked from: https://github.com/yuvalif/ceph.git

Comment 3 Yuval Lifshitz 2021-07-04 13:32:01 UTC
merged to ceph-5.0-rhel-patches:

commit 3b7db90bd6580daee8ac8bfbde30364dbfcdeec5
Author: Yuval Lifshitz <ylifshit>
Date:   Tue Mar 2 13:41:08 2021 +0200

    rgw/notification: fixing the "persistent=false" flag
    
    when setting "persistent=false" a non persistent
    topic should be created
    
    Fixes: https://tracker.ceph.com/issues/49552
    
    Signed-off-by: Yuval Lifshitz <ylifshit>
    (cherry picked from commit 9975472244ad054cb48c283a48ba6156e26dddde)
    
    Resolves: rhbz#1933677

Comment 10 errata-xmlrpc 2021-08-30 08:28:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:3294


Note You need to log in before you can comment on or make changes to this bug.