-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Jaeger Agent Not Connecting to Collector #1395
Comments
Could you please the value for the The option In any case, could you please try changing this:
to this:
|
Can you confirm what jaeger version are you using? The images in the template are not tagged so it seems you are running latest jaeger version. The problem is related to reporter changes in the agent. The latest image uses by default grpc reporter which we want to make default in jaeger 1.11 #1343. The So now you have two options:
We should upgrade our templates and expose grpc and use it. By making grpc default in Jaeger 1.11 we are going to break some deployments. Maybe we could still choose thrift if |
Might be a good approach, and produce a warning to say that grpc is now the default so should change. |
After I changed the arguments to args: ["--reporter.type=grpc", "--collector.host-port=100.69.87.41:14250"] I see the following error in the Pod/container logs {"level":"fatal","ts":1551700647.2718337,"caller":"agent/main.go:78","msg":"Could not create collector proxy","error":"unknown reporter type grpc, --collector.host-port=100.68.163.229:14250","errorVerbose":"unknown reporter type grpc, --collector.host-port=100.68.163.229:14250\nmain.createCollectorProxy\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:141\nmain.main.func1\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:76\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:800\nmain.main\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:121\nruntime.main\n\t/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:201\nruntime.goexit\n\t/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/asm_amd64.s:1333","stacktrace":"main.main.func1\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:78\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:800\nmain.main\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:121\nruntime.main\n\t/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:201"} And when I change arguments to args: ["--reporter.type=thrift", "--reporter.tchannel.host-port=100.69.87.41:14267"] I see the following error in the Pod/container logs {"level":"fatal","ts":1551701176.9590647,"caller":"agent/main.go:78","msg":"Could not create collector proxy","error":"unknown reporter type thrift","errorVerbose":"unknown reporter type thrift\nmain.createCollectorProxy\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:141\nmain.main.func1\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:76\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:800\nmain.main\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:121\nruntime.main\n\t/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:201\nruntime.goexit\n\t/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/asm_amd64.s:1333","stacktrace":"main.main.func1\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:78\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:762\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).ExecuteC\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:852\ngithub.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra.(*Command).Execute\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/vendor/github.com/spf13/cobra/command.go:800\nmain.main\n\t/home/travis/gopath/src/github.com/jaegertracing/jaeger/cmd/agent/main.go:121\nruntime.main\n\t/home/travis/.gimme/versions/go1.11.1.linux.amd64/src/runtime/proc.go:201"} |
Sorry it's not |
The grpc reporter should be recognized. What version of jaeger are you using? |
Not sure how I can tell which version is being pulled from git because I am using the following command to deploy Jaeger components to K8s Though changing to args: ["--reporter.type=tchannel", "--reporter.tchannel.host-port=100.69.87.41:14267"] seems to work. |
The version can be found on |
I have deployed an application to container along with Jaeger agent as side car deployment
Problem
Kubernetes used to startup both the containers in the pod with out any problem, from last week the jaeger agent seems to be having problems starting up within the same pod. When I looked at the container logs in the pod I see the following error
I am deploying Jaeger components to Kubernetes using the following command
My application yaml file looks like this
The collector host port is the correct one. I have manually replaced the --collector.host-port value by looking at the Kubernetes service
Proposal
I don't have a suggestion as to how to solve the problem.
Looks like there was a version upgrade from 1.9 to 1.10. Not sure if the issue I am experiencing has to do with the version upgrade. Please let me know why I am expriencing the above problem.
The text was updated successfully, but these errors were encountered: