-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
quincy: rgw multisite: replicate metadata for iam roles #48030
Merged
Merged
Conversation
This file contains 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
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 1584fe5)
This handles the metadata for RGW Roles with the RADOS backend Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 3fe4307)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit cff18a2)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 4f8b4b5)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 842f74a)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 00dbe32)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit cd69cfc)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 0cabcf6)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 2335a4b)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 150f78b)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 0569b7d)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 7a2795f)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 3c7d027)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit e2b8006)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit f8189c6)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit ccebb5c)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit e41629f)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 0ca6756)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 90b6642)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit d1fd01c)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 59b072a)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit ceb7cf9)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit feb4754)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 83e30f6)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 7fb221c)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 93375dd)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 6e46243)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 932807b)
As populate creates uuids etc which are only needed in direct calls to rgw_admin Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 5f9f977)
Since these aren't tracked via MDLog and merely ancillary objects Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit a92752b)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit e078dea)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 35c0e13)
This keeps the implementation of storage seperate from the RGWRole class. Also drop the get_roles_by_path_prefix static function as this is currently implemented in the backend and can be directly accessed from role ctl classes. Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 846a0e4)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit d8c2a89)
Similar to the read and write system_obj interfaces this function stats an object and returns the mtime & attrs if set. Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 8f4e00c)
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit 4aa53ff)
Removing references to RGW services and RGW Ctl. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 04913eb)
RGWRoleMetadataHandler and class RGWSI_Role_Module. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 3f574a3)
needed for RGWRoleMetadataHandler. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit a100026)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 510db31)
metadata is written to md log in method store_info(). Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 36169ca)
rados. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit fb1f670)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 520e4ff)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 9549d2c)
and store_info since that gets taken care of the meta_be->put() and meta_be->get(). Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit f272a57)
references to RGWSI_Role and cleaning up code. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit e57e8da)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit a4caa0b)
for roles. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 0d96b29)
for role REST APIs. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit c129eda)
in a JSON object for a role. Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 4bae137)
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com> (cherry picked from commit 7140e82)
mattbenjamin
approved these changes
Jan 10, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, and validated (on 5.3) downstream
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.
backport tracker: https://tracker.ceph.com/issues/57364
backport of #43597
parent tracker: https://tracker.ceph.com/issues/51068
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/master/src/script/ceph-backport.sh