Elasticsearch Curator broken

Bug #1941073 reported by Piotr Parczewski
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Piotr Parczewski

Bug Description

Trying to run indices pruning in fresh deployment results in:

2021-08-25 12:19:28,181 INFO Preparing Action ID: 1, "close"
2021-08-25 12:19:28,182 INFO Creating client object and testing connection
2021-08-25 12:19:28,183 INFO Instantiating client object
2021-08-25 12:19:28,184 INFO Testing client connectivity
2021-08-25 12:19:28,190 ERROR Unable to connect to Elasticsearch cluster. Error: The client noticed that the server is not a supported distribution of Elasticsearch
2021-08-25 12:19:28,190 CRITICAL Curator cannot proceed. Exiting.

This is due to version mismatch between Elasticsearch python library and Elasticsearch cluster version deployed by Kolla - see https://github.com/elastic/curator/issues/1614.

Changed in kolla-ansible:
milestone: none → 13.0.0
assignee: nobody → Piotr Parczewski (parczewski)
Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
affects: kolla-ansible → kolla
Changed in kolla:
milestone: 13.0.0 → none
summary: - Elasticsearch curator broken
+ Elasticsearch Curator broken
Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.opendev.org/c/openstack/kolla/+/805990
Committed: https://opendev.org/openstack/kolla/commit/f31fbab84f215e12e5042a948a81cde6b5831678
Submitter: "Zuul (22348)"
Branch: master

commit f31fbab84f215e12e5042a948a81cde6b5831678
Author: Piotr Parczewski <email address hidden>
Date: Wed Aug 25 14:59:53 2021 +0200

    Fix Elasticsearch Curator

    Newest elasticsearch python library required by Curator does no longer
    work against the last OSS version of Elasticsearch (7.10.2). Pin it
    to the last known working version.

    Closes-Bug: #1941073
    Change-Id: Ic8f0554c95c1903640c98a7831b829c1f88f49ff

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
CINECA HPC sysmgt (hpc-sysmgt) wrote :

Hi,
we are running the elasticsearch_curator image builded 5 days ago

root@osctrl001-os:~# docker image inspect 1e9ec4229c26 | grep -A4 '"Labels":'
            "Labels": {
                "build-date": "20210905",
                "kolla_version": "12.0.2",
                "maintainer": "Kolla Project (https://launchpad.net/kolla)",
                "name": "elasticsearch-curator"
--
            "Labels": {
                "build-date": "20210905",
                "kolla_version": "12.0.2",
                "maintainer": "Kolla Project (https://launchpad.net/kolla)",
                "name": "elasticsearch-curator"

and this bug is still there

(elasticsearch-curator)[root@osctrl001-os /]# pip list | grep elastic
elasticsearch 7.14.1
elasticsearch-curator 5.8.4

thanks

Revision history for this message
CINECA HPC sysmgt (hpc-sysmgt) wrote :

I did not notice that this patch was applied to master branch... we are running the kolla wallaby containers. sorry for the comment above

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

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla/+/808495

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Thanks for noticing, I proposed a backport.

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

Reviewed: https://review.opendev.org/c/openstack/kolla/+/808495
Committed: https://opendev.org/openstack/kolla/commit/c978baf14349a4185dbb01bd47aecf7adb14a42d
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit c978baf14349a4185dbb01bd47aecf7adb14a42d
Author: Piotr Parczewski <email address hidden>
Date: Wed Aug 25 14:59:53 2021 +0200

    Fix Elasticsearch Curator

    Newest elasticsearch python library required by Curator does no longer
    work against the last OSS version of Elasticsearch (7.10.2). Pin it
    to the last known working version.

    Closes-Bug: #1941073
    Change-Id: Ic8f0554c95c1903640c98a7831b829c1f88f49ff
    (cherry picked from commit f31fbab84f215e12e5042a948a81cde6b5831678)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 13.0.0.0rc1

This issue was fixed in the openstack/kolla 13.0.0.0rc1 release candidate.

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

This issue was fixed in the openstack/kolla 12.1.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.