curator_cli --config /Applications/elastic-curator/curator.yml shrink --filter_list '{"filtertype":"pattern","kind":"prefix","value":"metricbeat-6.5.0-2018.11.25"}' --node_filters '{"permit_masters":"True"}'
2018-12-03 21:55:25,640 DEBUG curator.indexlist __actionable:35 Index metricbeat-6.5.0-2018.11.25 is actionable and remains in the list.
2018-12-03 21:55:25,640 DEBUG curator.indexlist empty_list_check:226 Checking for empty list
2018-12-03 21:55:25,640 INFO curator.actions.shrink do_action:2121 Source index: metricbeat-6.5.0-2018.11.25 -- Target index: metricbeat-6.5.0-2018.11.25-shrink
2018-12-03 21:55:25,640 DEBUG curator.actions.shrink pre_shrink_check:2058 BEGIN PRE_SHRINK_CHECK
2018-12-03 21:55:25,640 DEBUG curator.actions.shrink pre_shrink_check:2059 Check that target exists
2018-12-03 21:55:25,641 DEBUG curator.actions.shrink pre_shrink_check:2061 Check doc count constraints
2018-12-03 21:55:25,647 DEBUG curator.actions.shrink pre_shrink_check:2063 Check shard count
2018-12-03 21:55:25,703 DEBUG curator.actions.shrink pre_shrink_check:2066 Check shard factor
2018-12-03 21:55:25,703 DEBUG curator.actions.shrink pre_shrink_check:2068 Check node availability
2018-12-03 21:55:25,881 DEBUG curator.utils node_id_to_name:1845 Name associated with node_id "mBJqx51QRq2IL-pdkjU5Hg": mBJqx51
2018-12-03 21:55:25,882 WARNING curator.actions.shrink _data_node:1895 Not skipping node "mBJqx51" which is a master node (not recommended), but permit_masters is True
2018-12-03 21:55:25,960 DEBUG curator.actions.shrink pre_shrink_check:2070 Check available disk space
2018-12-03 21:55:25,967 DEBUG curator.actions.shrink _check_space:1998 Sufficient space available for 2x the size of index "metricbeat-6.5.0-2018.11.25". Required: 470023636, available: 11918053801984
2018-12-03 21:55:25,967 DEBUG curator.actions.shrink pre_shrink_check:2072 FINISH PRE_SHRINK_CHECK
2018-12-03 21:55:25,967 INFO curator.actions.shrink do_action:2125 Moving shards to shrink node: "mBJqx51"
2018-12-03 21:55:26,003 DEBUG curator.utils wait_for_it:1760 Elapsed time: 0 seconds
2018-12-03 21:55:26,004 DEBUG curator.utils health_check:1497 KWARGS= "{'relocating_shards': 0}"
2018-12-03 21:55:26,006 DEBUG curator.utils health_check:1517 MATCH: Value for key "0", health check data: 0
2018-12-03 21:55:26,006 INFO curator.utils health_check:1520 Health Check for all provided keys passed.
2018-12-03 21:55:26,006 DEBUG curator.utils wait_for_it:1763 Response: True
2018-12-03 21:55:26,006 DEBUG curator.utils wait_for_it:1768 Action "allocation" finished executing (may or may not have been successful)
2018-12-03 21:55:26,006 DEBUG curator.utils wait_for_it:1786 Result: True
2018-12-03 21:55:26,112 DEBUG curator.utils health_check:1497 KWARGS= "{'status': 'green'}"
2018-12-03 21:55:26,114 DEBUG curator.utils health_check:1517 MATCH: Value for key "green", health check data: green
2018-12-03 21:55:26,114 INFO curator.utils health_check:1520 Health Check for all provided keys passed.
2018-12-03 21:55:26,114 INFO curator.actions.shrink do_action:2135 Shrinking index "metricbeat-6.5.0-2018.11.25" to "metricbeat-6.5.0-2018.11.25-shrink" with settings: {'settings': {'index.number_of_shards': 1, 'index.number_of_replicas': 1}}, wait_for_active_shards=1
2018-12-03 21:55:56,242 DEBUG curator.actions.shrink do_action:2140 Wait for shards to complete allocation for index: metricbeat-6.5.0-2018.11.25-shrink
2018-12-03 21:55:56,242 DEBUG curator.utils wait_for_it:1760 Elapsed time: 0 seconds
2018-12-03 21:55:56,242 DEBUG curator.utils health_check:1497 KWARGS= "{'status': 'green'}"
2018-12-03 21:55:56,245 DEBUG curator.utils health_check:1511 NO MATCH: Value for key "green", health check data: red
2018-12-03 21:55:56,245 DEBUG curator.utils wait_for_it:1763 Response: False
2018-12-03 21:55:56,245 DEBUG curator.utils wait_for_it:1783 Action "shrink" not yet complete, 0 total seconds elapsed. Waiting 9 seconds before checking again.
2018-12-03 21:56:05,249 DEBUG curator.utils wait_for_it:1760 Elapsed time: 9 seconds
2018-12-03 21:56:05,250 DEBUG curator.utils health_check:1497 KWARGS= "{'status': 'green'}"
2018-12-03 21:56:05,253 DEBUG curator.utils health_check:1511 NO MATCH: Value for key "green", health check data: red
2018-12-03 21:56:05,253 DEBUG curator.utils wait_for_it:1763 Response: False
2018-12-03 21:56:05,253 DEBUG curator.utils wait_for_it:1783 Action "shrink" not yet complete, 9 total seconds elapsed. Waiting 9 seconds before checking again.
2018-12-03 21:56:14,256 DEBUG curator.utils wait_for_it:1760 Elapsed time: 18 seconds
...
2018-12-03 22:20:24,776 DEBUG curator.utils wait_for_it:1760 Elapsed time: 1468 seconds
2018-12-03 22:20:24,776 DEBUG curator.utils health_check:1497 KWARGS= "{'status': 'green'}"
2018-12-03 22:20:24,780 DEBUG curator.utils health_check:1511 NO MATCH: Value for key "green", health check data: red
2018-12-03 22:20:24,780 DEBUG curator.utils wait_for_it:1763 Response: False
2018-12-03 22:20:24,780 DEBUG curator.utils wait_for_it:1783 Action "shrink" not yet complete, 1468 total seconds elapsed. Waiting 9 seconds before checking again.
2018-12-03 22:20:33,790 DEBUG curator.utils wait_for_it:1760 Elapsed time: 1477 seconds
2018-12-03 22:20:33,791 DEBUG curator.utils health_check:1497 KWARGS= "{'status': 'green'}"
2018-12-03 22:20:33,794 DEBUG curator.utils health_check:1511 NO MATCH: Value for key "green", health check data: red
2018-12-03 22:20:33,794 DEBUG curator.utils wait_for_it:1763 Response: False
2018-12-03 22:20:33,794 DEBUG curator.utils wait_for_it:1783 Action "shrink" not yet complete, 1477 total seconds elapsed. Waiting 9 seconds before checking again.