Bug 2355272

Summary: [rgw][topic]: on an upgraded environment from 7.1 to 8.0, radosgw-admin topic list outputs with added key "result"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: sohan singh <sohsingh>
Component: RGWAssignee: Yuval Lifshitz <ylifshit>
Status: CLOSED ERRATA QA Contact: sohan singh <sohsingh>
Severity: medium Docs Contact: Rivka Pollack <rpollack>
Priority: medium    
Version: 8.0CC: Ali.Masarwa, ceph-eng-bugs, cephqe-warriors, rpollack, tserlin, ylifshit
Target Milestone: ---Keywords: Regression
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.1-81.el9cp Doc Type: Bug Fix
Doc Text:
.Upgrading clusters now fetches notification_v2 topics correctly Previously, upgrading clusters upgraded bucket notifications to notification_v2. As a result, topics in notification_v2 were not retrieved as expected. With this fix, notification_v2 topics are retrieved as expected after a cluster upgrade.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:29:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2351689    

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.

Comment 8 errata-xmlrpc 2025-06-26 12:29:57 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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/RHSA-2025:9775