Bug 2260835
| Summary: | Dashboard gives 500 error when attaching the policy to rgw roles | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Shivam Gupta <shivgupt> | |
| Component: | Ceph-Dashboard | Assignee: | Afreen <afrahman> | |
| Status: | CLOSED ERRATA | QA Contact: | Chaithra <ckulal> | |
| Severity: | high | Docs Contact: | Akash Raj <akraj> | |
| Priority: | unspecified | |||
| Version: | 6.1 | CC: | afrahman, akraj, ceph-eng-bugs, cephqe-warriors, ckulal, tserlin | |
| Target Milestone: | --- | |||
| Target Release: | 7.1 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | ceph-18.2.1-43.el9cp | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2265328 2267909 (view as bug list) | Environment: | ||
| Last Closed: | 2024-06-13 14:25:21 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: | 2265328, 2267614, 2267909, 2298578, 2298579 | |||
Qe_coverage - since it is a dashboard BZ 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 |
Description of problem: Ceph dashboard throws 500 Internal Server Error while accessing the RGW roles tab when policy are attached to roles Version-Release number of selected component (if applicable): RHCS 6.1, RHCS 7 How reproducible: 100% Steps to Reproduce: Create role: # radosgw-admin role create --role-name=S3token1 --path=/ --assume-role-policy-doc=\{\"Statement\":\[\{\"Effect\":\"Allow\",\"Principal\":\{\"AWS\":\[\"arn:aws:iam:::user/test\"\]\},\"Action\":\[\"sts:AssumeRole\"\]\}\]\} # attach policy to it: #radosgw-admin role-policy put --role-name=S3token1 --policy-name=test --policy-doc="{\"Statement\":{\"Effect\":\"Allow\",\"Action\":\"s3:*\",\"Resource\":\"arn:aws:s3:::*\"}}" and access the same from rgw user tab. Actual results: Accessing RGW roles tab throws 500 Internal Server Error Expected results: RGW roles tab should show the information correctly.