Skip to content

Commit e97d3af

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Continue to run all actions if one action failed in curator" into stable/wallaby
2 parents 1f8f9bd + b710043 commit e97d3af

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
actions:
22
1:
3-
action: close
3+
action: delete_indices
44
description: >-
5-
Closes indices
5+
Delete indicies
66
options:
77
ignore_empty_list: True
8+
continue_if_exception: True
89
filters:
910
- filtertype: pattern
1011
kind: prefix
@@ -14,13 +15,14 @@ actions:
1415
direction: older
1516
timestring: '%Y.%m.%d'
1617
unit: days
17-
unit_count: "{{ elasticsearch_curator_soft_retention_period_days }}"
18+
unit_count: "{{ elasticsearch_curator_hard_retention_period_days }}"
1819
2:
19-
action: delete_indices
20+
action: close
2021
description: >-
21-
Delete indicies
22+
Closes indices
2223
options:
2324
ignore_empty_list: True
25+
continue_if_exception: True
2426
filters:
2527
- filtertype: pattern
2628
kind: prefix
@@ -30,4 +32,4 @@ actions:
3032
direction: older
3133
timestring: '%Y.%m.%d'
3234
unit: days
33-
unit_count: "{{ elasticsearch_curator_hard_retention_period_days }}"
35+
unit_count: "{{ elasticsearch_curator_soft_retention_period_days }}"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Continue to run all actions if one action failed in Elasticsearch
5+
curator.
6+
`LP#1954720 <https://bugs.launchpad.net/kolla/+bug/1954720>`__

0 commit comments

Comments
 (0)