Log retention feature absent in OpenSearch after migration from Elasticsearch

Bug #2047037 reported by Bartosz Bezak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Status tracked in Caracal
Antelope
Fix Released
Undecided
Unassigned
Bobcat
Fix Released
Undecided
Unassigned
Caracal
Fix Released
Undecided
Unassigned
Yoga
Fix Released
Undecided
Unassigned
Zed
Fix Released
Undecided
Unassigned

Bug Description

Post-migration to OpenSearch from Elasticsearch there is no log retention feature.
Elasticsearch Curator, used earlier, doesn't work with OpenSearch, resulting in a lack of automated log management.

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :
Bartosz Bezak (bbezak)
summary: Log retention feature absent in OpenSearch after migration from
- ElasticSearch
+ Elasticsearch
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/867118
Committed: https://opendev.org/openstack/kolla-ansible/commit/5e5a2dca0900e5c167e1ab55ef6dc14198ce2903
Submitter: "Zuul (22348)"
Branch: master

commit 5e5a2dca0900e5c167e1ab55ef6dc14198ce2903
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: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/904096

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/904097

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/904098

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/904099

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/904096
Committed: https://opendev.org/openstack/kolla-ansible/commit/e5750d0e94a78abd46d8811130bd7dbf4ccd037a
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit e5750d0e94a78abd46d8811130bd7dbf4ccd037a
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: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba
    (cherry picked from commit 5e5a2dca0900e5c167e1ab55ef6dc14198ce2903)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/904097
Committed: https://opendev.org/openstack/kolla-ansible/commit/2c3ece15621da67318cdc8534e2bcdf6f05074ea
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 2c3ece15621da67318cdc8534e2bcdf6f05074ea
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: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba
    (cherry picked from commit 5e5a2dca0900e5c167e1ab55ef6dc14198ce2903)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/904098
Committed: https://opendev.org/openstack/kolla-ansible/commit/897d6fbf755a9b8ada6c10e08cbf9348eafdf139
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 897d6fbf755a9b8ada6c10e08cbf9348eafdf139
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: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba
    (cherry picked from commit 5e5a2dca0900e5c167e1ab55ef6dc14198ce2903)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/904099
Committed: https://opendev.org/openstack/kolla-ansible/commit/0a7ad80a0f06c9fe879b97c92a5e0b98cd7ef9f6
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 0a7ad80a0f06c9fe879b97c92a5e0b98cd7ef9f6
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: I5c6d938f2bc380f1575ee4f16fe17c6dca37dcba
    (cherry picked from commit 5e5a2dca0900e5c167e1ab55ef6dc14198ce2903)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 16.3.0

This issue was fixed in the openstack/kolla-ansible 16.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 17.1.0

This issue was fixed in the openstack/kolla-ansible 17.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.11.0

This issue was fixed in the openstack/kolla-ansible 14.11.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 15.4.0

This issue was fixed in the openstack/kolla-ansible 15.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.