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
'us-east-1` is not a valid region when creating s3 bucket #23354
Comments
I believe it's a duplicate of #16978. Closing. Note that we are removing |
@dadoonet I posted in description
|
Did you try with |
@dadoonet same issue. Trying dualstack seems like goes further but not match: so request PUT _snapshot/test
{
"type": "s3",
"settings": {
"endpoint": "s3.dualstack.us-east-1.amazonaws.com/test"
}
} error code is different (need to check what kind of key expected)
|
@dadoonet just double checked it and it doesn't work:
error response:
|
I'm surprised by what you pasted before you edited the response. I just ran a test: curl -XDELETE 127.0.0.1:9200/_snapshot/s3repo?pretty
curl -XPUT 127.0.0.1:9200/_snapshot/s3repo?pretty -d '{
"type": "s3",
"settings": {
"bucket": "david-test-to-remove.my.domain.com"
}
}' And in cloud:
aws:
access_key: "ACCESS"
secret_key: "SECRET" Everything is fine. Then: curl -XDELETE 127.0.0.1:9200/_snapshot/s3repo?pretty
curl -XPUT 127.0.0.1:9200/_snapshot/s3repo?pretty -d '{
"type": "s3",
"settings": {
"bucket": "david-test-to-remove.my.domain.com"
"endpoint": "s3.amazonaws.com"
}
}' Worked perfectly as well. So you may be doing something wrong or you don't tell all the steps/details. |
BTW I tested on 5.2.1. |
@yandooo Have a look at #16978 (comment) |
@dadoonet I pass AWS key and value as env variable as per plugin documentation (ES is running in docker container). Shouldn't be any difference though. Buckets exist in AWS (I'll double check again later) so #16978 (comment) doen't shed light on what's going on. |
Note that this will be removed in 6.0 (master). See #22842. Can you try with |
@dadoonet I think I sorted this issue. It was wrong SECRET_ID passed to container. Now I have ES specific issue: {"error":{"root_cause":[{"type":"repository_verification_exception","reason":"[s3_backup] [[3HYa7OTwQZyvcbWUwlfj5Q, 'RemoteTransportException[[3HYa7OT][10.51.96.5:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[s3_backup] missing];']]"}],"type":"repository_verification_exception","reason":"[s3_backup] [[3HYa7OTwQZyvcbWUwlfj5Q, 'RemoteTransportException[[3HYa7OT][10.51.96.5:9300][internal:admin/repository/verify]]; nested: RepositoryMissingException[[s3_backup] missing];']]"},"status":500} any ideas? |
Running with |
Problem is solved. Thanks everyone. |
Elasticsearch version:
5.2.0
JVM version: 1.8
OS version: Alpine Linux
Describe the feature:
When we use
us-east-1
s3 plugin does not work.Response:
removing region does not work as well. Any ideas?
The text was updated successfully, but these errors were encountered: