rgw: add support to create/delete accounts and assign user to accounts (backport #7708) - #7720
Merged
Merged
Conversation
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
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.