Merge "logstash: pin to 7.9.* for Elasticsearch OSS compatibility"

This commit is contained in:
Zuul 2021-10-01 13:42:43 +00:00 committed by Gerrit Code Review
commit c729bc21e8
4 changed files with 26 additions and 0 deletions

View File

@ -11,3 +11,9 @@ Pin-Priority: 1000
Package: td-agent* Package: td-agent*
Pin: version 4.0.* Pin: version 4.0.*
Pin-Priority: 1000 Pin-Priority: 1000
# NOTE(mgoddard): logstash 7.9.x is the last version that supports
# Elasticsearch OSS.
Package: logstash-oss
Pin: version 7.9.*
Pin-Priority: 1000

View File

@ -10,3 +10,9 @@ Pin-Priority: 1000
Package: td-agent* Package: td-agent*
Pin: version 4.0.* Pin: version 4.0.*
Pin-Priority: 1000 Pin-Priority: 1000
# NOTE(mgoddard): logstash 7.9.x is the last version that supports
# Elasticsearch OSS.
Package: logstash-oss
Pin: version 7.9.*
Pin-Priority: 1000

View File

@ -19,9 +19,17 @@ ENV JAVA_HOME /usr/lib/jvm/jre-11-openjdk/
ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-{{debian_arch}}/ ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-{{debian_arch}}/
{% endif %} {% endif %}
# NOTE(mgoddard): logstash 7.9.x is the last version that supports
# Elasticsearch OSS.
{% if base_package_type == 'rpm' %}
{% set logstash_packages = [
'logstash-oss-7.9.*',
] %}
{% else %}
{% set logstash_packages = [ {% set logstash_packages = [
'logstash-oss', 'logstash-oss',
] %} ] %}
{% endif %}
# Post-install script of Logstash fails when trying to install Logstash and # Post-install script of Logstash fails when trying to install Logstash and
# Java together. # Java together.

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Fixes an issue with the logstash image which was incompatible with the last
OSS version (7.10) of Elasticsearch. Logstash is now pinned to 7.9.
`LP#1941754 <https://bugs.launchpad.net/kolla/+bug/1941754>`__