Merge "Pin OpenSearch Dashboards to 2.15"

This commit is contained in:
Zuul 2024-09-06 12:24:52 +00:00 committed by Gerrit Code Review
commit c4b12b1ace
3 changed files with 26 additions and 1 deletions

View File

@ -10,7 +10,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{{ macros.configure_user(name='opensearch-dashboards', shell='/bin/bash', homedir='/usr/share/opensearch-dashboards') }}
{{ macros.enable_extra_repos(['opensearch-dashboards']) }}
{% set opensearch_dashboards_packages = ['opensearch-dashboards'] %}
# NOTE(mgoddard): Pinning to 2.15 due to https://bugs.launchpad.net/kolla/+bug/2077319
{% if base_package_type == 'deb' %}
COPY apt_preferences_opensearch_dashboards /etc/apt/preferences.d/opensearch_dashboards
{% endif %}
{% if base_package_type == 'rpm' %}
{% set opensearch_dashboards_packages = [
'opensearch-dashboards-2.15.*'
] %}
{% elif base_package_type == 'deb' %}
{% set opensearch_dashboards_packages = [
'opensearch-dashboards'
] %}
{% endif %}
{{ macros.install_packages(opensearch_dashboards_packages | customizable("packages")) }}

View File

@ -0,0 +1,3 @@
Package: opensearch-dashboards
Pin: version 2.15.*
Pin-Priority: 1000

View File

@ -0,0 +1,9 @@
---
fixes:
- |
Fixes an `issue
<https://github.com/opensearch-project/OpenSearch-Dashboards/issues/7626>`__
in the OpenSearch Dashboards image where the discover page would hang after
initial deployment when there is no index pattern. This has been resolved
by reverting OpenSearch Dashboards to version 2.15.
`LP#2077319 <https://bugs.launchpad.net/kolla/+bug/2077319>`__