Bug 2360780 - [Ceph-Dashboard] Dashboard not allowing to enable rate limiting for users having " . " as part of uid
Summary: [Ceph-Dashboard] Dashboard not allowing to enable rate limiting for users ha...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.1z1
Assignee: naman munet
QA Contact: sohan singh
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-17 18:32 UTC by sohan singh
Modified: 2025-04-22 09:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
Error-on-editing-rate-limit-for-users (308.68 KB, image/png)
2025-04-17 18:32 UTC, sohan singh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2323837 0 medium CLOSED RFE: Support enabling/setting user level rate limit from user page via dashboard 2025-06-26 12:21:44 UTC
Red Hat Issue Tracker RHCEPH-11206 0 None None None 2025-04-17 18:33:18 UTC
Red Hat Issue Tracker RHCSDASH-2033 0 None None None 2025-04-17 18:33:22 UTC

Description sohan singh 2025-04-17 18:32:18 UTC
Created attachment 2085496 [details]
Error-on-editing-rate-limit-for-users

Created attachment 2085496 [details]
Error-on-editing-rate-limit-for-users

Description of problem:

Created as user : "sohan.singh" via CLI . 
and attempting to enable / set rate limit on the user. 

The Dashboard is NOT allowing to edit and submit the parameters, prompting Error as "User ID (required)
sohan.singh
The value is not valid."


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


How reproducible:


Steps to Reproduce:
1.create a user having name "sohan.singh" or any user with "." as part of it via CLI


[root@ceph-sohan-8-1-g1wfd1-node1-installer ~]# radosgw-admin user create --uid="sohan.singh" --access-key=admin1 --secret=admin1 --display-name="sohan singh"
{
    "user_id": "sohan.singh",
    "display_name": "sohan singh",
    "email": "",
    "suspended": 0,
    "max_buckets": 1000,
    "subusers": [],
    "keys": [
        {
            "user": "sohan.singh",
            "access_key": "admin1",
            "secret_key": "admin1",
            "active": true,
            "create_date": "2025-04-17T18:10:11.533230Z"
        }
    ],
    "swift_keys": [],
    "caps": [],
    "op_mask": "read, write, delete",
    "default_placement": "",
    "default_storage_class": "",
    "placement_tags": [],
    "bucket_quota": {
        "enabled": false,
        "check_on_raw": false,
        "max_size": -1,
        "max_size_kb": 0,
        "max_objects": -1
    },
    "user_quota": {
        "enabled": false,
        "check_on_raw": false,
        "max_size": -1,
        "max_size_kb": 0,
        "max_objects": -1
    },
    "temp_url_keys": [],
    "type": "rgw",
    "mfa_ids": [],
    "account_id": "",
    "path": "/",
    "create_date": "2025-04-17T18:10:11.533204Z",
    "tags": [],
    "group_ids": []
}

[root@ceph-sohan-8-1-g1wfd1-node1-installer ~]#

2. Attempt to ENABLE RGW rate limiting options on that user via Dashboard.

3. The Error will prompt :  
"User ID (required)
sohan.singh
The value is not valid."

Atached the screen shots


Actual results:
Users created via CLI with names having "." as par of it will not be having option to enable Ratelimit via Dashboard

Expected results:
Opertaions supported from CLI should also  be supported as part of Dashboard 

Additional info:

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


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