Merge "Continue to run all actions if one action failed in curator"

This commit is contained in:
Zuul 2022-01-18 10:48:22 +00:00 committed by Gerrit Code Review
commit 7b3527819f
2 changed files with 24 additions and 16 deletions

View File

@ -1,26 +1,11 @@
actions:
1:
action: close
description: >-
Closes indices
options:
ignore_empty_list: True
filters:
- filtertype: pattern
kind: prefix
value: "{{ elasticsearch_curator_index_pattern }}"
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: "{{ elasticsearch_curator_soft_retention_period_days }}"
2:
action: delete_indices
description: >-
Delete indicies
options:
ignore_empty_list: True
continue_if_exception: True
filters:
- filtertype: pattern
kind: prefix
@ -31,3 +16,20 @@ actions:
timestring: '%Y.%m.%d'
unit: days
unit_count: "{{ elasticsearch_curator_hard_retention_period_days }}"
2:
action: close
description: >-
Closes indices
options:
ignore_empty_list: True
continue_if_exception: True
filters:
- filtertype: pattern
kind: prefix
value: "{{ elasticsearch_curator_index_pattern }}"
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: "{{ elasticsearch_curator_soft_retention_period_days }}"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Continue to run all actions if one action failed in Elasticsearch
curator.
`LP#1954720 <https://bugs.launchpad.net/kolla/+bug/1954720>`__