Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3 API: CreateBucket looks to be supported although Wiki says it's not #5509

Open
ErwanDL opened this issue Apr 19, 2024 · 0 comments
Open

Comments

@ErwanDL
Copy link

ErwanDL commented Apr 19, 2024

Hello and thank you for the work on this great project.

I suspect the Wiki about the Supported S3 APIs may be out of date? It does not mention CreateBucket as part of the supported "Bucket operations" although I was able, in a simple test against a freshly deployed 3.65 cluster, to create and use a bucket just fine:

$ s5cmd --endpoint-url http://localhost:8333 --no-sign-request mb s3://mybucket
mb s3://mybucket

$ s5cmd --endpoint-url http://localhost:8333 --no-sign-request ls
2024/04/19 14:20:50  s3://mybucket

$ s5cmd --endpoint-url http://localhost:8333 --no-sign-request cp test.txt s3://mybucket
cp test.txt s3://mybucket/test.txt

$ s5cmd --endpoint-url http://localhost:8333 --no-sign-request ls s3://mybucket
2024/04/19 14:22:51                21  test.txt

In a Weed shell on my filer pod, I can see that the bucket has been added to the filesystem:

$ weed shell
> fs.tree
buckets
└──mybucket
    └──test.txt
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

No branches or pull requests

1 participant