From aadc290613217bacc14f81b17a7d26d2d3d716d2 Mon Sep 17 00:00:00 2001 From: Lukasz Zalewski Date: Thu, 17 Aug 2023 14:09:44 +0100 Subject: [PATCH] Pin elasticsearch-curator==5.8.4 elasticsearch-curator 8 is out and is incompatible with Elasticsearch 7 release. We pin curator version to release 5.8.4 which should support any Elasticsearch 7.x releases [1]. As elasticsearch has been dropped from Zed onwards, this only applies to Yoga and below. 1. https://www.elastic.co/guide/en/elasticsearch/client/curator/5.8/version-compatibility.html Closes-Bug: #2028048 Change-Id: I976781ed0bdc47760163e25c480ca8fe93f66517 --- docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 | 2 +- .../fix-elasesticsearch-curator-f2f154dc707d15bd.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-elasesticsearch-curator-f2f154dc707d15bd.yaml diff --git a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 index 7106d87cf5..128e2c7e5a 100644 --- a/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 +++ b/docker/elasticsearch/elasticsearch-curator/Dockerfile.j2 @@ -27,7 +27,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build # NOTE(parallax): pin elasticsearch due to bug: https://bugs.launchpad.net/kolla/+bug/1941073 {% set elasticsearch_curator_pip_packages = [ 'elasticsearch==7.13.*', - 'elasticsearch-curator' + 'elasticsearch-curator==5.8.4' ] %} RUN {{ macros.install_pip(['pip', 'wheel', 'setuptools'], constraints=false) }} \ diff --git a/releasenotes/notes/fix-elasesticsearch-curator-f2f154dc707d15bd.yaml b/releasenotes/notes/fix-elasesticsearch-curator-f2f154dc707d15bd.yaml new file mode 100644 index 0000000000..8cb2287247 --- /dev/null +++ b/releasenotes/notes/fix-elasesticsearch-curator-f2f154dc707d15bd.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes an issue with Elasticsearch curator not working due + to too new python elasticsearch-curator library not compatible + with Elasticsearch version 7. + `LP#2028048 `__