Hi,
I'm seeing the following error with running forcemerge from curator:
{
"@timestamp": "2018-06-19T07:14:14.643Z",
"function": "run",
"linenum": 184,
"loglevel": "ERROR",
"message": "Failed to complete action: forcemerge. <class 'curator.exceptions.FailedExecution'>: Exception encountered. Rerun with loglevel DEBUG and/or check Elasticsearch logs for more information. Exception: TransportError(504, u\"<html><body><h1>504 Gateway Time-out</h1>\\nThe server didn't respond in time.\\n</body></html>\\n\")",
"name": "curator.cli"
}
Action config looks like this:
actions:
1:
action: forcemerge
description: "Index forcemerge test"
options:
max_num_segments: 1
timeout_override: 43200
ignore_empty_list: true
delay: 300
continue_if_exception: false
disable_action: false
filters:
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 1
- filtertype: forcemerged
max_num_segments: 1
exclude: true
I don't see anything suspicious in the elasticsearch logs but do see tasks queueing up so it looks like it's working. However, I've not yet seen an index get completely merged down to a single segment per shard.
Note: Curator is running from a docker container in kubernetes.