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.
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