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

buffer_overflow_exception when configuring a repository in opensearch cluster with splitted roles #61

Open
maxpschonder opened this issue Mar 7, 2023 · 2 comments

Comments

@maxpschonder
Copy link

Hey folks,

I'm facing an issue when I try to create a repository in an OpenSearch cluster with separate manager nodes without the data role assigned to the managers, I get the following error:

{
  "error" : {
    "root_cause" : [
      {
        "type" : "buffer_overflow_exception",
        "reason" : "buffer_overflow_exception: null"
      }
    ],
    "type" : "repository_verification_exception",
    "reason" : "[test] path [encryptedrepo-test] is not accessible on cluster-manager node",
    "caused_by" : {
      "type" : "repository_exception",
      "reason" : "[test] cannot create blob store",
      "caused_by" : {
        "type" : "execution_exception",
        "reason" : "execution_exception: java.nio.BufferOverflowException",
        "caused_by" : {
          "type" : "buffer_overflow_exception",
          "reason" : "buffer_overflow_exception: null"
        }
      }
    }
  },
  "status" : 500

I tried it with a cluster in a docker compose stack and it works, when all nodes in the stack have the data role assigned. Do you have any advice?

Thanks in advance,

Max

@ndejesus
Copy link

Hi,

I have the same issue, when i try to create repository, i have this BufferOverflowException error coming.
We also have splitted roles for our servers.
However, i try to reproduce it on docker and it works, even with splitted roles.

@maxpschonder: Could you share your docker compose file if you were able to reproduce?

@willyborankin
Copy link
Collaborator

Hmm was it due to the sec plugin enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants