Bug 2255255

Summary: Ceph dashboard: RHSSO created users cannot view user info in dashboard
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Bob Emerson <roemerso>
Component: RGWAssignee: Pritha Srivastava <prsrivas>
Status: CLOSED ERRATA QA Contact: Chaithra <ckulal>
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 5.3CC: akraj, ceph-eng-bugs, cephqe-warriors, ckulal, kelwhite, mbenjamin, mkasturi, nia, psrivast, tserlin, vereddy, vumrao
Target Milestone: ---   
Target Release: 7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-18.2.1-69.el9cp Doc Type: Bug Fix
Doc Text:
.Users no longer encounter “user not found” error when querying user-related information in the Ceph dashboard Previously, in the Ceph dashboard, end users could not retrieve the user-related information from the Ceph Object Gateway due to the presence of a namespace in the full `user_id` which the dashboard would not identify, resulting in encountering the “user not found” error. With this fix, a fully constructed user ID, which includes `tenant`, `namespace`, and `user_id` is returned as well as each field is returned individually when a GET request is sent to admin ops for fetching user information. End users can now retrieve the correct `user_id`, which can be used to further fetch other user-related information from Ceph Object Gateway.
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:24:01 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: 2267614, 2298578, 2298579    

Description Bob Emerson 2023-12-19 15:31:36 UTC
Description of problem:


Customer is using RHSSO with Ceph RGW

In the Ceph dashboard when attempting to look at user information:

Dashboard home >>>> Object gateway >>>> Users

RHSSO creates users with "$" in their name, the dashboard seems to not invalidate this character and RGW parses this as a tenanted user, which does not exist

Comment 2 RHEL Program Management 2023-12-19 15:31:45 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 kelwhite 2024-02-01 22:35:17 UTC
Hello,

Any updates on this BZ? Is anything required from the support standpoint to get this moving in the proper direction?

Comment 26 errata-xmlrpc 2024-06-13 14:24:01 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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix update), 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-2024:3925