l5d incorrectly reporting/caching endpoints after service is scaled to 0
See original GitHub issueIssue Type:
- Bug report
- Feature request
What happened: l5d incorrectly reports the number endpoints available after a service has been scaled all the way down to 0 and stays in an invalid state even after scaling up.
Linkerd logs reports service failure and does not correctly remove the stale node IPs:
|l5d-h5lwn::l5d | E 0911 23:08:35.537 UTC THREAD28 TraceId:3656019fcecb838b: service failure: Failure(connection timed out: /10.44.5.204:9090 at remote address: /10.44.5.204:9090. Remote Info: Not Available, flags=0x09) with RemoteInfo -> Upstream Address: /10.44.2.192:38684, Upstream Client Id: Not Available, Downstream Address: /10.44.5.204:9090, Downstream Client Id: %/io.l5d.k8s.localnode/10.44.5.200/#/io.l5d.k8s.ns/http/reservation-srv, Trace Id: 3656019fcecb838b.be266a254a63552e<:b60c58529334b85c
|l5d-2kdvb::l5d | E 0911 23:08:35.536 UTC THREAD50 TraceId:d1893092c9eeb8e1: service failure: Failure(connection timed out: /10.44.2.190:9090 at remote address: /10.44.2.190:9090. Remote Info: Not Available, flags=0x09) with RemoteInfo -> Upstream Address: /10.44.2.192:36334, Upstream Client Id: Not Available, Downstream Address: /10.44.2.190:9090, Downstream Client Id: %/io.l5d.k8s.localnode/10.44.2.192/#/io.l5d.k8s.ns/http/reservation-srv, Trace Id: d1893092c9eeb8e1.664bb4085c05d9f8<:7bdef9c6b046c20e
What you expected to happen: l5d should correctly report new endpoints as available for a service as replica count goes up an down regardless of the number of replicas.
How to reproduce it (as minimally and precisely as possible):
- Scale down a service replica to 0 (at this point, service available is already incorrect).
- Scale service back up (still incorrect).
Anything else we need to know?:
- Running l5d as a daemonset.
- dtab is correctly reporting the set of prod IPs but requests themselves are failing to resolve.
Environment:
- linkerd/namerd version, config files: 1.2.0 config
- Platform, version, and config files (Kubernetes, DC/OS, etc): Kubernetes
- Cloud provider or hardware configuration: GKE
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
App Service throws EndpointNotFoundException errors after ...
Whenever the Scale Out is completed, we receive a high volume of errors in our App Service. The error states: 'System.ServiceModel.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s amazing, looking forward to checking it out. Thank you!
Hi @jsurdilla and @Taik, pull request #1638 should fix this issue. We’ll try and get the fix out as soon as possible!