Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch v2.9
Describe the issue :
When trying to hit the GET _snapshot/<Repo>/<snapshot full name>/_status
endpoint, I get back a 404 BUT if I remove the /status
I get the expected results.
I bring this up as my State Management policy is failing during the snapshotting → deleting transition. I’m guessing the internals are also hitting the status endpoint
Relevant Logs or Screenshots :
This is my policy
{
"id": "hot_to_cold_policy",
"seqNo": 16908471,
"primaryTerm": 66,
"policy": {
"policy_id": "hot_to_cold_policy",
"description": "Hot to cold transition, snapshot, and delete local index for non application indicies",
"last_updated_time": 1717767244871,
"schema_version": 18,
"error_notification": null,
"default_state": "hot",
"states": [
{
"name": "hot",
"actions": [],
"transitions": [
{
"state_name": "cold",
"conditions": {
"min_index_age": "1d"
}
}
]
},
{
"name": "cold",
"actions": [
{
"timeout": "1h",
"retry": {
"count": 3,
"backoff": "exponential",
"delay": "1h"
},
"snapshot": {
"repository": "ColdStorage",
"snapshot": "{{ctx.index}}_{{#now}}"
}
},
{
"timeout": "1h",
"retry": {
"count": 3,
"backoff": "exponential",
"delay": "1h"
},
"delete": {}
}
],
"transitions": []
}
],
"ism_template": [
{
"index_patterns": [
"*"
],
"priority": 90,
"last_updated_time": 1696882227220
}
]
}
}
pablo
June 19, 2024, 8:25pm
3
@jsamuel12 Could you try running GET call with curl and superadmin certificates?
I can try but not sure what that will accomplish seeing the dev tools are connecting to the same nodes
I am receiving the same error using the suggested method. Somehow if removing _status
, the snapshot will be found.