Skip to content

rgw/s3vectors: vector buckets are unique per account - #72380

Merged
yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-support-s3vectors-accounts
Oct 12, 2026
Merged

yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-support-s3vectors-accounts

Conversation

@yuvalif

@yuvalif yuvalif commented Oct 4, 2026

Copy link
Copy Markdown
Contributor
  • VectorBuckerPolicy is not implemented yet, so cross account operations are not validated.
  • S3 buckets are unique per tenant, this means that when an S3 bucket is used to store the vectors, multiple vector buckets (beloging to different accounts) will share it.

Assisted-by: claude-code:claude-fable-5-1

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.

* VectorBuckerPolicy is not implemented yet,
  so cross account operations are not validated.
* S3 buckets are unique per tenant, this means that
  when an S3 bucket is used to store the vectors,
  multiple vector buckets (beloging to different accounts)
  will share it.

Signed-off-by: Yuval Lifshitz <[email protected]>
Assisted-by: claude-code:claude-fable-5-1
Comment thread doc/radosgw/s3vectors.rst
.. note:: The name of a regular S3 bucket is always unique within its tenant,
whether or not the bucket is owned by an account. So, while two accounts of
the same tenant may each have a vector bucket of the same name, they cannot
each have a regular S3 bucket of that name. With the ``rgw`` backend, such

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.

Are there other backends?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

there is the local backend (mainly for demos)

@cbodley cbodley left a comment

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.

looks good!

one other missing bit with respect to accounts is the user-to-account migration path, where adopt_user_buckets() changes bucket ownership from the user to the account. we'll need to do the same for vector buckets

@yuvalif

yuvalif commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

looks good!

one other missing bit with respect to accounts is the user-to-account migration path, where adopt_user_buckets() changes bucket ownership from the user to the account. we'll need to do the same for vector buckets

thanks!
I will do that as a followup work

@anrao19

anrao19 commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to main integration testing by anuchaithra started 2026-10-06-07:42.

@anrao19

anrao19 commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

This PR has been added to main integration testing by anuchaithra started 2026-10-06-07:42.

pr testing completed and approved by @ivancich, more details in https://tracker.ceph.com/issues/81455.
@yuvalif , if further is not needed then this can be merged

@yuvalif
yuvalif merged commit 13b79bd into ceph:main Oct 12, 2026
20 checks passed
@yuvalif yuvalif mentioned this pull request Oct 12, 2026
14 tasks
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.

4 participants