Using minio for elastic snapshots


(Ijaz Ahmad Khan) #1

hi

I followed this article to setup minio for elasticsearch snapshots for my local cluster and local minio storage:

I have setup the keys in elasticsearch key store accoding to the documentation.

My query:

PUT _snapshot/my_s3_repository
{
   "type": "s3",
   "settings": {
  "bucket": "elasticsearch",
  "endpoint": "my-fqdn:9000",
  "protocol": "http"
  
   }
}

error:

{
  "error": {
    "root_cause": [
      {
        "type": "sdk_client_exception",
        "reason": "sdk_client_exception: Unable to execute HTTP request: elasticsearch.my-fqdn"
      }
    ],
    "type": "repository_exception",
    "reason": "[my_s3_repository] failed to create repository",
    "caused_by": {
      "type": "sdk_client_exception",
      "reason": "sdk_client_exception: Unable to execute HTTP request: elasticsearch.my-fqdn",
      "caused_by": {
        "type": "i_o_exception",
        "reason": "elasticsearch.my-fqdn"
      }
    }
  },
  "status": 500
}

also , I have configued the endpoint in the elasticsearch yml file according to the documentation.

s3.client.default.endpoint: "my-fqdn:9000"
s3.client.default.protocol: http

The keys for that default endpoint are placed in the elasticsearch keystore. [ do i need to specify them somewhere else ? , but i think this problem doesnt seem to be related to keys]
any help?


(system) #2

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