We previously used ElasticSearch Curator for managing log
retention. Now that we have moved to OpenSearch, we can use
the Index State Management (ISM) plugin which is bundled with
OpenSearch.
This change adds support for automating the configuration of
the ISM plugin via the OpenSearch API. By default, it has
similar behaviour to the previous ElasticSearch Curator
default policy.
Closes-Bug: #2047037
Change-Id: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba
(cherry picked from commit 5e5a2dca0900e5c167e1ab55ef6dc14198ce2903)
Reviewed: https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/904099 /opendev. org/openstack/ kolla-ansible/ commit/ 0a7ad80a0f06c9f e879b97c92a5e0b 98cd7ef9f6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 0a7ad80a0f06c9f e879b97c92a5e0b 98cd7ef9f6
Author: Doug Szumski <email address hidden>
Date: Wed Dec 7 14:50:21 2022 +0000
Set a log retention policy for OpenSearch
We previously used ElasticSearch Curator for managing log
retention. Now that we have moved to OpenSearch, we can use
the Index State Management (ISM) plugin which is bundled with
OpenSearch.
This change adds support for automating the configuration of
the ISM plugin via the OpenSearch API. By default, it has
similar behaviour to the previous ElasticSearch Curator
default policy.
Closes-Bug: #2047037
Change-Id: I5c6d938f2bc380 f1575ee4f16fe17 c6dca37dcba 167e1ab55ef6dc1 4198ce2903)
(cherry picked from commit 5e5a2dca0900e5c