Repository navigation
Conversation
e25ce1c to
c5f0e01
Compare
Config Diff Tool Output- removed: rgw_s3vector_s3_endpoint (rgw.yaml.in)
- removed: rgw_s3vector_s3_allow_http (rgw.yaml.in)
- removed: rgw_s3vector_s3_region (rgw.yaml.in)
! changed: rgw_s3vector_backend: old: ['local', 's3', 'rgw'] (rgw.yaml.in)
! changed: rgw_s3vector_backend: new: ['local', 'rgw'] (rgw.yaml.in)
! changed: rgw_s3vector_backend: old: Specifies the storage backend for S3 Vector (LanceDB). Use "local" for local filesystem storage, "s3" for external S3-compatible object storage, or "rgw" for RGW's internal Storage Abstraction Layer (same Ceph cluster). (rgw.yaml.in)
! changed: rgw_s3vector_backend: new: Specifies the storage backend for S3 Vector (LanceDB). Use "local" for local filesystem storage, or "rgw" for RGW's internal Storage Abstraction Layer (same Ceph cluster). (rgw.yaml.in)
The above configuration changes are found in the PR. Please update the relevant release documentation if necessary. |
|
/config check ok |
|
|
||
| return 0; | ||
| return verify_s3_bucket_permission( | ||
| configuration.vector_bucket_name, rgw::IAM::s3All, y); |
There was a problem hiding this comment.
can these checks be more granular than rgw::IAM::s3All? i'm not actually sure how to write a policy that matches s3All. generally when ops require multiple permissions, we make multiple calls to verify_bucket_permission() etc
why does CreateVectorBucket require any permissions on the destination bucket? same with DeleteVectorBucket
for GetIndex and GetVectors, could those just map to s3ListBucket[Versions] and s3GetObject[Version]? at the very least, those shouldn't require write permissions
There was a problem hiding this comment.
CreateVectorBucket - probably dont need any permission check.
will verify the minimum required for each operation and create fine grained permission check.
note that because of how lancedb works, the mapping is sometimes not trivial (e.g. most write operators also do read and list, some deletion are just manifest writes etc.)
There was a problem hiding this comment.
CreateVectorBucket also needs permissions. summary table added to commit
* remove the s3 backend option as it creates authentication issues * purging vectorbucket when user is deleted * making sure that user is not deleted when it has vector buckets * allow purging vector buckets with users's data * make sure that this works for accounts as well. for s3 backend where user credentials are needed * performing fine grained permission checks per operation: ==================== ============================== ================= S3 Vectors operation RGW SAL operations Permissions ==================== ============================== ================= CreateVectorBucket list, put, put_cond List, Put CreateIndex list, head, put, put_cond List, Get, Put PutVectors list, head, get, put, put_cond List, Get, Put DeleteVectors list, head, get, put, put_cond List, Get, Put GetVectors list, head, get List, Get ListVectors list, head, get List, Get QueryVectors list, head, get List, Get GetIndex list, head, get List, Get ListIndexes list, head, get List, Get DeleteVectorBucket list, head List, Get DeleteIndex list, head, delete List, Get, Delete ==================== ============================== ================= Signed-off-by: Yuval Lifshitz <[email protected]> Assisted-by: claude-code:claude-opus-5
c5f0e01 to
b101537
Compare
|
jenkins test make check |
|
cherry-picked to |
Assisted-by: claude-code:claude-opus-5
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.