Skip to content

[BUG] repository-s3 plugin is broken in mainline #17426

@rishabh6788

Description

@rishabh6788

Describe the bug

Getting below error while trying to register an s3 repository using latest build for 3.0.0-alpha1

[ec2-user@ip-172-31-23-58 default]$ curl -X PUT "http://opense-clust-***********-692e187bb21cd8d5.elb.us-east-1.amazonaws.com/_snapshot/benchmark-workloads-repo-3x" -H "Content-Type: application/json" -d '
> {
>   "type": "s3",
>   "settings": {
>     "bucket": "benchmark-***********",
>     "base_path": "workload-*******",
>     "region": "*****"
>   }
> }'

{"error":{"root_cause":[{"type":"repository_exception","reason":"[benchmark-workloads-repo-3x] failed to create repository"}],"type":"repository_exception","reason":"[benchmark-workloads-repo-3x] failed to create repository","caused_by":{"type":"null_pointer_exception","reason":"Cannot invoke \"org.opensearch.repositories.s3.async.AsyncExecutorContainer.getStreamReader()\" because \"this.normalExecutorBuilder\" is null"}},"status":500}[

Related component

Plugins

To Reproduce

  1. Download the latest tar for 3.0.0-alpha1 version.
  2. Install respository-s3 plugin and make sure the required credentials and permissions are configured.
  3. register a snapshot repository
  4. See error

Expected behavior

The cluster should return 200 response.

Additional Details

Use tarball https://artifacts.opensearch.org/snapshots/core/opensearch/3.0.0-alpha1-SNAPSHOT/opensearch-min-3.0.0-alpha1-SNAPSHOT-linux-x64-latest.tar.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    PluginsStorageIssues and PRs relating to data and metadata storagebugSomething isn't workinguntriaged

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions