juicedata / juicesync

A tool to move your data between any clouds or regions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Choose region

vdeville opened this issue · comments

Hello,

I'm user of Scaleway provider, he provide standard S3 compatible with amazon S3, but when i try to connect to, i have a problem with the region. Do you have an option to change the region during the connection ?

valentin@nuc01:~/juicefs$ ./juicefs format --storage s3 --bucket https://xxx.s3.fr-par.scw.cloud/ --access-key XXXX --secret-key XXXX  localhost test
2021/01/22 22:37:14.515694 juicefs[443170] <INFO>: Meta address: redis://localhost
2021/01/22 22:37:14.517149 juicefs[443170] <WARNING>: AOF is not enabled, you may lose data if Redis is not shutdown properly.
2021/01/22 22:37:14.517503 juicefs[443170] <INFO>: Data uses s3://xxxx/test/
2021/01/22 22:37:26.994285 juicefs[443170] <FATAL>: Storage s3://xxxxx/test/ is not configured correctly: Failed to create s3://xxxxt/test/: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'fr-par'
	status code: 400, request id: txf8d357f0026e4f, host id: txf8d357f0026ef,  previous error: AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'fr-par'
	status code: 400, request id: tx110744ef80c84f, host id: tx110744ef80c8f
please create bucket s3://xxxx/test/ manually, then format again

Thanks

@MyTheValentinus JuiceFS has Scaleway support already, please use

--storage scw --bucket https://xxx.s3.fr-par.scw.cloud/

Thanks !