Jeager All in One with Opensearch Backend #4447
-
Hello, I am trying to get a Jaeger All in One Container running with an Opensearch storage backend running together using docker. This is my docker-compose file.
Unfortunately the Jaeger container looks to be having issues connecting to Opensearch Here is the error I get I have tried disabling the security plugin in opensearch and disabling tls in jeager but get the same output. I am able to run the following from a jeager all in one using in memory storage on the same network as opensearch
Any help and guidance is appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I was able to get this working with the following docker-compose.yml
One important thing was to allow the opensearch container to run and finish setting up before the jaeger container starts up. |
Beta Was this translation helpful? Give feedback.
-
@osmanghoni1 I am getting following error after using you .yml file |
Beta Was this translation helpful? Give feedback.
-
I tried using the docker-compose.yml file you put here but the jaeger-opensearch container cannot connect to opensearch with this error in the logs: 2023-09-29 12:14:42 {"level":"fatal","ts":1695982482.1504517,"caller":"./main.go:109","msg":"Failed to init storage factory","error":"failed to create primary Elasticsearch client: health check timeout: Head \"https://opensearch-node:9200\": dial tcp 192.168.32.2:9200: connect: connection refused: no Elasticsearch node available","stacktrace":"main.main.func1\n\t./main.go:109\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:916\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:1044\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:968\nmain.main\n\t./main.go:240\nruntime.main\n\truntime/proc.go:250"} |
Beta Was this translation helpful? Give feedback.
-
Are you sure you want httpS in this setup? |
Beta Was this translation helpful? Give feedback.
-
No, I don't want https
I tried using http but it's giving me the same error message
…________________________________
From: Yuri Shkuro ***@***.***>
Sent: Friday, September 29, 2023 5:03:10 PM
To: jaegertracing/jaeger ***@***.***>
Cc: infemuswulf ***@***.***>; Comment ***@***.***>
Subject: Re: [jaegertracing/jaeger] Jeager All in One with Opensearch Backend (Discussion #4447)
ES_SERVER_URLS: https://opensearch-node:9200
Are you sure you want httpS in this setup?
—
Reply to this email directly, view it on GitHub<#4447 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABSREORMBDQDCQTSTXIMTHTX43PKRANCNFSM6AAAAAAX27UASU>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
I was able to get this working with the following docker-compose.yml