You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When clicking on the Inspect option for a visualization, dashboard, or any type with the inspect option in Dashboard Management > Saved Objects, the URL redirects incorrectly.
The URL redirects to: /management/opensearch-dashboards/objects/savedDashboards/<object-id>
instead of /app/management/opensearch-dashboards/objects/savedDashboards/<object-id>
This results in a 404 Not Found error with the following response:
Go to 'OpenSearch Dashboards > Dashboard Management > Saved Objects'
Click on 'Inspect of any existing saved object'
See error
Expected behavior
Should be able to inspect the saved object
OpenSearch Version
2.18.0
Dashboards Version
2.18.0
Environment
Opensearch cluster is deployed with Opensearch Operator on an AKS with security plugin enabled. Same error occurred with Opensearch running on docker as well.
version: '3'services:
opensearch-node1:
image: opensearchproject/opensearch:2.18.0container_name: opensearch-node1environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node1
- discovery.seed_hosts=opensearch-node1,opensearch-node2
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=admin123 # Sets the demo admin user password when using demo configuration, required for OpenSearch 2.12 and higherulimits:
memlock:
soft: -1hard: -1nofile:
soft: 65536# maximum number of open files for the OpenSearch user, set to at least 65536 on modern systemshard: 65536volumes:
- opensearch-data1:/usr/share/opensearch/dataports:
- 9200:9200
- 9600:9600# required for Performance Analyzernetworks:
- opensearch-netopensearch-node2:
image: opensearchproject/opensearch:2.18.0container_name: opensearch-node2environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node2
- discovery.seed_hosts=opensearch-node1,opensearch-node2
- cluster.initial_cluster_manager_nodes=opensearch-node1,opensearch-node2
- bootstrap.memory_lock=true
- OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
- OPENSEARCH_INITIAL_ADMIN_PASSWORD=admin123ulimits:
memlock:
soft: -1hard: -1nofile:
soft: 65536hard: 65536volumes:
- opensearch-data2:/usr/share/opensearch/datanetworks:
- opensearch-netopensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.18.0container_name: opensearch-dashboardsports:
- 5601:5601expose:
- '5601'volumes:
- ./opensearch-dashboards/config/opensearch_dashboards.yml:/usr/share/opensearch-dashboards/config/opensearch_dashboards.ymlnetworks:
- opensearch-netvolumes:
opensearch-data1:
opensearch-data2:
networks:
opensearch-net:
Tried reverse proxy to route the request from /management/opensearch-dashboards/{**any} to add prefix of /app end up with the empty page and network calls shows Opensearch Dashboards did not load properly. Check the server output for more information.
The text was updated successfully, but these errors were encountered:
Thanks for your issue, this bug had been solved in this PR: #8857 but it was not merged into 2.18.0 branch. Maybe you can use the 2.19.0 image version.
I can migrate to 2.19.0, but I rely on custom plugins that are on 2.18.0 . so, I will wait for those plugins upgrade then I will do the migration myself.
When clicking on the Inspect option for a visualization, dashboard, or any type with the inspect option in Dashboard Management > Saved Objects, the URL redirects incorrectly.
The URL redirects to:
/management/opensearch-dashboards/objects/savedDashboards/<object-id>
instead of
/app/management/opensearch-dashboards/objects/savedDashboards/<object-id>
This results in a 404 Not Found error with the following response:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should be able to inspect the saved object
OpenSearch Version
2.18.0
Dashboards Version
2.18.0
Environment
Opensearch cluster is deployed with Opensearch Operator on an AKS with security plugin enabled. Same error occurred with Opensearch running on docker as well.
Operator sample config:
https://github.com/opensearch-project/opensearch-k8s-operator/blob/main/opensearch-operator/examples/2.x/opensearch-cluster-custom-admin-user.yaml
Docker Compose config:
Tried reverse proxy to route the request from
/management/opensearch-dashboards/{**any}
to add prefix of/app
end up with the empty page and network calls showsOpensearch Dashboards did not load properly. Check the server output for more information.
The text was updated successfully, but these errors were encountered: