Repository_verification_exception

I am in the process of configuring the “Snapshot and restore” functionality.

I have a cluster of 3 servers for Elasticsearch.

From the available options, “Shared File System” has been selected.

I took one of the servers from the cluster and created a folder, specifying the path in the elasticsearch.yml file in the path.repo parameter on all servers that are part of the cluster.

image

Then I restarted each of the elastic servers in a controlled manner so that the change would take effect.

When I check the status, I get the following error message

{
"name": "ResponseError",
"message": "repository_verification_exception\n\tRoot causes:\n\t\trepository_verification_exception: [Backup] [[xxxxxxxxxxxxxxxxxxxxx, 'org.elasticsearch.transport.RemoteTransportException: [elastic-2][xx.xx.x.37:9300][internal:admin/repository/verify]'], [4xxxxxxxxxxxxxxxxxxxxxxcyA, 'org.elasticsearch.transport.RemoteTransportException: [elastic-3][xx.xx.x.38:9300][internal:admin/repository/verify]']]"
}

So, the /mnt/elastic_config_backup/snapshots path is a network shared, is this correctly exported and mounted on the other two servers?

Can you share the result of : mount | grep elastic_config_backup ?

1 Like

Hello, thank you very much for responding. Here is the result.

image

What Linux feature do you recommend I use to share that folder?

You need to run it on all servers.

This path needs to be shared between all servers using NFS, there are plenty of documentation about this.

Normally you would have this on a file server and share this with your servers, having the path on one of the servers and sharing it with the others will work, but if this server goes down, your repository will be unavailable.

1 Like