# ISM Set policy action hang for days

**URL:** <https://forum.opensearch.org/t/ism-set-policy-action-hang-for-days/3969>\
**Category:** Open Source Elasticsearch and Kibana\
**Created:** [October 16, 2020, 9:14pm UTC](https://forum.opensearch.org/t/ism-set-policy-action-hang-for-days/3969 "2020-10-16T21:14:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Franckiboy](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/franckiboy/32/603_2.png) [@Franckiboy](https://forum.opensearch.org/u/Franckiboy)\
**Post date:** [October 16, 2020, 9:14pm UTC](https://forum.opensearch.org/t/ism-set-policy-action-hang-for-days/3969/1 "2020-10-16T21:14:03Z")

</div>

I tried to apply a new policy on 1000 indices, half complete successfully and the other half are still running in the transition or the priority task I set in the policy. Is there a way to manage/kill those action once it’s started?

I’ve try reapply the policy but I got an error that the indice is still in transition or set priority task and fail instantly.

I’m currently on version 1.10.1

Here is the policy I applied :

> ```
> {
> "policy": {
> "policy_id": "Move Hot to warm data after 1 week",
> "description": "A Policy to move indices to slower storage after 7 days",
> "last_updated_time": 1602881166454,
> "schema_version": 1,
> "error_notification": null,
> "default_state": "hot",
> "states": [
> {
> "name": "hot",
> "actions": [
> {
> "index_priority": {
> "priority": 100
> }
> }
> ],
> "transitions": [
> {
> "state_name": "warm",
> "conditions": {
> "min_index_age": "7d"
> }
> }
> ]
> },
> {
> "name": "warm",
> "actions": [
> {
> "allocation": {
> "require": {
> "temp": "warm"
> },
> "wait_for": false
> }
> }
> ],
> "transitions": []
> }
> ]
> }
> }
> 
> ```

---

<div class="post-metadata">

**Author:** ![kris](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/kris/32/2208_2.png) [@kris](https://forum.opensearch.org/u/kris)\
**Post date:** [February 7, 2023, 12:00am UTC](https://forum.opensearch.org/t/ism-set-policy-action-hang-for-days/3969/2 "2023-02-07T00:00:54Z")

</div>

Closed on February 7, 2023, 12:00am UTC


