Open garyguo opened 3 years ago
@garyguo We're not a minio users but are you happy to debug this one. Does moving stonewall to the global section make a difference?
Mentioning @l-mb for comment.
Try this @garyguo: http_s3_region=us-east-1
I have been fiddling with the same. MinIO does have a region, so http_s3_region should have a value (it's empty in @garyguo's configuration). The MinIO's default region is us-east-1. You can configure a different value (see https://docs.gitlab.com/charts/charts/minio/). In my case, using us-east-1 as region resolved the 404.
I'm currently stuck with a "The request signature we calculated does not match the signature you provided. Check your key and signing method.", but that's out of scope for this ticket.
I encountered this issue when trying to configure fio for Minio S3. I found a working configuration. I think the problem with the original example in this thread could be that the bucket is not correctly specified. It seems you need to put it in the filename so that it ends up correctly in the http request.
[global]
ioengine=http
name=test
direct=1
filename=/<bucket>/testobject
http_verbose=0
https=insecure
http_mode=s3
http_s3_key=minio123
http_s3_keyid=minio
http_host=na-minio-tenant-1-hl.na-minio.svc.cluster.local:9000
http_s3_region=us-east-1
group_reporting
# With verify, this both writes and reads the object
[create]
rw=write
bs=32M
size=50G
verify=sha256
[trim]
stonewall
rw=trim
bs=32M
size=50G
Please acknowledge you have done the following before creating a ticket
Description of the bug:
Not sure if fio-3.26 supports minio test? Hit "DDIR_WRITE failed with HTTP status code 404" during CREATE test with fio-3.26 building on CentOS 8.0 from src The details can be found in the following.
Environment: CentOS, fio version, minio version