Skip to content

RGW: s3vector implementation of vector bucket policy management - #70696

Closed
adtech97 wants to merge 1 commit into
ceph:wip-s3vectorfrom
adtech97:s3-vector/bucket-policy
Closed

adtech97 wants to merge 1 commit into
ceph:wip-s3vectorfrom
adtech97:s3-vector/bucket-policy

Conversation

@adtech97

Copy link
Copy Markdown
Contributor

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.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

16 similar comments
@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@ceph-jenkins

Copy link
Copy Markdown
Collaborator

Thank you for your contribution. Since you, the author, are not a member of the Ceph GitHub Org yet, our CI will not automatically run. Any member of the Ceph Org may comment "ok - to - test" (without the dashes) to allow the Jenkins jobs to run.

@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

@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Config Diff Tool Output

+ added: rgw_s3vector_s3_endpoint (rgw.yaml.in)
+ added: rgw_s3vector_local_path (rgw.yaml.in)
+ added: rgw_s3vector_s3_allow_http (rgw.yaml.in)
+ added: rgw_s3vector_s3_region (rgw.yaml.in)
+ added: rgw_s3vector_backend (rgw.yaml.in)

The above configuration changes are found in the PR. Please update the relevant release documentation if necessary.
Ignore this comment if docs are already updated. To make the "Check ceph config changes" CI check pass, please comment /config check ok and re-run the test.

@adtech97

Copy link
Copy Markdown
Contributor Author

/config check ok

@yuvalif
yuvalif force-pushed the wip-s3vector branch 2 times, most recently from fa90601 to 3511072 Compare August 14, 2026 07:36
@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

@adtech97 adtech97 changed the title RGW: s3vector New test cases for API implementation bucket policy RGW: s3vector implementation of vector bucket policy management Sep 7, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

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

Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_s3vector.cc Resolved
Comment thread src/rgw/rgw_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/test/rgw/s3vectors/s3vector_test.py Resolved
Comment thread src/test/rgw/s3vectors/s3vector_test.py Resolved
Comment thread src/test/rgw/s3vectors/s3vector_test.py Resolved
Signed-off-by: Aadesh Rasal <[email protected]>

Rebase

Signed-off-by: Aadesh Rasal <[email protected]>

RGW: Implementing policy verification and extending tests to support the working of same

Signed-off-by: Aadesh Rasal <[email protected]>

RGW: Fixing nit picks and codestyle issues

Signed-off-by: Aadesh Rasal <[email protected]>
@adtech97
adtech97 force-pushed the s3-vector/bucket-policy branch from 8b2d3b3 to 24c629c Compare September 17, 2026 07:59
@adtech97
adtech97 requested a review from yuvalif September 17, 2026 08:00
return 0;
}

int load_vector_bucket_policy_context(const std::string& bucket_name,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try to remove this function and and do

std::unique_ptr<rgw::sal::VectorBucket> bucket;
int ret = driver->load_vector_bucket(this, bucket_id, &bucket, y);
if (ret < 0) {
  return ret;
}
s->bucket = bucket;

also, try to move this to a common place, so it is not called for every op.
reuse the cached bucket in the execute() calls so we dont load it again

if (ret < 0) {
return ret;
}
if (s->auth.identity->is_root_of(s->bucket_owner.id) &&

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use is_bucket_owner

@adtech97
adtech97 marked this pull request as ready for review September 17, 2026 09:25
@adtech97
adtech97 requested a review from a team as a code owner September 17, 2026 09:26
@yuvalif
yuvalif deleted the branch ceph:wip-s3vector September 17, 2026 17:16
@yuvalif yuvalif closed this Sep 17, 2026
@yuvalif

yuvalif commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

this was automatically closed because wip-s3vector was merged to main
please reopen against main

@adtech97

Copy link
Copy Markdown
Contributor Author

this was automatically closed because wip-s3vector was merged to main please reopen against main
@yuvalif
Couldn't reopen this since origin was my fork and upstream wip-s3vector was deleted after merge hence reopend a fresh PR here : #71879

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