mgr/dashboard: user accounts enhancements#64628
Conversation
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
af83fcb to
521bef5
Compare
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html
Outdated
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts
Outdated
Show resolved
Hide resolved
| raise e | ||
|
|
||
| def attach_managed_policy(self, userId, policy_arn): | ||
| radosgw_attach_managed_policies = ['user', 'policy', 'attach', |
There was a problem hiding this comment.
let's have a tracker to make a switch to the APIs. I think we need to try that again and as per Casey, we have to use the POST req instead of GET call to the iam apis.
There was a problem hiding this comment.
yes i will check, https://tracker.ceph.com/issues/72269
|
Tested locally, mostly works fine. Thanks @nmunet . Just a couple of comments:
Screencast.From.2025-07-24.16-15-14.mp4
Screencast.From.2025-07-24.16-21-07.mp4 |
521bef5 to
792cb84
Compare
|
@aaSharma14 thanks for testing the PR,
|
|
jenkins test api |
|
jenkins test dashboard |
|
jenkins test make check arm64 |
897a0af to
8567f2a
Compare
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
|
jenkins test api |
8567f2a to
186de69
Compare
|
One of the test is failing, can you help fixing this? @nizamial09 @aaSharma14 |
186de69 to
1f2fcc9
Compare
|
jenkins test windows |
|
@nmunet which all forms do you see same bug and can you create tracker for it? |
|
|
@nmunet , Tested the flow and didn’t find any issues or timeout errors. Screencast.from.2025-07-30.20-06-02.mp4 |
Thanks for testing it out @dnyanee1997 |
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
|
jenkins test dashboard |
2 similar comments
|
jenkins test dashboard |
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
|
jenkins test dashboard |
1 similar comment
|
jenkins test dashboard |
|
jenkins test dashboard cephadm |
|
Please don't merge, doing scale testing |
|
@nmunet , tested the PR with 100 buckets and 100 accounts. LGTM. Screencast.from.2025-08-01.17-50-30.mp4 |
fixes: https://tracker.ceph.com/issues/72072 PR covers: 1) Displaying account name instead of account id in bucket list page & bucket edit form for account owned buckets 2) non-root account user can now be assigned with managed policies with which they can perform operations 3) The root user indication shifted next to username in users list rather than on Account Name with a new icon. Signed-off-by: Naman Munet <naman.munet@ibm.com>
34f86e7 to
6e9db91
Compare
|
jenkins test make check arm64 |
|
jenkins test make check |
|
Thanks @dnyanee1997 for doing the scale testing, I do not see any issue related to timeout here. |
|
jenkins test make check |
fixes: https://tracker.ceph.com/issues/72072
Before:
After:
Screencast.From.2025-07-22.22-41-44.mp4
Screencast.From.2025-07-24.23-58-59.mp4
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition