Skip to content

tentacle: Implement Admin REST APIs for Setting Account Quota - #66905

Merged
batrick merged 5 commits into
ceph:tentaclefrom
thotz:tentacle-bp-admin-rest-api-for-setting-account-quota
May 4, 2026
Merged

batrick merged 5 commits into
ceph:tentaclefrom
thotz:tentacle-bp-admin-rest-api-for-setting-account-quota

Conversation

@thotz

@thotz thotz commented Jan 13, 2026 •

Copy link
Copy Markdown
Contributor

Backport Tracker : https://tracker.ceph.com/issues/74390

backport of #65480
parent tracker: https://tracker.ceph.com/issues/72527

Signed-off-by: Jiffin Tony Thottan [email protected]

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

This commit implements the functionality of setting bucket- and account-level quotas with PUT /admin/account

tracker: https://tracker.ceph.com/issues/72527
Signed-off-by: Nicholas Liu <[email protected]>
(cherry picked from commit e45368e)
This commit refactors the test_rgw_admin_meta test by using common helper functions

Signed-off-by: Nicholas Liu <[email protected]>
(cherry picked from commit 60e3de2)
This commit adds documentation on how to create, get, modify, and delete accounts using Admin APIs. It also explains how to set quota for an account and how to create a user under an account

Signed-off-by: Nicholas Liu <[email protected]>
(cherry picked from commit 78c55d6)
This commit addresses PR comments related to the doc/radosgw/adminops documentation

Signed-off-by: Nicholas Liu <[email protected]>
(cherry picked from commit 8e80e00)
@thotz

thotz commented Jan 14, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@thotz

thotz commented Jan 14, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test api

@thotz

thotz commented Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test api

@thotz

thotz commented Jan 19, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@thotz
thotz force-pushed the tentacle-bp-admin-rest-api-for-setting-account-quota branch from fcca9db to 0cc0e59 Compare January 20, 2026 12:45
This commit implements tests related to setting account quotas at the account and bucket levels for qa and Teuthology
tracker: https://tracker.ceph.com/issues/72527
Signed-off-by: Nicholas Liu <[email protected]>

(cherry picked from commit 187573e)
Signed-off-by: Jiffin Tony Thottan <[email protected]>
@thotz
thotz force-pushed the tentacle-bp-admin-rest-api-for-setting-account-quota branch from 0cc0e59 to c6b80a3 Compare January 20, 2026 12:46
@adamemerson

Copy link
Copy Markdown
Contributor

Removing needs-qa until we have notifiaction/multisite fixes backported to tentacle.

@cbodley

cbodley commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

Removing needs-qa until we have notifiaction/multisite fixes backported to tentacle.

@adamemerson i updated this pr's backport tracker https://tracker.ceph.com/issues/74390 as blocked-by https://tracker.ceph.com/issues/75154 for the rgw/notifications fixes

unfortunately, tentacle backport of https://tracker.ceph.com/issues/75225 to fix the rgw/singleton suite is blocked on this backport pr due to conflicts in qa/tasks/radosgw_admin_rest.py

@ivancich

ivancich commented Apr 28, 2026 •

Copy link
Copy Markdown
Member

@thotz @adamemerson @cbodley This PR (and associated tracker) is blocking two other trackers. So I'm focusing on moving this along. I'll do a QA run.

Is there a way to redo the one CI failure? Or do we need another push to do that?

@ivancich ivancich added the wip-eric-testing-1 for ivancich testing label Apr 28, 2026
@adamemerson

Copy link
Copy Markdown
Contributor

@thotz @adamemerson @cbodley This PR (and associated tracker) is blocking two other trackers. So I'm focusing on moving this along. I'll do a QA run.

Is there a way to redo the one CI failure? Or do we need another push to do that?

There's away to kick the entire build in Jenkins if you log in with github, I'm not sure if there's a way for just one failure.

@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Apr 30, 2026
@ivancich

ivancich commented Apr 30, 2026 •

Copy link
Copy Markdown
Member

Here are the teuthology results:
https://pulpito.ceph.com/ivancich-2026-04-30_16:38:08-rgw-tentacle-wip-eric-testing-1-distro-default-trial/

@thotz : I don't see any issues, so I'll need help knowing if there's anything concerning here.

@thotz : Also, did this need a special set-up for testing config as I used the standard testing config.

@ivancich ivancich added TESTED and removed wip-eric-testing-1 for ivancich testing labels Apr 30, 2026
@ivancich

ivancich commented May 1, 2026

Copy link
Copy Markdown
Member

@thotz: other backports are blocked by this one, so I'd really like to prioritize getting this merged. What do you think of the teuthology results?

@batrick batrick added releng-audit-pass Release engineering: passed backport verification audit. and removed releng-audit-queue Release engineering: queued for backport verification audit. labels May 2, 2026
@ivancich ivancich removed the needs-qa label May 4, 2026
@ivancich

ivancich commented May 4, 2026

Copy link
Copy Markdown
Member

@batrick I think we're ready to merge this. This blocks two other trackers. Thanks!!

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.

8 participants