Skip to content

rgw: add support to create/delete accounts and assign user to accounts (backport #7708) - #7720

Merged
clwluvw merged 2 commits into
stable-9.0from
mergify/bp/stable-9.0/pr-7708
Jul 23, 2026
Merged

rgw: add support to create/delete accounts and assign user to accounts (backport #7708)#7720
clwluvw merged 2 commits into
stable-9.0from
mergify/bp/stable-9.0/pr-7708

Conversation

@mergify

@mergify mergify Bot commented Jul 23, 2026

Copy link
Copy Markdown

ceph-ansible doesn't support the account feature introduced with ceph-squid.

This pr adds a radosgw_account module focusing on account creation and deletion and modifies radosgw_user.py to assign users to an account. This can be useful when creating users for testing which should be able to interact with the rgw IAM API.


This is an automatic backport of pull request #7708 done by Mergify.

Add radosgw_account.py module to create an remove accounts. This supports
just the minimal subset needed for initial user creation via ansible.
Modifying the account or accessing stats is not needed.
Also include a new test module to ensure the module is working as expected

Signed-off-by: Steffen Bohr <steffen.bohr@github.execve.de>
(cherry picked from commit 95e625d)
Add support to add rgw users to an rgw account. Update tests
accordingly

Signed-off-by: Steffen Bohr <steffen.bohr@github.execve.de>
(cherry picked from commit 8599b19)
@clwluvw
clwluvw merged commit aeec95c into stable-9.0 Jul 23, 2026
6 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants