IMS policy is stuck on Still initializing, please wait a moment

Hey guys, I am trying to apply a retention policy for logs, it shows running on index list but while clicking on policy name it shows "Still initializing, please wait a moment"
Health status for all indices are green

{
    "policy_id": "Log_retention",
    "description": "Log retention policy with hot storage for 90 days and cold storage for 365 days",
    "last_updated_time": 1713799401072,
    "schema_version": 13,
    "error_notification": null,
    "default_state": "hot",
    "states": [
        {
            "name": "hot",
            "actions": [],
            "transitions": [
                {
                    "state_name": "cold",
                    "conditions": {
                        "min_index_age": "90d"
                    }
                }
            ]
        },
        {
            "name": "cold",
            "actions": [],
            "transitions": [
                {
                    "state_name": "delete",
                    "conditions": {
                        "min_index_age": "365d"
                    }
                }
            ]
        },
        {
            "name": "delete",
            "actions": [
                {
                    "delete": {}
                }
            ],
            "transitions": []
        }
    ],
    "ism_template": null
}

This sems related to ISM and Opensearch, which is not supported here. I would recommend you reach out to the OpenSearch community.

1 Like