Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

[BUG] ElasticSearch ISM plugin V 1.12.0.1 stand alone Installation Error - AccessDenied #454

@susmitasain

Description

@susmitasain

Describe the bug
On Elastic Search Version 7.10.0 I was trying to install stand alone opendistro ISM plugin - opendistro_index_management - 1.12.0.1 as per compatibility charts - https://opendistro.github.io/for-elasticsearch-docs/docs/install/plugins/#plugin-compatibility.

Trying to download using below commands -

sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip

but the following URL - https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip shows AccessDenied.

<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>V5YERAXG0WY366CQ</RequestId> <HostId>IMcQUp6isMmBt0Q6oh5SJ7Y31hMagPstpfk/ZyDUxOjV7bsTpVU3buhhp1Iw3BVT7AYBxYexeuo=</HostId> </Error>

Other plugins installed
opendistro-job-scheduler-1.12.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Navigate to the Elasticsearch home directory for V 7.10.0

  2. Run sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-job-scheduler/opendistro-job-scheduler-1.12.0.0.zip

  3. Run sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip

  4. See below error -
    -> Installing https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip -> Downloading https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip -> Failed installing https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip -> Rolling back https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip -> Rolled back https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro-index-management-1.12.0.1.zip at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1932) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1528) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224) at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:448) at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:329) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:251) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:224) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:91) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127) at org.elasticsearch.cli.Command.main(Command.java:90) at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)

Expected behavior
The ISM plugin should have installed .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions