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
This commit is contained in:
Lukasz Zalewski 2023-08-17 14:09:44 +01:00
parent d49cca5492
commit aadc290613
2 changed files with 8 additions and 1 deletions

View File

@ -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) }} \

View File

@ -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 <https://launchpad.net/kolla/+bug/2028048>`__