# Issue with rollover ERROR

**URL:** <https://discuss.elastic.co/t/issue-with-rollover-error/378009>\
**Category:** Elasticsearch\
**Created:** [May 10, 2025, 10:36pm UTC](https://discuss.elastic.co/t/issue-with-rollover-error/378009 "2025-05-10T22:36:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominbdg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominbdg/32/102457_2.png) [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Post date:** [May 10, 2025, 10:36pm UTC](https://discuss.elastic.co/t/issue-with-rollover-error/378009/1 "2025-05-10T22:36:19Z")

</div>

Hello,  
I have isssue with rollover error during step with ILM.  
I created ILM (all rollover settings disabled) to remove indexes after 365 days.

During ILM work I founded below error:

```auto
> 
> "step": "check-rollover-ready",
> "previous_step_info": {
> "type": "illegal_argument_exception",
> "reason": "index.lifecycle.rollover_alias [robot-*] does not point to index [robot-2021.01.26]"

```

When after suggestion I removed rollover alias:

> PUT test-2021.01/\_settings { "index.lifecycle.rollover\_alias": null }

I have error message:

```auto
> "previous_step_info": {
> "type": "illegal_argument_exception",
> "reason": "setting [index.lifecycle.rollover_alias] for index [test-2021.05] is empty or not defined"

```

Honestly I don't know what to do with that

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [May 10, 2025, 10:53pm UTC](https://discuss.elastic.co/t/issue-with-rollover-error/378009/2 "2025-05-10T22:53:02Z")

</div>

Can you share the ILM policy?

---

<div class="post-metadata">

**Author:** ![Rafa\_Silva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafa_silva/32/147814_2.png) [@Rafa\_Silva](https://discuss.elastic.co/u/Rafa_Silva)\
**Post date:** [May 11, 2025, 5:26am UTC](https://discuss.elastic.co/t/issue-with-rollover-error/378009/3 "2025-05-11T05:26:22Z")

</div>

Hey, I’ve run into this before — it’s definitely confusing.

The issue is that ILM still tries to do the rollover, even if you don’t want it to. Just removing the rollover\_alias isn’t enough, because the index gets stuck in the rollover check step.

What works: besides removing the alias, you need to tell ILM to skip that step and go straight to the delete phase.

---

<div class="post-metadata">

**Author:** ![dominbdg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominbdg/32/102457_2.png) [@dominbdg](https://discuss.elastic.co/u/dominbdg)\
**Post date:** [May 22, 2025, 4:36pm UTC](https://discuss.elastic.co/t/issue-with-rollover-error/378009/4 "2025-05-22T16:36:08Z")

</div>

You mean remove it from config of index\_template ?  
How can I remove it from the whole index ?

---

<div class="post-metadata">

**Author:** ![Rafa\_Silva](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rafa_silva/32/147814_2.png) [@Rafa\_Silva](https://discuss.elastic.co/u/Rafa_Silva)\
**Post date:** [May 24, 2025, 1:14am UTC](https://discuss.elastic.co/t/issue-with-rollover-error/378009/5 "2025-05-24T01:14:50Z")

</div>

Yes, exactly — if your index was created from a template that includes index.lifecycle.rollover\_alias, it’ll keep applying that setting. That clears the alias just for that index. If you want to prevent this from happening with future indices, you’ll need to remove index.lifecycle.rollover\_alias from the index template too.
