Where can we get the repository-s3 Zip file for offline installs?

We can’t find the S3 zip file for offline installs. We found this page:
https://repo1.maven.org/maven2/org/opensearch/plugin/
… which lists the s3 plugin but it does not have a zip file. Is there a way to take all those jar files and just make them a zip?

TIA

1 Like

@Prudhvi Godithi

Same issue, the plugins should be in zip format for offline installs, according to the link above
https://repo1.maven.org/maven2/org/opensearch/plugin/repository-s3/2.3.0/
but seems only the plugins that come with Opensearch distribution are in zip format

Hope someone from OS group can answer this

Nobody answered this so we went with a work around. For anyone else facing this type of issue here’s what we did and it seems to work:

Do a plugin install on a system that has access.
Copy the S3 folders in /plugins and /config (you need both folders) from that system
Copy those folders to their respective folders on the offline systems
Restart the service

HTH

1 Like

Apologies for the late response - you can find plugin zips in the artifacts repository e.g. the repository-s3 plugin version 2.4.0 is at https://artifacts.opensearch.org/releases/plugins/repository-s3/2.4.0/repository-s3-2.4.0.zip

Simply substitute the plugin id and version for other combinations.

Hi All,

I am using Localstack to set up AWS environment in my Test project (Java-maven) and creating an S3 bucket. Also I have installed repository-s3 on the localstack container as well.
Also, I am using OpenSearch Highlevel client using Opensearch Docker
(DockerImageName DOCKER_IMAGE_NAME = DockerImageName
.parse(“opensearchproject/opensearch”)
.withTag(“2.9.0”):wink:
to create a repository of type S3 as below

String repositoryName = “newsflo-opensearch-snapshot”;
PutRepositoryRequest request = new PutRepositoryRequest(repositoryName);
request.type(“s3”);
request.settings(Settings.builder()
.put(“bucket”, bucketName)
.build());

    AcknowledgedResponse response = null;
    try {
        response = openSearchClient.snapshot().createRepository(request, RequestOptions.DEFAULT);
    } catch (IOException e) {
        throw new RuntimeException(e);
    }

I get the error as below

OpenSearchStatusException[OpenSearch exception [type=repository_exception, reason=[newsflo-opensearch-snapshot] repository type [s3] does not exist]]

Could anyone please help me to create repository of type s3 ? Am i missing anything please help