I have a master-only node and 3 Data-Nodes in a Cluster running elasticsearch 5.1.1 and I want to make snapshots of some indexes. In every node, I set "path.repo: ["/opt/elasticsearch/archive"]" in the elasticsearch.yml. Now I try to register an repository using curl. Every time I do this, I get an repository_verification_exception with the reason:
RemoteTransportException[[data-1][xxx.xxx.xxx.xxx:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[archive] a file written by master to the store [/opt/elasticsearch/archive] cannot be accessed on the node XY
The folders are present and ownership is given to the elastic user, running the server. Checking on the servers, every node except the master node has a tests-XYZ file in the archive folder. A ls -ld archive/ check gives this for the master node: drwxr-xr-x 2 elastic elastic 4096 May 30 13:00 archive/
Any idea what I'm doing wrong?
Thanks so far