Hello Team,
We are using Elastic on Kubernetes (ECK) with elastic Enterprise license. We have created on- premise elastic clusters. We are trying to create repository to take snapshots, but we are getting below error while firing below API.
PUT /_snapshot/nfs-server
{
"type": "fs",
"settings": {
"location": "/path/",
"compress": true
}
}
{
"error" : {
"root_cause" : [
{
"type" : "repository_exception",
"reason" : "[nfs-server] location [/osl_nonprod_car7598_nodr_pr/] doesn't match any of the locations specified by path.repo because this setting is empty"
}
],
"type" : "repository_exception",
"reason" : "[nfs-server] failed to create repository",
"caused_by" : {
"type" : "repository_exception",
"reason" : "[nfs-server] location [/path/] doesn't match any of the locations specified by path.repo because this setting is empty"
}
},
"status" : 500
}
It says we need to add path.repo property on yml files of each node. But we are using ECK and we use YAML files for the deployments. Still do I need to add path.repo on all the nodes? Please share your thoughts.