Bug 2358641 - [Ceph-Dashboard] 500 Internal Server Error - On Setting RGW Rate limit on Bucket and Verifying the changes
Summary: [Ceph-Dashboard] 500 Internal Server Error - On Setting RGW Rate limit on Buc...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 8.1
Hardware: Unspecified
OS: Other
urgent
urgent
Target Milestone: ---
: 8.1
Assignee: naman munet
QA Contact: sohan singh
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-09 15:11 UTC by sohan singh
Modified: 2025-06-26 12:23 UTC (History)
7 users (show)

Fixed In Version: ceph-19.2.1-132.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-06-26 12:23:25 UTC
Embargoed:


Attachments (Terms of Use)
500 Internal Error (635.50 KB, image/png)
2025-04-09 15:11 UTC, sohan singh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 62764 0 None open mgr/dashboard: bucket ratelimit API failing while changing owner with ratelimit config 2025-04-10 14:31:53 UTC
Red Hat Bugzilla 2350551 0 unspecified CLOSED [ceph-dashboard]: RGW Ratelimit for User and Bucket 2025-06-26 12:30:51 UTC
Red Hat Issue Tracker RHCEPH-11107 0 None None None 2025-04-09 15:12:12 UTC
Red Hat Issue Tracker RHCSDASH-2010 0 None None None 2025-04-09 15:12:17 UTC
Red Hat Product Errata RHSA-2025:9775 0 None None None 2025-06-26 12:23:28 UTC

Description sohan singh 2025-04-09 15:11:18 UTC
Created attachment 2084083 [details]
500 Internal Error

Created attachment 2084083 [details]
500 Internal Error

Created attachment 2084083 [details]
500 Internal Error

Created attachment 2084083 [details]
500 Internal Error

Description of problem:
Unable to set rate limit

CEPH VERSION :

ceph version 19.2.1-107.el9cp (7f273f378fa32c1ed8914aa40dd568291b21003d) squid (stable)

[ceph: root@ceph-sohan-8-1-usu0pp-node1-installer /]# ceph -s
  cluster:
    id:     9de7e068-1548-11f0-b9e6-fa163e4d99a9
    health: HEALTH_OK

  services:
    mon: 3 daemons, quorum ceph-sohan-8-1-usu0pp-node1-installer,ceph-sohan-8-1-usu0pp-node3,ceph-sohan-8-1-usu0pp-node2 (age 84m)
    mgr: ceph-sohan-8-1-usu0pp-node1-installer.yurcbv(active, since 88m), standbys: ceph-sohan-8-1-usu0pp-node2.oilsqw
    osd: 16 osds: 16 up (since 79m), 16 in (since 80m)
    rgw: 1 daemon active (1 hosts, 1 zones)

  data:
    pools:   7 pools, 673 pgs
    objects: 229 objects, 456 KiB
    usage:   1.1 GiB used, 319 GiB / 320 GiB avail
    pgs:     673 active+clean

  io:
    client:   2.9 KiB/s rd, 0 B/s wr, 2 op/s rd, 1 op/s wr



MGR LOGS 
===========

025-04-09T15:06:07.116+0000 7fd835f63640  0 [dashboard INFO rgw_client] Found RGW daemon with configuration: host=10.0.67.85, port=80, ssl=False
2025-04-09T15:06:07.139+0000 7fd835f63640  0 [dashboard INFO request] [::ffff:10.74.16.13:52253] [GET] [200] [0.026s] [admin] [526.0B] /api/rgw/bucket
2025-04-09T15:06:07.946+0000 7fd834f61640  0 [dashboard ERROR exception] Dashboard Exception
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 48, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/lib/python3.9/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
    ret = func(*args, **kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/rgw.py", line 763, in set_rate_limit
    return rgwBucketRateLimit_instance.set_rateLimit('bucket', enabled, uid,
  File "/usr/share/ceph/mgr/dashboard/services/rgw_client.py", line 1501, in set_rateLimit
    raise DashboardException(f'Unable to set rate limit: {err}',
dashboard.exceptions.DashboardException: Unable to set rate limit: 2025-04-09T15:06:07.773+0000 7fedd1d488c0 20 rados->read ofs=0 len=0
2025-04-09T15:06:07.777+0000 7fedd1d488c0 20 rados_obj.operate() r=-2 bl.length=0
2025-04-09T15:06:07.777+0000 7fedd1d488c0 20 realm

====================

LOGS :  http://magna002.ceph.redhat.com/ceph-qe-logs/sohan/logs/BZ-2358641/


On Creating the Bucket and Setting the Rate limit for the bucket ,

On Verifying by checking on Buckets -> Advanced : observed the 500 Internal Server Errors. Couldn't check the rate limits on dashboard

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

ceph version 19.2.1-107.el9cp (7f273f378fa32c1ed8914aa40dd568291b21003d) squid (stable)

How reproducible:
 YES 

Steps to Reproduce:
On Creating the Bucket and Setting the Rate limit for the bucket ,

On Verifying by checking on Buckets -> Advanced : observed the 500 Internal Server Errors. Couldn't check the rate limits on dashboard


Actual results:

500 Internal Server Error

Expected results:

 Should be able to fetch the details on dashboard

Additional info:

Comment 8 errata-xmlrpc 2025-06-26 12:23:25 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.