From 714ccc3a7653833965a6c384418842fadc6641c3 Mon Sep 17 00:00:00 2001 From: Piotr Parczewski Date: Wed, 25 Aug 2021 14:59:53 +0200 Subject: [PATCH] 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 --- docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 | 2 ++ .../notes/fix-elasticsearch-curator-7876896ebbd41ad3.yaml | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 releasenotes/notes/fix-elasticsearch-curator-7876896ebbd41ad3.yaml diff --git a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 index f2024b2421..93ace296f3 100644 --- a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 +++ b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 @@ -26,7 +26,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {{ macros.configure_user(name='elasticsearch') }} +# NOTE(parallax): pin elasticsearch due to bug: https://bugs.launchpad.net/kolla/+bug/1941073 {% set elasticsearch_curator_pip_packages = [ + 'elasticsearch==7.13.*', 'elasticsearch-curator' ] %} diff --git a/releasenotes/notes/fix-elasticsearch-curator-7876896ebbd41ad3.yaml b/releasenotes/notes/fix-elasticsearch-curator-7876896ebbd41ad3.yaml new file mode 100644 index 0000000000..a4d3f75499 --- /dev/null +++ b/releasenotes/notes/fix-elasticsearch-curator-7876896ebbd41ad3.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue with Elasticsearch curator not working due to too new + python elasticsearch library. + `LP#1941073 `__