День добрый!
У меня внезапно возникла проблема с созданием репозитория для снэпшотов:
PUT _snapshot/my_backup
{
"type": "fs",
"settings":
{ "location": "var/lib/elasticsearch/clusterName/my_backup", "compress": true }
}
Ответ:
{
"error": "RepositoryVerificationException[[my_backup] [802yNk07Sj25v-haiFtTPw, 'RemoteTransportException[[<nodeName1>][inet[/<ip-address1>:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] store location [var/lib/elasticsearch/clusterName/my_backup] is not shared between node [[<nodeName1>][802yNk07Sj25v-haiFtTPw][<nodeName1>][inet[<domainName1>/<ip-address1>:9300]]{max_local_storage_nodes=1, master=false}] and the master node]; '], [UyXw4xOfT0WH8ifV2AcTQg, 'RemoteTransportException[[nodeName2][inet[/<ip-address2>:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] store location [var/lib/elasticsearch/clusterName/my_backup] is not shared between node [[nodeName2][UyXw4xOfT0WH8ifV2AcTQg][nodeName2][inet[<domainName2>/<ip-address2>:9300]]{max_local_storage_nodes=1, master=false}] and the master node]; '], [LgNkhwxPQXi4BK0Qw468Kg, 'RemoteTransportException[[<nodeName3>][inet[/<ip-address3>:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] store location [var/lib/elasticsearch/clusterName/my_backup] is not shared between node [[<nodeName3>][LgNkhwxPQXi4BK0Qw468Kg][<nodeName3>][inet[<domainName3>/<ip-address3>:9300]]{max_local_storage_nodes=1, master=false}] and the master node]; ']]]",
"status": 500
}
У меня один мастер и 3 дата-ноды.
Версия эластика: 1.4.3.