jaegertracing / helm-charts

Helm Charts for Jaeger backend
Apache License 2.0
254 stars 338 forks source link

[Bug]: helm chart is not working with kafka . Both (kafka and exisitng kafka). #543

Open d4kverma opened 3 months ago

d4kverma commented 3 months ago

What happened?

helm install jaeger jaegertracing/jaeger \ --set provisionDataStore.kafka=true \ --set ingester.enabled=true I have tested it with built-in kafka and exsiting kafka . even with minkube env and AKS.

Steps to reproduce

  1. helm install jaeger jaegertracing/jaeger \ --set provisionDataStore.kafka=true \ --set ingester.enabled=true
    1. helm install jaeger jaegertracing/jaeger \ --set provisionDataStore.kafka=true \ --set ingester.enabled=true --version 1.0.1/0.74.1

Expected behavior

all pods should be runing.

Relevant log output

k logs jaeger-collector-869896cc99-m6p4j                                                                                                                                ─╯
2024/03/11 11:08:26 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined
2024/03/11 11:08:26 application version: git-commit=b620f0eaefa5f17ec4bd01195149f158023a4e8e, git-version=v1.53.0, build-date=2024-01-08T18:05:40Z
{"level":"info","ts":1710155306.411884,"caller":"flags/service.go:119","msg":"Mounting metrics handler on admin server","route":"/metrics"}
{"level":"info","ts":1710155306.4120812,"caller":"flags/service.go:125","msg":"Mounting expvar handler on admin server","route":"/debug/vars"}
{"level":"info","ts":1710155306.4124587,"caller":"flags/admin.go:130","msg":"Mounting health check on admin server","route":"/"}
{"level":"info","ts":1710155306.413606,"caller":"flags/admin.go:144","msg":"Starting admin HTTP server","http-addr":":14269"}
{"level":"info","ts":1710155306.413798,"caller":"flags/admin.go:122","msg":"Admin server started","http.host-port":"[::]:14269","health-status":"unavailable"}
{"level":"info","ts":1710155306.4149332,"caller":"kafka/factory.go:77","msg":"Kafka factory","producer builder":{"Brokers":["kafka:9092"],"RequiredAcks":1,"Compression":"none","CompressionLevel":0,"ProtocolVersion":"","BatchLinger":0,"BatchSize":0,"BatchMinMessages":0,"BatchMaxMessages":0,"Authentication":"none","Kerberos":{"ServiceName":"kafka","Realm":"","UseKeyTab":false,"Username":"","ConfigPath":"/etc/krb5.conf","KeyTabPath":"/etc/security/kafka.keytab","DisablePAFXFast":false},"TLS":{"Enabled":false,"CAPath":"","CertPath":"","KeyPath":"","ServerName":"","ClientCAPath":"","CipherSuites":null,"MinVersion":"","MaxVersion":"","SkipHostVerify":false,"ReloadInterval":0},"PlainText":{"Username":"","Mechanism":"PLAIN"}},"topic":"jaeger_v1_test"}
{"level":"fatal","ts":1710155307.2286043,"caller":"collector/main.go:82","msg":"Failed to init storage factory","error":"kafka: client has run out of available brokers to talk to: dial tcp: lookup kafka on 10.0.0.10:53: no such host","stacktrace":"main.main.func1\n\tgithub.com/jaegertracing/jaeger/cmd/collector/main.go:82\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\tgithub.com/jaegertracing/jaeger/cmd/collector/main.go:155\nruntime.main\n\truntime/proc.go:267"}

2024/03/11 11:08:06 maxprocs: Leaving GOMAXPROCS=2: CPU quota undefined
2024/03/11 11:08:06 application version: git-commit=b620f0eaefa5f17ec4bd01195149f158023a4e8e, git-version=v1.53.0, build-date=2024-01-08T18:05:40Z
{"level":"info","ts":1710155286.917271,"caller":"flags/service.go:119","msg":"Mounting metrics handler on admin server","route":"/metrics"}
{"level":"info","ts":1710155286.9181695,"caller":"flags/service.go:125","msg":"Mounting expvar handler on admin server","route":"/debug/vars"}
{"level":"info","ts":1710155286.9189365,"caller":"flags/admin.go:130","msg":"Mounting health check on admin server","route":"/"}
{"level":"info","ts":1710155286.9190047,"caller":"flags/admin.go:144","msg":"Starting admin HTTP server","http-addr":":14270"}
{"level":"info","ts":1710155286.9190311,"caller":"flags/admin.go:122","msg":"Admin server started","http.host-port":"[::]:14270","health-status":"unavailable"}
2024/03/11 11:08:07 gocql: dns error: lookup jaeger-cassandra on 10.0.0.10:53: no such host
{"level":"fatal","ts":1710155287.0473838,"caller":"ingester/main.go:65","msg":"Failed to init storage factory","error":"gocql: unable to create session: failed to resolve any of the provided hostnames","stacktrace":"main.main.func1\n\tgithub.com/jaegertracing/jaeger/cmd/ingester/main.go:65\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:983\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1115\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/cobra@v1.8.0/command.go:1039\nmain.main\n\tgithub.com/jaegertracing/jaeger/cmd/ingester/main.go:114\nruntime.main\n\truntime/proc.go:267"}

Screenshot

image

Additional context

No response

Jaeger backend version

No response

SDK

No response

Pipeline

No response

Stogage backend

KAFKA

Operating system

linux

Deployment model

kubernets ( AKS ,MINIKUBE)

Deployment configs

helm install jaeger jaegertracing/jaeger \                                                                                                                              
  --set provisionDataStore.kafka=true \
  --set ingester.enabled=true