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] Failure to add Azure snapshot repository #1735

Closed
PaulLesur opened this issue Dec 15, 2021 · 2 comments
Closed

[BUG] Failure to add Azure snapshot repository #1735

PaulLesur opened this issue Dec 15, 2021 · 2 comments
Labels
bug Something isn't working untriaged

Comments

@PaulLesur
Copy link

PaulLesur commented Dec 15, 2021

Describe the bug
We get 500 when we try to register an Azure storage container as a snapshots repository

To Reproduce
Follow these steps:

curl -sS -XPUT -H "Content-Type: application/json" -d '{"type":"azure","settings":{"client": "default", "container": "prod-snapshots-os"}}' http://localhost:9200/_snapshot/prod-snapshots-os;

The request returns :

{
  "error": {
    "root_cause": [
      {
        "type": "repository_verification_exception",
        "reason": "[prod-snapshots-os] cannot delete test data at "
      }
    ],
    "type": "repository_verification_exception",
    "reason": "[prod-snapshots-os] cannot delete test data at ",
    "caused_by": {
      "type": "rejected_execution_exception",
      "reason": "event executor terminated",
      "suppressed": [
        { "type": "exception", "reason": "#block terminated with an error" }
      ]
    }
  },
  "status": 500
}

Expected behavior
Get a 200.

Plugins

  • azure repository plugin
  • disabled: security plugin

Host/Environment (please complete the following information):

  • Docker image: opensearchproject/opensearch:1.2.1
  • Version 1.2.1

Aditionnal information
Even if we get an error, the repo is added to the list of repos (we can see it with a GET _cat/repositories). We are able to make snapshots successfuly.

@PaulLesur PaulLesur added bug Something isn't working untriaged labels Dec 15, 2021
@PaulLesur
Copy link
Author

Probably a duplicate of #1734

@reta
Copy link
Collaborator

reta commented Dec 15, 2021

@PaulLesur yes, that is the same reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

2 participants