Curator can't shrink on single node due to cluster health yellow

Hello,

I try to shrink an index with Curator on a single node cluster but it fails due to cluster health being yellow which is expected when you have only one node.

Exception: Unable to proceed with shrink action. Cluster health is not "green"

Should I configure continue_if_exception: True or is there a better way ?

Below is my action.

---
actions:
  1:
    action: shrink
    description: >-
      Shrink elastalert_status
    options:
      ignore_empty_list: True
      shrink_node: DETERMINISTIC
      node_filters:
        permit_masters: True
      post_allocation:
        allocation_type: include
        key: node_tag
        value: cold
    filters:
    - filtertype: pattern
      kind: prefix
      value: elastalert_status

Curator will not ever attempt a shrink on a cluster that has a yellow state. In the future, it may check to see if only the index is green, and proceed with a shrink, but for now, it will not.

Thanks.
It's OK because I have an alternative here by deleting the index and let elastalert re-create it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.