I'm not sure it matters, but I noticed you aren't setting a region in 
either your config or when registering your repo.

On Tuesday, July 1, 2014 7:08:28 PM UTC-4, sabdalla80 wrote:
>
> I am not sure the version is the problem, I guess I can upgrade from V1.1 
> to latest. 
> "Not able to load credential from supply chain", Any idea this error is 
> generated, Is there any other place that my credentials need to be besides 
> .yml file?
> Note, I am able to write/read to S3 remotely, so I don't have any 
> priviliges problems that I can think of.
>
> On Tuesday, July 1, 2014 4:44:17 PM UTC-4, David Pilato wrote:
>>
>> I think 2.1.1 should work fine as well.
>>
>> That said, you should upgrade to latest 1.1 (or 1.2)...
>>
>> --
>> David ;-)
>> Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
>>
>>
>> Le 1 juil. 2014 à 22:13, Glen Smith <[email protected]> a écrit :
>>
>> 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
>>  
>> <https://groups.google.com/d/msgid/elasticsearch/e7db355a-7710-4408-80de-60960fd16d1d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/32558546-8352-4d51-90e7-94e96fd11bf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to