+++ This bug was initially created as a clone of Bug #2260835 +++
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.
--- Additional comment from on 2024-03-05 07:18:58 UTC ---
Hello all,
This BZ is merged in 7.1 downstream.
Here is the PR link: https://gitlab.cee.redhat.com/ceph/ceph/-/merge_requests/497/commits
Here are the commit IDs:
83150de4e108c4d496fdaec1ef48a72d441614e0
42f964b42cafd29e5bf51dcec0781d8de73a8acd
Hence moving this BZ to MODIFIED.
Thanks!
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 (Red Hat Ceph Storage 6.1 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/RHBA-2024:1580