opensearch-project / security

🔐 Secure your cluster with TLS, numerous authentication backends, data masking, audit logging as well as role-based access control on indices, documents, and fields
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
193 stars 275 forks source link

opendistro_security-1.1.0.0.zip not found #71

Closed shabtaisharon closed 5 years ago

shabtaisharon commented 5 years ago

I'm trying to install the plugin to my ES v7.1.1 and i'm getting the below error:

➜  elasticsearch-7.1.1 git:(ESCP-252) ✗ ./bin/elasticsearch-plugin install -b com.amazon.opendistroforelasticsearch:opendistro_security:1.1.0.0
-> Downloading com.amazon.opendistroforelasticsearch:opendistro_security:1.1.0.0 from maven central
Exception in thread "main" java.io.FileNotFoundException: https://repo1.maven.org/maven2/com/amazon/opendistroforelasticsearch/opendistro_security/1.1.0.0/opendistro_security-1.1.0.0.zip
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:263)
    at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:379)
    at org.elasticsearch.plugins.InstallPluginCommand.downloadAndValidate(InstallPluginCommand.java:454)
    at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:264)
    at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:229)
    at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)
    at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
    at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
    at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
    at org.elasticsearch.cli.Command.main(Command.java:90)
    at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
shabtaisharon commented 5 years ago

I can see that you don't have v1.1.0.0 uploaded yet to maven https://mvnrepository.com/artifact/com.amazon.opendistroforelasticsearch/opendistro_security

Screen Shot 2019-07-03 at 11 20 54 AM

aetter commented 5 years ago

Hi @shabtaisharon, correct, we haven't released 1.1.0 yet. If you're in a hurry and don't mind upgrading again when we release 1.1.0, try sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-security/opendistro_security-1.1.0.0.zip.

shabtaisharon commented 5 years ago

thank you @aetter