Snapshot creation failed due to RepositoryMissingException

Hello,

Appreciate your help in the below issue:
I'm trying to create a snapshot in s3 bucket. After running request to create the new snapshot, i'm checking the status of the new snapshot and i see that snapshot state is PARTIAL, due to RepositoryMissingException.

More information:
cluster details:

{
  "name" : "node-1",
  "cluster_name" : "name-es",
  "cluster_uuid" : "IYV8gSRmqkQLsSw2OXwQ",
  "version" : {
    "number" : "2.4.6",
    "build_hash" : "5376dca9f70f3abef96a77f4bb22720ace8240fd",
    "build_timestamp" : "2017-07-18T12:17:44Z",
    "build_snapshot" : false,
    "lucene_version" : "5.5.4"
  },
  "tagline" : "You Know, for Search"
}

snapshot configuration:

curl localhost:9200/_cat/repositories
s3_repository s3

creation of new snapshot:

curl -XPUT localhost:9200/_snapshot/s3_repository/snap10
{"accepted":true}

get details about created snapshot:

curl localhost:9200/_snapshot/s3_repository/snap10?pretty
{
  "snapshots" : [ {
    "snapshot" : "snap10",
    "version_id" : 2040699,
    "version" : "2.4.6",
    "indices" : [ "twitter" ],
    "state" : "PARTIAL",
    "start_time" : "2018-09-27T08:24:13.431Z",
    "start_time_in_millis" : 1538036653431,
    "end_time" : "2018-09-27T08:24:13.823Z",
    "end_time_in_millis" : 1538036653823,
    "duration_in_millis" : 392,
    "failures" : [ {
      "index" : "twitter",
      "shard_id" : 1,
      "reason" : "RepositoryMissingException[[s3_repository] missing]",
      "node_id" : "0yJw77XwSX62rUnhDAAclw",
      "status" : "INTERNAL_SERVER_ERROR"
    }, {
      "index" : "twitter",
      "shard_id" : 0,
      "reason" : "RepositoryMissingException[[s3_repository] missing]",
      "node_id" : "WEzVGyjXSLWuzfD_w-sBlA",
      "status" : "INTERNAL_SERVER_ERROR"
    } ],
    "shards" : {
      "total" : 2,
      "failed" : 2,
      "successful" : 0
    }
  } ]
}

Also, all nodes has access to s3.

Can you please assist with the issue ? why the error says that RepositoryMissingException?
Please let me know if more information is needed.

Thank you !
Ron

Hi,

In the end the issue was that cloud-aws plugin was installed only on master node.
Once i installed the plugin on the data nodes - it worked.

Thank you
Ron

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