I cant access S3 repo CEPH using repository-s3

Hi,
im using the elasticsearch oss 6.4.3 and repository-s3. I want send my snapshots to a CEPH repository. My problem is i cant send, always is returned a error. IMO the pluging try create repository in amazon and not accept my endpoint.

My curl:

curl -XPUT 'localhost:9200/_snapshot/backup' -H 'Content-Type: application/json' -d '{"type": "s3","settings": {"bucket": "elasticsearch", "endpoint": "http://xxxxxxxxxx","protocol": "http","access_key":"xxxxxxx"secret_key": "xxxxxxxxx"}}'

the result is:
{
"error" : {
"root_cause" : [
{
"type" : "repository_verification_exception",
"reason" : "[backup] path [elasticsearch/snapshot] is not accessible on master node"
}
],
"type" : "repository_verification_exception",
"reason" : "[backup] path [elasticsearch/snapshot] is not accessible on master node",
"caused_by" : {
"type" : "i_o_exception",
"reason" : "Unable to upload object [elasticsearch/snapshot/tests-OBhybT-sQoG0ZKd7y1F52A/master.dat] using a single upload",
"caused_by" : {
"type" : "amazon_s3_exception",
"reason" : "The AWS Access Key Id you provided does not exist in our records. (Service: Amazon S3; Status Code: 403; Error Code: InvalidAccessKeyId; Request ID: 8C292056B17858B1; S3 Extended Request ID: Z/ova9doFLBjbFH2Ef8nTaUQwpp4EcQLKn4XK6ePOamQb8A8USlNcjzhzLGBmkgnHzc2Nao6mPA=)"
}
}
},
"status" : 500
}

Anybody help me?

According to the docs you should put the access key and secret key in the keystore and the other client settings like endpoint in the elasticsearch.yml file.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.