添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
打酱油的豆芽  ·  What Database does ...·  22 小时前    · 
讲道义的鞭炮  ·  No support ...·  23 小时前    · 
飘逸的领结  ·  使用 ElasticSearch 作为 ...·  23 小时前    · 
痴情的键盘  ·  Blog | 纳速云·  3 天前    · 
爱搭讪的麻辣香锅  ·  .NET Framework ...·  1 月前    · 
卖萌的水桶  ·  android应用排序 - CSDN文库·  2 月前    · 
爱听歌的红烧肉  ·  LG24241U ...·  2 月前    · 

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

Describe the bug
I updated elasticsearch to v8.0.0.
After that Jaeger operator was broken. And I can't deploy Jaeger operator 1.20.0 again. For some reason the template for the jaeger-span index cannot be created. Before with elasticsearch 7.17.0 everything worked fine. Log:

Detected ElasticSearch Version 8
Creating index template jaeger-span
{"error":{"root_cause":[{"type":"parse_exception","reason":"unknown key [template] in the template "}],"type":"parse_exception","reason":"unknown key [template] in the template "},"status":400}
Traceback (most recent call last):
File "/es-rollover/esRollover.py", line 232, in <module>
main()
File "/es-rollover/esRollover.py", line 64, in main
perform_action(action, client, write_alias, read_alias, prefix+'jaeger-span', 'jaeger-span')
File "/es-rollover/esRollover.py", line 79, in perform_action
create_index_template(fix_mapping(mapping, shards, replicas), template_name)
File "/es-rollover/esRollover.py", line 103, in create_index_template
r.raise_for_status()
File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://elk1-fl.domain.com:9200/_template/jaeger-span

Jaeger config:

apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
  name: jaeger
spec:
  strategy: production
  query:
    options:
      query:
        base-path: /jaeger
  collector:
    replicas: 3
    resources:
      limits:
        cpu: 100m
        memory: 128Mi
  storage:
    type: elasticsearch
    options:
        num-shards: 3
        num-replicas: 0
        server-urls: https://elk1-fl.domain.com:9200
        use-aliases: true
        # create-index-templates: false
          ca: /es/certificates/ca.crt
        tags-as-fields:
          all: true
    esRollover:
      conditions: "{\"max_age\": \"1d\"}"
      readTTL: 168h                   
      schedule: "55 23 * * *"
    secretName: jaeger-secret
  volumeMounts:
    - name: certificates
      mountPath: /es/certificates/
      readOnly: true
  volumes:
    - name: certificates
      secret:
        secretName: elkcert

Expected behavior
Jaeger should be able to create indexes without any problems

Troubleshoot steps
I have completely removed all Jaeger elements except for the operator itself and existing secrets. I also checked Elasticsearch to see if there are indexes for Jaeger. There were no such indexes. Then I tried to re-create all the resources for Jaeger through the kind: Jaeger object, but got the same error.

Version (please complete the following information):

  • Jaeger version: Jaeger operator 1.20
  • Deployment: Kubernetes
  •