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

Support OpenSearch 2.x #3808

Closed
kjq opened this issue Jul 12, 2022 · 1 comment
Closed

Support OpenSearch 2.x #3808

kjq opened this issue Jul 12, 2022 · 1 comment

Comments

@kjq
Copy link

kjq commented Jul 12, 2022

What happened?

When upgrading OpenSearch to the latest version (in minikube or EKS) I get this error creating the index:

Error 400 (Bad Request): Setting index.mapper.dynamic was removed after version 6.0.0 [type=illegal_argument_exception]","stacktrace":"main.main.func1\n\t./main.go:85\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.5.0/command.go:872\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.5.0/command.go:990\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.5.0/command.go:918\nmain.main\n\t./main.go:151\nruntime.main\n\truntime/proc.go:250"}

Using an older version of OpenSearch v1.5.x does not have this issue. For both, I am using the Helm charts to deploy (not the operators).

Is there any special configuration that needs to happen for this or can I even use OpenSearch safely?

Steps to reproduce

  1. Install using OpenSearch 2.x - Jaeger collector fails
  2. Install using OpenSearch 1.5.x - Jaeger collector also installs

Expected behavior

OpenSearch 2.x is similar to 1.5.x when using Jaeger Collector

Relevant log output

Logs from Jaeger Collector while being applied to K8S cluster:

Error 400 (Bad Request): Setting index.mapper.dynamic was removed after version 6.0.0 [type=illegal_argument_exception]","stacktrace":"main.main.func1\n\t./main.go:85\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.5.0/command.go:872\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.5.0/command.go:990\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.5.0/command.go:918\nmain.main\n\t./main.go:151\nruntime.main\n\truntime/proc.go:250"}

Jaeger backend version

Jaeger 1.36.0 (latest helm chart)

Storage backend

OpenSearch 2.x (latest helm chart)

Configuration

Pretty out-of-the-box ES setup:

storage:
  type: elasticsearch
  elasticsearch:
    host: {{ .Values.opensearch.host }}
    port: {{ .Values.opensearch.port }}
    scheme: {{ .Values.opensearch.scheme | default "http" }}
    usePassword: false
    user: {{ .Values.opensearch.user }}
    password: {{ .Values.opensearch.pass }}
@kjq kjq added the bug label Jul 12, 2022
@kjq kjq changed the title [Bug]: Installing Jaeger Collection and OpenSearch 2.x fails on Index Mapper Jul 12, 2022
@kjq kjq changed the title Installing Jaeger Collection and OpenSearch 2.x fails on Index Mapper Installing Jaeger Collector and OpenSearch 2.x fails on Index Mapper Jul 12, 2022
@yurishkuro yurishkuro changed the title Installing Jaeger Collector and OpenSearch 2.x fails on Index Mapper Support OpenSearch 2.x Jul 12, 2022
@yurishkuro
Copy link
Member

Hopefully solved by #3966. Please comment if not.

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

No branches or pull requests

2 participants