Skip to content

Commit 3c49991

Browse files
committed
Pin OpenSearch Dashboards to 2.15
OpenSearch Dashboards 2.16.0 discover page hangs after initial deployment due to an upstream bug [1]. This change fixes the issue by pinning OpenSearch Dashboards to 2.15. Note that it seemed safer not to pin OpenSearch to fix this issue, to avoid breaking deployments that have already deployed 2.16. [1] opensearch-project/OpenSearch-Dashboards#7626 Closes-Bug: #2077319 Change-Id: I0de9928b2657ab5f31580325e866bff28f2b5510
1 parent 3c130f2 commit 3c49991

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)