Bug 2355272 - [rgw][topic]: on an upgraded environment from 7.1 to 8.0, radosgw-admin topic list outputs with added key "result"
Summary: [rgw][topic]: on an upgraded environment from 7.1 to 8.0, radosgw-admin topic...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RGW
Version: 8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 8.1
Assignee: Yuval Lifshitz
QA Contact: sohan singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 09:05 UTC by sohan singh
Modified: 2025-04-07 18:36 UTC (History)
4 users (show)

Fixed In Version: ceph-19.2.1-81.el9cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2313281 0 unspecified CLOSED [rgw][topic]: on an upgraded environment from 7.1 to 8.0, radosgw-admin topic list outputs 'n' topics 'n' number of time... 2025-04-07 15:27:11 UTC
Red Hat Issue Tracker RHCEPH-10978 0 None None None 2025-03-27 09:05:41 UTC

Description sohan singh 2025-03-27 09:05:10 UTC
Description of problem:

This BZ is creatied to track the regression of https://bugzilla.redhat.com/show_bug.cgi?id=2313281


DETAILS

1. On upgraded Cluster from rhcs7.1(ceph version 18.2.1-229.el9cp) TO  ceph version 8.0z3 (19.2.0-114.el9cp)

"result" key got added as part of the topic list output 


{
    "result": {
        "topics": [
            {

By Default notification_v2 is Disabled after the UPGRADE(expected)

2. After Enabling notification_v2 via command (radosgw-admin zonegroup modify --enable-feature notification_v2)
 Observed that the topic list output doesn't contain the "result:" key.

And the topic list out is just as expected . 

3. Again, Disabling the notification_v2 as a further step via command(radosgw-admin zonegroup modify --disable-feature notification_v2), Observed  the Empty response from the topic list output 

[ceph: root@ceph-sohan-test-18mar-vr4awu-node1-installer /]# radosgw-admin topic list
{
    "result": {
        "topics": []
    }
}



Environment Details: 
[ceph: root@ceph-sohan-test-18mar-vr4awu-node1-installer /]# ceph orch host ls
HOST                                          ADDR         LABELS                        STATUS
ceph-sohan-test-18mar-vr4awu-node1-installer  10.0.64.225  _admin,osd,mgr,installer,mon
ceph-sohan-test-18mar-vr4awu-node2            10.0.67.3    mgr,osd,mon
ceph-sohan-test-18mar-vr4awu-node3            10.0.66.82   osd,mon
ceph-sohan-test-18mar-vr4awu-node4            10.0.67.142  rgw,osd,client
4 hosts in cluster


Kindly please share your insights on this behaviour.



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.deploy rhcs7.1(ceph version 18.2.1-229.el9cp) cluster with rgw daemons
2.create sns topics
3.execute radosgw-admin topic list. the output is valid on 7.1
3.upgrade the cluster to 8.0(ceph version 19.1.1-42.el9cp)
4.execute radosgw-admin topic list again with Enabling notification_v2 and Disabling notification_v2



Actual results:

[ceph: root@ceph-sohan-test-18mar-vr4awu-node1-installer /]# radosgw-admin topic list
{
    "result": {
        "topics": []
    }
}



Expected results:


Additional info:

Comment 1 Storage PM bot 2025-03-27 09:05:22 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.


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