Hi.
In my cluster i have 5 nodes where 1 is a archive node which is meant to store indexes older than 7 days. So i followed along with the Hot/Warm architecture and modified it slightly so that i have two nodes which are "hot" and one node which is "archive".
I tried to move indexes older than 1 day (for testing) to the archive node with the following configuration:
actions:
1:
action: allocation
description: >-
Move indices older than 7 days to the archive node
options:
key: box_type
value: archive
allocation_type: require
wait_for_completion: True
filters:
- filtertype: age
source: creation_date
direction: older
unit: days
unit_count: 1
The output from running curator:
root@8a04ccb325a9:/etc/curator# curator --config config.yml action.yml
2018-06-21 12:06:45,930 INFO Preparing Action ID: 1, "allocation"
2018-06-21 12:06:45,938 INFO Trying Action ID: 1, "allocation": Move indices older than 7 days to the archive node
2018-06-21 12:06:46,131 INFO Updating index setting {'index.routing.allocation.require.box_type': 'archive'}
2018-06-21 12:09:38,643 INFO Health Check for all provided keys passed.
2018-06-21 12:09:38,644 INFO Action ID: 1, "allocation" completed.
2018-06-21 12:09:38,644 INFO Job completed.
However, if i go to Kibana to verify that the indexes has been stored on my archive node, it shows that i have no primary or replication shards on all of the indexes older than 1 day.
So where did my indexes go?