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
Add support for ca-central1 region #22454
Comments
It should be straightforward, the relevant code is in |
You can as a work around define |
@animageofmine In case you'd like so send a PR, here is a similar one for another region: #22308 If you don't I'll add it in the next days. |
@abeyad @dadoonet I can send a PR. I haven't contributed or sent a PR before, let me know if there is a guideline or documentation for the same. I am following this documentation for now: http://hisham.hm/2016/01/01/how-to-make-a-pull-request-on-github-a-quick-tutorial/ |
@animageofmine we'll be happy to help, that looks like a good guide. Once you have issued the PR, you will need to sign the contributor's agreement, which is straightforward. Thanks for contributing! |
Hi, I am new contributor to this project, made PR for the issue above. Please review it. |
@abeyad Thank you. I have the change ready and waiting for approval from management. Should be out in a bit. |
@abeyad Quick question. I didn't find any tests related to this particular class. I was wondering if there is a way to test this plugin from local box. Also, let me know if this does not require explicit testing on local box. |
Stupid question for the workaround.
How can you define cloud.aws.s3.endpoint to s3.ca-central-1.amazonaws.com? Is there a configuration somewhere? Would something like this work?
|
Just remove region.
Or you can set in cloud.aws.s3.endpoint: s3.ca-central-1.amazonaws.com And then:
|
got it! I prefer 1st approach since we have multiple dockerized clusters in different regions using the same .yml Thanks so much, really appreciate your quick response and help! UPDATE: Confirmed, that the workaround works as expected. |
Elasticsearch version:
5.1.1
Plugins installed: []
repository-s3
JVM version:
1.8
OS version:
debian
Description of the problem including expected versus actual behavior:
Linux elasticsearch-datanode1 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 GNU/Linux
Steps to reproduce:
I looked at the code, I don't see a switch case for ca-central-1 region. Is that something that can be added quickly? The endpoints are located here: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: