opensearch-project / security-analytics-dashboards-plugin

Front end (UI) plugin to support security-analytics
Apache License 2.0
10 stars 47 forks source link

[BUG] OSD distribution for 3.0.0 is invalid due to security-analytics-dashboards-plugin #1185

Open gaiksaya opened 3 days ago

gaiksaya commented 3 days ago

What is the bug? We use nightly builds per version to create playgrounds here: https://playground.nightly.opensearch.org/3x/app/login? For a long time, 3.0.0 playground is not usable due to below error:

Version: 3.0.0
Build: 8004
Error: vega is undefined
@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:13:1728233
@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:13:1680414
@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:13:1680456
@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:13:2159585
__webpack_require__@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:1:936
@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:1:50640
__webpack_require__@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:1:936
@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:37:426256
__webpack_require__@https://playground.nightly.opensearch.org/3x/8004/bundles/plugin/securityAnalyticsDashboards/securityAnalyticsDashboards.plugin.js:1:936
get@https://playground.nightly.opensearch.org/3x/bootstrap.js:22:25
read@https://playground.nightly.opensearch.org/3x/8004/bundles/core/core.entry.js:15:435962
createPluginInstance@https://playground.nightly.opensearch.org/3x/8004/bundles/core/core.entry.js:15:438401
setup@https://playground.nightly.opensearch.org/3x/8004/bundles/core/core.entry.js:15:437765
setup@https://playground.nightly.opensearch.org/3x/8004/bundles/core/core.entry.js:15:442821

How can one reproduce the bug? Steps to reproduce the behavior:

Try deploying OSD tarball x64 distribution

What is the expected behavior? Cluster should come up and should be usable

What is your host/environment?

Do you have any screenshots? https://playground.nightly.opensearch.org/3x/app/login?

Do you have any additional context? Add any other context about the problem.

gaiksaya commented 3 days ago

I believe we saw a similar problem for 2.x (2.17) but it was resolved by the team. Not sure what the exact action item was. @amsiglan @riysaxen-amzn can you help here? Thanks!