ISM Policy allocation to another node not working why?

I have created a simple test policy to see if the index is going to the ‘cold’ node. But it does not. The created indexes get by template the “index.routing.allocation.require.temp” to go to the warm node. And my policy has to transfer it to the cold node but no luck.
The policy runs without problems and finishes but the index stays at the same node. I also did configure the according “node.attr.temp:” for the nodes.

any help?

This is the policy:

{
“policy”: {
“policy_id”: “hot_cold”,
“description”: “Index State Management Policy”,
“last_updated_time”: 1604408721478,
“schema_version”: 1,
“error_notification”: null,
“default_state”: “hot”,
“states”: [
{
“name”: “hot”,
“actions”: ,
“transitions”: [
{
“state_name”: “cold”,
“conditions”: {
“min_index_age”: “5m”
}
}
]
},
{
“name”: “cold”,
“actions”: [
{
“allocation”: {
“require”: {
“box_type”: “cold”
},
“wait_for”: true
}
}
],
“transitions”:
}
]

Solved it in the end

Hey @Ibrahim!

If possible and if you remember what your issue was it might be helpful to post what it was (and the solution) for anyone else that runs into this issue.

Thanks!