failed to create S3 Repository using dockerized ES 6.2.2 due to SDK connect timed out #28893
Labels
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
I've been getting a number of errors when trying to create an S3 repository on my local box using Docker. Note, the same steps appear to work when elasticsearch is run outside of Docker (using brew).
Here is the latest:
Elasticsearch version: 6.2.2
Plugins installed: [ingest-geoip, ingest-user-agent, repository-s3, discovery-file, x-pack]
JVM version: openjdk version "1.8.0_161"
OS version: Docker / CentOS Linux release 7.4.1708 (Core)
Description of the problem including expected versus actual behavior:
Getting an error when trying to create a S3 Repository.
Steps to reproduce:
mac$ docker run -e AWS_ACCESS_KEY_ID=XXXXXXXXXXX -e AWS_SECRET_KEY=XXXXXXXXXXX docker.elastic.co/elasticsearch/elasticsearch:6.2.2 /bin/sh -c "elasticsearch-plugin install --batch repository-s3 && /usr/local/bin/docker-entrypoint.sh"
container# elasticsearch-keystore add s3.client.default.access_key XXXXXXXXXXX
container# elasticsearch-keystore add s3.client.default.secret_key XXXXXXXXXXX
Provide logs (if relevant):
Error from create S3 Repository
PUT
(i.e. step 3 from above):From server:
The text was updated successfully, but these errors were encountered: