Skip to content

Commit c4b12b1

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Pin OpenSearch Dashboards to 2.15"
2 parents 8ae55dd + 3c49991 commit c4b12b1

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

docker/opensearch/opensearch-dashboards/Dockerfile.j2

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1010
{{ macros.configure_user(name='opensearch-dashboards', shell='/bin/bash', homedir='/usr/share/opensearch-dashboards') }}
1111
{{ macros.enable_extra_repos(['opensearch-dashboards']) }}
1212

13-
{% set opensearch_dashboards_packages = ['opensearch-dashboards'] %}
13+
# NOTE(mgoddard): Pinning to 2.15 due to https://bugs.launchpad.net/kolla/+bug/2077319
14+
{% if base_package_type == 'deb' %}
15+
COPY apt_preferences_opensearch_dashboards /etc/apt/preferences.d/opensearch_dashboards
16+
{% endif %}
17+
18+
{% if base_package_type == 'rpm' %}
19+
{% set opensearch_dashboards_packages = [
20+
'opensearch-dashboards-2.15.*'
21+
] %}
22+
{% elif base_package_type == 'deb' %}
23+
{% set opensearch_dashboards_packages = [
24+
'opensearch-dashboards'
25+
] %}
26+
{% endif %}
1427

1528
{{ macros.install_packages(opensearch_dashboards_packages | customizable("packages")) }}
1629

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Package: opensearch-dashboards
2+
Pin: version 2.15.*
3+
Pin-Priority: 1000
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an `issue
5+
<https://github.com/opensearch-project/OpenSearch-Dashboards/issues/7626>`__
6+
in the OpenSearch Dashboards image where the discover page would hang after
7+
initial deployment when there is no index pattern. This has been resolved
8+
by reverting OpenSearch Dashboards to version 2.15.
9+
`LP#2077319 <https://bugs.launchpad.net/kolla/+bug/2077319>`__

0 commit comments

Comments
 (0)