Skip to content

waypoint address missing in ebpf/endpoints #1533

@imuxin

Description

@imuxin

What happened:
The client service got "Connection reset by peer" error log.

waypoint log:

envoy connection external/envoy/source/common/tls/ssl_socket.cc:248        [Tags: "ConnectionId":"731052"] remote address:10.119.127.26:47892,TLS_error:|268435703:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:TLS_error_end        thread=21

We found that the epbf connect to 15008 of waypoint.

After check kmesh's ebpf dump API

kubectl exec -ti {kmesh-pod} -- curl http://localhost:15200/debug/config_dump/bpf/dual-engine

waypoint backendUid missed in the endpoints.

Finally, the bug could be here:

https://github.com/kmesh-net/kmesh/blob/main/pkg/controller/workload/workload_processor.go#L565-L567

Image

https://github.com/kmesh-net/kmesh/blob/main/pkg/controller/workload/workload_processor.go#L452-L466

Image

waypoint' LB policy default be FAILOVER. kmesh-daemonset may not initialize the locality

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions