Skip to content

Add Ceph storage backend#2328

Draft
ObadaS wants to merge 1 commit intodevelopfrom
ceph
Draft

Add Ceph storage backend#2328
ObadaS wants to merge 1 commit intodevelopfrom
ceph

Conversation

@ObadaS
Copy link
Copy Markdown
Collaborator

@ObadaS ObadaS commented Apr 9, 2026

A brief description of the purpose of the changes contained in this PR.

Add Ceph compatibility

You might need to run the following command to update the CORS origin and method allowed on the Ceph endpoint :

aws s3api put-bucket-cors \
      --bucket codabench-private \
      --cors-configuration '{
    "CORSRules": [
      {
        "AllowedOrigins": ["http://localhost"],
        "AllowedMethods": ["GET", "HEAD", "PUT"],
        "AllowedHeaders": ["*"],
        "ExposeHeaders": ["ETag"],
        "MaxAgeSeconds": 3000
      }
    ]
  }'

You can check the current configuration with :

aws s3api get-bucket-cors --bucket codabench-private

You can use aws or any other cli which has this kind of command and supports Ceph as an endpoint

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant