Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch v 2.8.0
elasticsearch v 8.10.3
Configuration:
elk \ os repo params:
path.repo: ["/var/lib/snapshots"]
problem:
hello! Tell me please.
I created nfs and connected it to the elk cluster, created a snapshot with a couple of indexes.
connected the same nfs to the opensearch cluster. I’m now faced with two problems
PUT /_snapshot/my-repo
{
"type": "fs",
"settings": {
"location": "/var/lib/snapshots"
}
}
output
{
"acknowledged": true
}
now when I go to opensearch dashboards in the repositories tab there is an error
{"error":{"root_cause":[{"type":"parsing_exception","reason":"Failed to parse object: unknown field [uuid] found","line":1,"col":25}],"type":"repository_exception","reason":"[snapshots] Unexpected exception when loading repository data","caused_by":{"type":"parsing_exception","reason":"Failed to parse object: unknown field [uuid] found","line":1,"col":25}},"status":500}
now when I try to load indexes from a snapshot I get an error
POST /_snapshot/my-repo/snapshot_1/_restore
output response:
{
"error": {
"root_cause": [
{
"type": "parsing_exception",
"reason": "Failed to parse object: unknown field [uuid] found",
"line": 1,
"col": 25
}
],
"type": "repository_exception",
"reason": "[my-repo] Unexpected exception when loading repository data",
"caused_by": {
"type": "parsing_exception",
"reason": "Failed to parse object: unknown field [uuid] found",
"line": 1,
"col": 25
}
},
"status": 500
}
please tell me what is my mistake