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


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.

    action: shrink
    description: >-
      Shrink elastalert_status
      ignore_empty_list: True
      shrink_node: DETERMINISTIC
        permit_masters: True
        allocation_type: include
        key: node_tag
        value: cold
    - 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.

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.