Skip to content

rgw/s3vectors: Implemented vector bucket policy management - #71879

Merged
yuvalif merged 1 commit into
ceph:mainfrom
adtech97:s3-vector/bucket-policy
Oct 18, 2026
Merged

yuvalif merged 1 commit into
ceph:mainfrom
adtech97:s3-vector/bucket-policy

Conversation

@adtech97

@adtech97 adtech97 commented Sep 17, 2026 •

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.

@github-actions

Copy link
Copy Markdown

Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR ci-approved to allow Jenkins CI jobs to run.

Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
@adtech97
adtech97 force-pushed the s3-vector/bucket-policy branch 2 times, most recently from 400179e to ac5145a Compare September 23, 2026 20:07
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_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
@yuvalif

yuvalif commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

please use 2 spaces for indentation. indentation in new code must match the existing code

Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
@adtech97

Copy link
Copy Markdown
Contributor Author

Thanks for the reviews @yuvalif and @cbodley i am going through the comments and add required fixes/ reasoning soon

@adtech97
adtech97 force-pushed the s3-vector/bucket-policy branch from ac5145a to 0fd803f Compare September 30, 2026 19:57
@cbodley cbodley changed the title RGW: Implementated vector bucket policy management RGW: Implemented vector bucket policy management Oct 1, 2026
Comment thread src/test/rgw/s3vectors/s3vector_test.py Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
Comment thread src/rgw/rgw_rest_s3vector.cc Resolved
@adtech97
adtech97 force-pushed the s3-vector/bucket-policy branch from d242f8b to ce3e332 Compare October 6, 2026 15:46
@adtech97
adtech97 requested review from cbodley and yuvalif October 6, 2026 15:47
@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

@yuvalif

yuvalif commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

@adtech97 i merged this: #72380
please rebase and adjust to the code with account support

@adtech97
adtech97 force-pushed the s3-vector/bucket-policy branch from ce3e332 to 96b0730 Compare October 12, 2026 15:53
@adtech97

Copy link
Copy Markdown
Contributor Author

@yuvalif The branch is rebased 👍

@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

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
@yuvalif
yuvalif force-pushed the s3-vector/bucket-policy branch from 96b0730 to c009ee1 Compare October 14, 2026 15:55
@yuvalif
yuvalif requested a review from a team as a code owner October 14, 2026 15:55
@yuvalif yuvalif changed the title RGW: Implemented vector bucket policy management rgw/s3vectors: Implemented vector bucket policy management Oct 14, 2026
Signed-off-by: Aadesh Rasal <[email protected]>
Co-authored-by: Yuval Lifshitz <[email protected]>
Assisted-by: claude-code:claude-fable-5-1
@yuvalif
yuvalif force-pushed the s3-vector/bucket-policy branch from c009ee1 to ecbdf6f Compare October 14, 2026 18:07
@yuvalif

yuvalif commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

@cbodley @adtech97 I rebased this PR on top of the changes for account support.
would appriciate a re-review

Comment on lines +86 to +87
// a vector bucket of an account that does not exist, does not exist
return (ret == -ENOENT) ? -ENOENT : ret;

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.

nit: doesn't this reduce to return ret?

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.

yes, will fix

@yuvalif

yuvalif commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

@adtech97

adtech97 commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Changes Looks good to me as well 💯 !!

@yuvalif

yuvalif commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

another rerun: https://pulpito-ng.ceph.com/runs/yuvalif-2026-10-16_20:14:11-rgw-wip-yuval-test-s3vectors-15-10-distro-default-trial
all failures are with:

Exception in thread "main" java.io.IOException: Server returned HTTP response code: 429 for URL:
  https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip

e.g. https://pulpito-ng.ceph.com/runs/jenkins-build-2026-10-16_15:05:22-rgw-main-distro-default-trial

@yuvalif
yuvalif merged commit ba66a75 into ceph:main Oct 18, 2026
17 checks passed
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