-
apiVersion: v1
clusters:
- cluster:
server: http://xxxxx:8080/audit
name: audit
contexts:
- context:
cluster: audit
name: main
current-context: main
kind: Config
preferences: {} apiserver logs is normal, while from the kelemetry consumer pod log, it have the following error:
any advice for the webhook setting or any other setting need to be adjusted to make it work? #NAME READY STATUS RESTARTS AGE
hello-6c64f775c6-56ghh 1/1 Running 0 5m31s
hello-6c64f775c6-hlmdn 1/1 Running 0 5m30s
hello-6c64f775c6-kwbvw 1/1 Running 0 5m31s
hello-6c64f775c6-nx2gd 1/1 Running 0 5m31s
hello-6c64f775c6-wb5kz 1/1 Running 0 5m30s
kelemetry-collector-7459c48b85-psdk9 1/1 Running 0 3h6m
kelemetry-collector-7459c48b85-qzxrn 1/1 Running 0 3h6m
kelemetry-collector-7459c48b85-smm84 1/1 Running 0 3h6m
kelemetry-consumer-549d4b664b-nh7fd 1/1 Running 0 153m
kelemetry-consumer-549d4b664b-xbxtq 1/1 Running 0 153m
kelemetry-consumer-549d4b664b-zfglq 1/1 Running 0 153m
kelemetry-etcd-0 1/1 Running 0 14h
kelemetry-etcd-1 1/1 Running 0 14h
kelemetry-etcd-2 1/1 Running 0 14h
kelemetry-frontend-d984d9fb9-7mb6j 2/2 Running 0 3h6m
kelemetry-frontend-d984d9fb9-p2w7h 2/2 Running 0 3h6m
kelemetry-frontend-d984d9fb9-qp4h4 2/2 Running 0 3h6m
kelemetry-informers-fb8ddb6b4-8wvsn 1/1 Running 0 3h6m
kelemetry-informers-fb8ddb6b4-drh8w 1/1 Running 0 3h6m
kelemetry-informers-fb8ddb6b4-l4cpk 1/1 Running 0 3h6m
kelemetry-storage-0 1/1 Running 0 14h # kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kelemetry-collector LoadBalancer 10.100.80.232 10.120.127.224 4317:31324/TCP 80m
kelemetry-etcd LoadBalancer 10.98.116.229 10.120.127.224 2379:31447/TCP,2380:32611/TCP 75m
kelemetry-query LoadBalancer 10.110.123.5 10.120.127.224 16686:32328/TCP,8090:30873/TCP 86m
kelemetry-storage ClusterIP None <none> 17271/TCP 86m
kelemetry-webhook LoadBalancer 10.108.9.80 10.120.127.224 8080:31597/TCP 86m #kubectl logs kelemetry-consumer-8599cb4cc5-cbfkf
...
2023/07/14 07:21:02 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
2023/07/14 07:21:02 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
2023/07/14 07:21:02 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
2023/07/14 07:21:17 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
2023/07/14 07:21:27 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
2023/07/14 07:21:27 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
2023/07/14 07:21:27 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"
..... there is no 4317 port is listening in the collector container, is that something wrong with the collector? #kubectl exec -it kelemetry-collector-7cf7988fd5-pfvcb -- sh
/ # netstat -tulp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 :::14268 :::* LISTEN 1/collector-linux
tcp 0 0 :::14269 :::* LISTEN 1/collector-linux
tcp 0 0 :::14250 :::* LISTEN 1/collector-linux |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
the default values.yaml uses jaeger-collector 1.42, which does not have 4317 listening, change to 1.47, issue "2023/07/14 07:21:02 traces export: context deadline exceeded: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 10.100.80.232:4317: connect: connection refused"" disppear.
in the "kelemetry-consumer" pod logs, in the Jaeger UI still not tracing data display. |
Beta Was this translation helpful? Give feedback.
-
And in the "kelemetry-collector" log {"level":"info","ts":1689324582.5249555,"caller":"[email protected]/server.go:932","msg":"[core][Server #6] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"\\x16\\x03\\x01\\x01\\x1b\\x01\\x00\\x01\\x17\\x03\\x03\\xffaEQ<\\t\\xb8\\x97\\xe4]\\x80c\\xd7\""","system":"grpc","grpc_log":true} |
Beta Was this translation helpful? Give feedback.
-
Right, it appears that kelemetry-collector does not listen on port 4317. Not sure why it worked in my tests before; I will upgrade the chart in a few days after testing the new version. |
Beta Was this translation helpful? Give feedback.
-
The quickstart also uses 1.42 here: kelemetry/quickstart.docker-compose.yaml Line 30 in a832d28 but there is no problem collecting traces in the quickstart |
Beta Was this translation helpful? Give feedback.
-
fixed in #125 |
Beta Was this translation helpful? Give feedback.
fixed in #125