According to
https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.1
you should use v2.1.0 of the plugin with ES 1.1.0.
On Tuesday, July 1, 2014 9:03:04 AM UTC-4, sabdalla80 wrote:
>
> I am having a problem setting up backup and restore part of AWS on S3.
> I have 2.1.1 AWS plugin & ElasticSearch V1.1.0
>
> My yml:
>
> cloud:
> aws:
> access_key: #########
> secret_key: #####################
> discovery:
> type: ec2
>
> When I try to register a repository:
>
> PUT /_snapshot/es_repository{
>
> "type": "s3",
>
> "settings": {
>
> "bucket": "esbucket"
>
> }}
>
>
> I get this error, it complains about loading my credentials! Is this
> ElasticSearch problem or AWS?
>
> Note I am running as root user "ubuntu" on Ec2 and also running AWS with
> root privileges as opposed to IAM role, not sure if it's a problem or not.
> "error": "RepositoryException[[es_repository] failed to create
> repository]; nested: CreationException[Guice creation errors:\n\n1) Error
> injecting constructor, com.amazonaws.AmazonClientException: Unable to load
> AWS credentials from any provider in the chain\n at
> org.elasticsearch.repositories.s3.S3Repository.<init>(Unknown Source)\n
> while locating org.elasticsearch.repositories.s3.S3Repository\n while
> locating org.elasticsearch.repositories.Repository\n\n1 error]; nested:
> AmazonClientException[Unable to load AWS credentials from any provider in
> the chain]; ",
> "status": 500
> }ode here...
>
>
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e7db355a-7710-4408-80de-60960fd16d1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.