Skip to content

rgw/iam: getAccountSummary API - #63945

Merged
ArbitCode merged 2 commits into
ceph:mainfrom
ArbitCode:wip-raja-get-account-summary
Jul 28, 2025
Merged

ArbitCode merged 2 commits into
ceph:mainfrom
ArbitCode:wip-raja-get-account-summary

Conversation

@ArbitCode

@ArbitCode ArbitCode commented Jun 16, 2025 •

Copy link
Copy Markdown
Member

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from b1682c3 to 9749d0c Compare June 16, 2025 06:39
@ArbitCode
ArbitCode requested a review from a team as a code owner June 16, 2025 06:39
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch 5 times, most recently from 2175cc8 to 93fa8ff Compare June 16, 2025 08:30
@ArbitCode ArbitCode self-assigned this Jun 16, 2025
@ArbitCode ArbitCode mentioned this pull request Jun 16, 2025
4 of 14 tasks
Comment thread src/rgw/rgw_rest_account.cc Resolved
Comment thread src/rgw/rgw_rest_account.cc Resolved
Comment thread src/rgw/rgw_rest_account.cc Resolved
Comment thread src/rgw/rgw_rest_account.cc Resolved
Comment thread src/rgw/rgw_rest_account.cc Resolved
@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from 93fa8ff to fd044d9 Compare June 23, 2025 08:18
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch 2 times, most recently from 9b79e66 to d7b26cd Compare June 28, 2025 03:22
@pritha-srivastava

Copy link
Copy Markdown
Contributor

@ArbitCode : code looks fine to me, you can add documentation for the APIs, and for this one list out what fields will be returned

@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from d7b26cd to 9a42949 Compare July 10, 2025 17:26
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch 2 times, most recently from 54e61f7 to a093314 Compare July 14, 2025 05:50
Comment thread src/rgw/rgw_iam_policy.h Resolved
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from a093314 to 2bc81fb Compare July 16, 2025 13:56
@pritha-srivastava

Copy link
Copy Markdown
Contributor

jenkins test make check

@ArbitCode ArbitCode closed this Jul 19, 2025
@ArbitCode ArbitCode reopened this Jul 19, 2025
@ArbitCode ArbitCode closed this Jul 19, 2025
@ArbitCode ArbitCode reopened this Jul 19, 2025
@ArbitCode
ArbitCode requested a review from a team as a code owner July 21, 2025 02:16
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch 2 times, most recently from bd8b0a0 to 934bd8b Compare July 21, 2025 02:24
@pritha-srivastava

Copy link
Copy Markdown
Contributor

documentation also looks fine to me

Comment thread doc/radosgw/account.rst Resolved
Comment thread doc/radosgw/iam.rst Resolved
@cbodley

cbodley commented Jul 21, 2025

Copy link
Copy Markdown
Contributor

The following tests FAILED:
246 - unittest_rgw_iam_policy (Failed)

[ RUN      ] ManagedPolicyTest.IAMReadOnlyAccess
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/rgw/test_rgw_iam_policy.cc:854: Failure
Expected equality of these values:
  act
    Which is: 00000000000000000000000001111100011010010010100010010001000011001000110110001001010000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  p->statements[0].action
    Which is: 00000000000000000000000011111100011010010010100010010001000011001000110110001001010000000000000000000000000000000000000000000000000000000000000000000000000000000000000

[  FAILED  ] ManagedPolicyTest.IAMReadOnlyAccess (34 ms)

please update this test case to add

act[iamGetAccountSummary] = 1;

@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from 934bd8b to 4a7b337 Compare July 21, 2025 14:04
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from 4a7b337 to 102d889 Compare July 21, 2025 15:22
@ArbitCode
ArbitCode force-pushed the wip-raja-get-account-summary branch from 102d889 to 75ff229 Compare July 21, 2025 15:35
@ArbitCode ArbitCode closed this Jul 21, 2025
@ArbitCode ArbitCode reopened this Jul 21, 2025
@ArbitCode

Copy link
Copy Markdown
Member Author

@cbodley @pritha-srivastava

Jenkins make check build is failing with below error.

99% tests passed, 1 tests failed out of 318

Total Test time (real) = 7200.20 sec

The following tests FAILED:
30 - run-rbd-unit-tests-0.sh (Timeout)
Errors while running CTest

@ArbitCode ArbitCode closed this Jul 22, 2025
@ArbitCode ArbitCode reopened this Jul 22, 2025
@cbodley

cbodley commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

https://jenkins.ceph.com/job/ceph-pull-requests-arm64/77794/

The following tests FAILED:
208 - unittest_bluefs (Timeout)
209 - unittest_bluefs_ex (Timeout)
211 - unittest_bdev (Timeout)

@cbodley

cbodley commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

jenkins test make check arm64

@ArbitCode
ArbitCode merged commit 866054f into ceph:main Jul 28, 2025
@ArbitCode
ArbitCode deleted the wip-raja-get-account-summary branch July 28, 2025 05:26
@cbodley

cbodley commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

@ArbitCode did this run through teuthology against the tests from ceph/s3-tests#664? i don't see any test results linked here

@pritha-srivastava

Copy link
Copy Markdown
Contributor

@ArbitCode did this run through teuthology against the tests from ceph/s3-tests#664? i don't see any test results linked here
@cbodley : He linked the results here: ceph/s3-tests#664 (comment)

@cbodley

cbodley commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

cool thanks @pritha-srivastava @ArbitCode !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants