Create snapshot failed

I am trying to create a repo with the api, I have setup NFS mounts on the hosts in my cluster. When using this command " curl -XPUT 'http://localhost:9200/_snapshot/es-backup1' -d '{
"type": "fs",
"settings": {
"location": "/mnt/es-backup1",
"compress": true
}' "

i get the following error " nested: RepositoryVerificationException[[es-backup1] store location [/mnt/es-backup1] is not accessible on the node [{Host number 2 in cluster ( not showing actual hostname)}{ "

Any idea what causes this?

Is this dir accessible from all hosts? With the same user?

yes, so there was an issue with the curl command. I am now getting that Repo doesnt exist but it does when I run a curl against my ES instance.

" ERROR Repository /mnt/es-backup1 not found.
2017-07-05 13:40:17,614 ERROR Failed to complete action: snapshot. <class 'TypeError'>: argument of type 'bool' is not iterable "

action: snapshot
description: >-
Snapshot logstash- prefixed indices older than 1 day (based on index
creation_date) with the default snapshot name pattern of
'curator-%Y%m%d%H%M%S'. Wait for the snapshot to complete. Do not skip
the repository filesystem access check. Use the other options to create
the snapshot.
repository: /mnt/es-backup1
ignore_unavailable: False
include_global_state: True
partial: False
wait_for_completion: True
skip_repo_fs_check: False
continue_if_exception: False
disable_action: False
- filtertype: pattern
kind: prefix
value: logstash_
- filtertype: age
source: creation_date
direction: older
unit: days
unit_count: 1

This is my snapshot config for curator.

Figured it out, this can be closed!

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