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
Describe the bug
Opensearch dashboards doesn't work with management disabled.
There's an error after opening opensearch-dashboards in a browser:
Version: 2.9.0
Build: 6391
Error: No trigger [triggerId = SAVED_OBJECT_DELETE_TRIGGER] exists, for attaching action [actionId = SAVED_OBJECT_DELETE_ACTION].
at UiActionsService.attachAction (http://localhost:5601/6391/bundles/plugin/uiActions/uiActions.plugin.js:1:66816)
at UiActionsService.addTriggerAction (http://localhost:5601/6391/bundles/plugin/uiActions/uiActions.plugin.js:1:67733)
at bootstrapUiActions (http://localhost:5601/6391/bundles/plugin/visAugmenter/visAugmenter.plugin.js:1:187522)
at VisAugmenterPlugin.start (http://localhost:5601/6391/bundles/plugin/visAugmenter/visAugmenter.plugin.js:1:189345)
at PluginWrapper._callee2$ (http://localhost:5601/6391/bundles/core/core.entry.js:15:667501)
at tryCatch (http://localhost:5601/6391/bundles/plugin/customImportMapDashboards/customImportMapDashboards.plugin.js:13:786910)
at Generator.invoke [as _invoke] (http://localhost:5601/6391/bundles/plugin/customImportMapDashboards/customImportMapDashboards.plugin.js:13:790926)
at Generator.next (http://localhost:5601/6391/bundles/plugin/customImportMapDashboards/customImportMapDashboards.plugin.js:13:788105)
at plugin_asyncGeneratorStep (http://localhost:5601/6391/bundles/core/core.entry.js:15:664102)
at _next (http://localhost:5601/6391/bundles/core/core.entry.js:15:664419)
To Reproduce
Steps to reproduce the behavior:
Download opensearch-dashboard 2.9.0. Add to opensearch-dashboards.yml property:
management.enabled: false
Start server. Try open it in a browser
Expected behavior
I can use opensearch-dashboards without management
OpenSearch Version
2.9.0
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
Not relevant
Host/Environment (please complete the following information):
Not relevant
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I have been able to reproduce the issue and know why it is happening.
The root cause is that:
A lot of visualizations indicate that they require bundles from visAugmenter
visAugmenter requires bundles from savedObjectsManagement
savedObjectsManagement requires the management plugin.
As a result, if management is disabled everything falls apart.
Sadly, the code doesn't validate transitive requiredBundles for excluding a plugin and if it had, all the visualizations that need visAugmenter would be disabled. But because it is not, OSD is allowed to start with them enabled and then it fails on the front-end.
If you require disabling management, the solution is to not upgrade to 2.9.0 until this can be fixed.
Describe the bug
Opensearch dashboards doesn't work with management disabled.
There's an error after opening opensearch-dashboards in a browser:
To Reproduce
Steps to reproduce the behavior:
Download opensearch-dashboard 2.9.0. Add to opensearch-dashboards.yml property:
Start server. Try open it in a browser
Expected behavior
I can use opensearch-dashboards without management
OpenSearch Version
2.9.0
Dashboards Version
Please list the version of OpenSearch Dashboards being used.
Plugins
Not relevant
Host/Environment (please complete the following information):
Not relevant
The text was updated successfully, but these errors were encountered: