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: CLOSED ERRATA
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
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2351689
TreeView+ depends on / blocked
 
Reported: 2025-03-27 09:05 UTC by sohan singh
Modified: 2025-06-26 12:30 UTC (History)
6 users (show)

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.
Clone Of:
Environment:
Last Closed: 2025-06-26 12:29:57 UTC
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
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:30:06 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.

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


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