Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Opening artifacts.opensearch.org give me access denied #1038

Closed
ghost opened this issue Dec 21, 2021 · 3 comments
Closed

[BUG] Opening artifacts.opensearch.org give me access denied #1038

ghost opened this issue Dec 21, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Dec 21, 2021

Describe the bug
I am trying to install sql plugin into opensearch, but when i try to install, it show me this link
https://artifacts.opensearch.org/downloads/kibana-plugins/opensearch-sql/opensearch-sql-1.1.0.zip
and write no valid url was found

To Reproduce
Steps to reproduce the behavior:

  1. Try to install Sql plugin
  2. Try to download plugin from link https://artifacts.opensearch.org/downloads/kibana-plugins/opensearch-sql/opensearch-sql-1.1.0.zip
  3. Shows me access denied

Expected behavior
Clear install, or at least download this plugin manualy, to install it manualy

Plugins
On screenshot

Screenshots
111

Host/Environment (please complete the following information):

  • OS: Docker container
  • Version 1.1.0
@dblock
Copy link
Member

dblock commented Dec 21, 2021

The website is backed by S3, when a file doesn't exist you get a 403, Access Denied.

That URL contains "kibana", so that looks wrong already. I'll move this into opensearch-dashboards, I don't think this is a problem with this particular plugin.

@dblock dblock transferred this issue from opensearch-project/sql Dec 21, 2021
@kavilla
Copy link
Member

kavilla commented Dec 22, 2021

Hello @solar-core,

A couple of things to un-bundle here.

First off, thanks for opening this! That is definitely a bug the auto-generate URL using kibana-plugins. But before that:

  • The SQL plugin is an OpenSearch plugin so you would want to install into OpenSearch not OpenSearch Dashboards [REF].
  • The OpenSearch Dashboards plugin corresponding plugin would be Query Workbench plugin [REF], which I see you already have installed. I'm assuming you are just using the image from docker hub to which case all the OpenSearch Projects released plugins should be included in OpenSearch and OpenSearch Dashboards [REF (prefixed with opensearch-)]. So if you are trying to install anything from OpenSearch then you should be able to run it out-of-the-box.

But if you were just verifying the install method and knew the above points then please ignore.

For the bug, there is a workaround where you can install where you can pass the direct URL: for 1.2 query workbench:

https://ci.opensearch.org/ci/dbc/bundle-build-dashboards/1.2.0/512/linux/x64/builds/plugins/queryWorkbenchDashboards-1.2.0.zip

So the full line would be would be:

./opensearch-dashboards-plugin install https://ci.opensearch.org/ci/dbc/bundle-build-dashboards/1.2.0/512/linux/x64/builds/plugins/queryWorkbenchDashboards-1.2.0.zip

I got this path by downloading https://opensearch.org/downloads.html the distribution and opening up the manifest.yml within the distribution and finding the corresponding plugin.

Next steps
For fixing this bug, passing by name of the plugin hits code that will auto-generate a URL and it should not include kibana-plugins and we can change it here but we will need a replacement that doesn't require us to know the proper build number. @dblock, @peternied, @peterzhuamazon, is there a latest or version plugins URL that is available so we can default to when someone passed a plugin name if we want to support this functionality?

@peternied
Copy link
Member

@solar-core @kavilla I've created a feature request in OpenSearch-Build with a couple of options for supporting latest

@ahopp ahopp added the bug Something isn't working label Jan 25, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
AMoo-Miki pushed a commit to AMoo-Miki/OpenSearch-Dashboards that referenced this issue Feb 10, 2022
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Mar 3, 2022
Update old and invalid reference to custom plugins within
the OpenSearch Project.

Note: At the time that this is committed there is no gurantee
that the latest build is the build that was select as the
final build.

Issue resolved:
opensearch-project#1038

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Mar 5, 2022
Update old and invalid reference to custom plugins within
the OpenSearch Project.

Note: At the time that this is committed there is no gurantee
that the latest build is the build that was select as the
final build.

Issue resolved:
opensearch-project#1038

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
kavilla added a commit to kavilla/OpenSearch-Dashboards-1 that referenced this issue Mar 7, 2022
Update old and invalid reference to custom plugins within
the OpenSearch Project.

Note: At the time that this is committed there is no gurantee
that the latest build is the build that was select as the
final build.

Issue resolved:
opensearch-project#1038

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
@kavilla kavilla closed this as completed in 9c82c52 Mar 8, 2022
opensearch-trigger-bot bot pushed a commit that referenced this issue Mar 8, 2022
Update old and invalid reference to custom plugins within
the OpenSearch Project.

Note: At the time that this is committed there is no gurantee
that the latest build is the build that was select as the
final build.

Issue resolved:
#1038

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit 9c82c52)
ananzh pushed a commit that referenced this issue Mar 8, 2022
Update old and invalid reference to custom plugins within
the OpenSearch Project.

Note: At the time that this is committed there is no gurantee
that the latest build is the build that was select as the
final build.

Issue resolved:
#1038

Signed-off-by: Kawika Avilla <kavilla414@gmail.com>
(cherry picked from commit 9c82c52)

Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants