# Index state management policy not working after upgrade to 3.6.0

**URL:** <https://forum.opensearch.org/t/index-state-management-policy-not-working-after-upgrade-to-3-6-0/28117>\
**Category:** OpenSearch\
**Tags:** troubleshoot, upgrade, index-management\
**Created:** [June 8, 2026, 11:07am UTC](https://forum.opensearch.org/t/index-state-management-policy-not-working-after-upgrade-to-3-6-0/28117 "2026-06-08T11:07:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rofr\_dd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rofr\_dd](https://forum.opensearch.org/u/rofr_dd)\
**Post date:** [June 8, 2026, 11:07am UTC](https://forum.opensearch.org/t/index-state-management-policy-not-working-after-upgrade-to-3-6-0/28117/1 "2026-06-08T11:07:32Z")

</div>

**Versions** (relevant - OpenSearch/Dashboard/Server OS/Browser):  
3.6.0 (Upgraded from 1.3 → 2.19 → 3.6.0)

**Describe the issue** :  
After last upgrade 2.19 → 3.6 we noted that our ISM policy is not working anymore. We are shifting our hot indices after 7 days to warm node (no replica anymore) and after 30 days we delete them.  
But since last upgrade the indices stay on hot node. I dont see any problems in logfile.

Is there any possibility to analyze the problem? Any debug settings?  
We did reindex of all system indices and created aliases. Maybe this could cause the problem?

---

<div class="post-metadata">

**Author:** ![Anthony](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/anthony/32/9939_2.png) [@Anthony](https://forum.opensearch.org/u/Anthony)\
**Post date:** [June 8, 2026, 12:32pm UTC](https://forum.opensearch.org/t/index-state-management-policy-not-working-after-upgrade-to-3-6-0/28117/2 "2026-06-08T12:32:55Z")

</div>

@rofr_dd This appears to be a bug, and I would recommend to raise a issue [here](https://github.com/opensearch-project/index-management/issues)

As a temporary workaround, you manually reply the policy the indices using the following:

```auto
POST _plugins/_ism/remove/<index>
then
POST _plugins/_ism/add/<index>

```

The issue seems to be happening when the policy is updated, I used the following steps to reproduce, you can include these in the issue too:

1. Single-node 3.6.0 cluster (`opensearchproject/opensearch:3.6.0`).

2. Create policy `P` (becomes `seq_no=N`):

`hot` → (after `min_index_age`) → `warm`, where `warm` runs `replica_count: { number_of_replicas: 0 }`, attached via `ism_template`.

1. Create an index matching `P`’s `index_patterns` (e.g. 2 replicas).

2. Update `P` (now `seq_no=N+2`) so `warm` instead runs `replica_count: { number_of_replicas: 3 }`.

3. Wait for the index to transition `hot` → `warm` and run its action.

4. Observe:

- `_plugins/_ism/explain/<index>` still reports `policy_seq_no: N` — never advanced, despite multiple coordinator sweeps and job runs in between.

- The action log reads `"Successfully set number_of_replicas to 0"` — the **old** value.

- `GET <index>/_settings` confirms `index.number_of_replicas: 0`, not `3`.

---

<div class="post-metadata">

**Author:** ![rofr\_dd](https://avatars.discourse-cdn.com/v4/letter/r/eb8c5e/32.png) [@rofr\_dd](https://forum.opensearch.org/u/rofr_dd)\
**Post date:** [June 17, 2026, 7:51am UTC](https://forum.opensearch.org/t/index-state-management-policy-not-working-after-upgrade-to-3-6-0/28117/3 "2026-06-17T07:51:06Z")

</div>

I figured out after reindexing an alias was created which is the cause of the problem. When doing an additional reindex back to the old name (remove alias before) solved the problem.
