Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.9.1
Describe the issue:
ism explain shows:
".ds-XXXXX-XXXX-000395" : {
"action" : {
"consumed_retries" : 3,
"failed" : true,
"index" : 0,
"name" : "rollover",
},
"enabled" : false,
"index" : ".ds-XXXXX-XXXX-000395",
"info" : {
"cause" : "Validation Failed: 1: this action would add [4] total shards, but this cluster currently has [998]/[1000] maximum shards open;",
"message" : "Failed to rollover index [index=.ds-XXXXX-XXXX-000395]"
},
I want the rollover to happen automatically after some shards are deleted. How can I achieve this?
Currently, even after deleting some shards, the rollover does not resume because the ‘enable’ setting is set to false.
Configuration:
"states": [
{
"name": "normal_state",
"actions": [
{
"retry": {
"count": 3,
"backoff": "exponential",
"delay": "1m"
},
"rollover": {
"min_index_age": "12h"
}
}
],
"transitions": [
{
"state_name":"delete_state",
"conditions": {
"min_index_age": "7d"
}
}
]
},
Relevant Logs or Screenshots: