Closed venilnoronha closed 5 years ago
I'm hitting this issue consistently with Zipkin and Jaeger Native as well.
When I tested https://github.com/envoyproxy/envoy/pull/6025 I validated all of the new configs for OT, Zipkin and Lightstep. Either way I can probably take a look at this tomorrow if you can wait.
@rnburn @objectiser
Looks like the updated yaml files from #6025 are being used, but possibly with an older version of envoy?
After doing some testing the only change required to make this work is to ensure that the docker compose
commands that build and launch the containers are using the latest Envoy images. Users without existing old images in their docker images
list won't hit this error.
@objectiser is right in that if you have old images they won't handle the new configs.
Sequence of commands is:
$ pwd
envoy/examples/jaeger-tracing
$ docker pull envoyproxy/envoy
$ docker pull envoyproxy/envoy-alpine
$ docker-compose up --build -d
$ docker-compose ps
@venilnoronha please validate and I'll create a docs PR to add the two docker pull
commands.
For those wondering, it doesn't appear to be a way to change the docker-compose.yaml
file to pull images as per the actual docker-compose pull
command line - https://docs.docker.com/compose/reference/build/. There are all sorts of crazy suggestions out there like deleting all images before doing a docker-compose up
. docker-compose pull
before up
might work but one only has so much time to waste on things related to Docker.
Pulling the latest copy of the Docker images worked. Thanks!
Jaeger Native is failing for me as the download and install of libjaegertracing_plugin.linux_amd64.so
is busted. Will look into this. I recall it was a pain when setting up on Linux.
Not too far and I hit another issue. I think I'm clearly missing something.
The docs don't mention anything about docker-machine
except for the curl
command. I assumed that I had to create a machine so I went ahead an executed the following command.
$ docker-machine create --driver virtualbox default
Then, when I execute the curl
command, I observe the following.
$ curl -v $(docker-machine ip):8000/trace/1
* Trying 192.168.99.100...
* TCP_NODELAY set
* Connection failed
* connect to 192.168.99.100 port 8000 failed: Connection refused
* Failed to connect to 192.168.99.100 port 8000: Connection refused
* Closing connection 0
curl: (7) Failed to connect to 192.168.99.100 port 8000: Connection refused
What am I missing?
@venilnoronha I've done a bunch of testing on this and I think we should drop any reference to docker-machine
. It is not required to run any of the sandboxes and adds to confusion and difficulty of getting the sandboxes running.
So you can replace $(docker-machine ip)
and $(docker-machine ip default)
with localhost
and everything should work.
Lastly I found bugs like the front envoy in the jaeger-native sandbox sending traces to the wrong port and therefore not showing up in Jaeger.
I need to modify the CORS sandbox to not use docker machines
.
tl;dr is a biggish documentation PR is coming. Please test localhost
as per above.
Yes, localhost
instead of $(docker-machine ip)
actually worked. Awesome, thanks!
I've tested both Jaeger Native and Zipkin tracing sandboxes.
Title: Jaeger sandbox is broken
Description:
Jaeger sandbox should run as explained in https://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/jaeger_tracing.html; however,
jaeger-tracing_front-envoy_1
exits with an error.Repro steps:
Logs: