Comments (9)
Hi @prasenforu, thanks for the writeup. To be clear, are you running istio itself? Or running only the bookinfo app? Are you deploying the bookinfo app using istioctl kube-inject
?
Assuming you're running only the bookinfo app, no kube-inject:
It works without http_proxy because the services are talking directly to each other, bypassing linkerd entirely. It's not immediately obvious what the issue is once http_proxy is redirecting to linkerd. I think the hostNetwork
of the incoming router should be true, not false. Beyond that, I would check linkerd logs to debug the issue. See https://discourse.linkerd.io/t/debugging-a-linkerd-setup/52
discourse.linkerd.io is where to post if you need more assistance! (github issues are for verified bugs or features.) Thanks!
from linkerd-examples.
Only running bookinfo app. Istio not in use.
Tested with hostNetwork
true also for incoming router also but same result.
I checked with only linkerd-cni.yml also but no luck.
from linkerd-examples.
Ok cool, yeah then you'll need to debug your setup further then to figure out why it's not working (eg looking at linkerd logs, metrics, admin dtab ui). Closing this for now. Please post on discourse.linkerd.io if you need more help!
from linkerd-examples.
I wiil post same issue in discourse.linkerd.io.
I am not too much experience in kubernetes, can you please help me how to add -log.level=DEBUG
in linkerd yml file for debugging purpose.
from linkerd-examples.
Hey @prasenforu -- you can add it as an additional arg in your linkerd container config in kubernetes. Something like:
containers:
- name: l5d
image: buoyantio/linkerd:1.1.2
args:
- /io.buoyant/linkerd/config/config.yaml
- "-log.level=DEBUG"
from linkerd-examples.
Just for your information, I post this issue in discourse.linkerd.io but looks like spam filter, Akismet, has temporarily hidden my post. So again posting update here.
After debug getting following logs
D 0719 03:24:49.799 UTC THREAD38 TraceId:58746e4545e80cbf: k8s ns default service reviews found
D 0719 03:24:49.800 UTC THREAD38 TraceId:58746e4545e80cbf: k8s ns default service reviews port http found + /
D 0719 03:24:49.800 UTC THREAD38 TraceId:58746e4545e80cbf: k8s ns default initial state: kubernetes, productpage, reviews, l5d, ratings, details, zipkin, zipkin-collector
D 0719 03:24:49.800 UTC THREAD38 TraceId:58746e4545e80cbf: k8s ns default service l5d found
D 0719 03:24:49.800 UTC THREAD38 TraceId:58746e4545e80cbf: k8s ns default service l5d port incoming found + /
D 0719 03:24:49.798 UTC THREAD38 TraceId:58746e4545e80cbf: k8s ns default initial state: kubernetes, productpage, reviews, l5d, ratings, details, zipkin, zipkin-collector
E 0719 03:25:04.035 UTC THREAD40 TraceId:261c45c27f88e062: service failure
com.twitter.finagle.NoBrokersAvailableException: No hosts are available for /svc/details:9080, Dtab.base=[/srv=>/#/io.l5d.k8s/default/http;/host=>/srv;/svc=>/host;/host/world=>/srv/world-v1;/host/details=>/srv/details;/host/reviews=>/srv/reviews;/host/ratings=>/srv/ratings], Dtab.local=[]. Remote Info: Not Available
E 0719 03:25:04.057 UTC THREAD41 TraceId:c296d05e0a396e82: service failure
com.twitter.finagle.NoBrokersAvailableException: No hosts are available for /svc/reviews:9080, Dtab.base=[/srv=>/#/io.l5d.k8s/default/http;/host=>/srv;/svc=>/host;/host/world=>/srv/world-v1;/host/details=>/srv/details;/host/reviews=>/srv/reviews;/host/ratings=>/srv/ratings], Dtab.local=[]. Remote Info: Not Available
E 0719 03:25:04.074 UTC THREAD43 TraceId:3d914cc73711c984: service failure
com.twitter.finagle.NoBrokersAvailableException: No hosts are available for /svc/reviews:9080, Dtab.base=[/srv=>/#/io.l5d.k8s/default/http;/host=>/srv;/svc=>/host;/host/world=>/srv/world-v1;/host/details=>/srv/details;/host/reviews=>/srv/reviews;/host/ratings=>/srv/ratings], Dtab.local=[]. Remote Info: Not Available
copied error message /svc/reviews
into the path & output as follows.
Looks like dtab
section need to edit, though its not clear how to dtab need to to setup based on my application.
Can you please help me to make dtab section based on my application yml file.
Thanks in advance.
from linkerd-examples.
Please help me.
from linkerd-examples.
I marked https://discourse.linkerd.io/t/application-not-working-after-configuring-my-application-with-http-proxy-environment-variable/173 as not-spam, so please continue the conversation there.
from linkerd-examples.
Tnx 😀
from linkerd-examples.
Related Issues (20)
- DCOS linkerd-to-linkerd with egress HOT 5
- Error parsing flag "com.twitter.finagle.tracing.debugTrace": flag undefined HOT 2
- Update vendored grpc-go for helloworld (and any other go-grpc examples) to be >= grpc-go 1.3.0 HOT 1
- Permission problems running "hello world" example on 1.8.7-gke.1 HOT 3
- remove `beta` from linkerd-rbac.yml title
- add rbac to all linkerd configs
- How to add a service after linkerd started. HOT 1
- Consolidated example for Linkerd+Namerd
- additional test dimensions in lifecycle test environment
- TCP connection failed for host ip and the host port
- Failed to compile custom identifier plugin HOT 2
- Grafana seems to fail in the docker-compose command HOT 1
- Add Steps: Remove Getting Started panel from Grafana
- [Example] HTTP/HTTPS Proxy to external public websites?
- ECS example, host port 53 - address already in use HOT 1
- [DOC]: clarify if this repository is for linkerd v1 or v2 HOT 2
- Update examples to run in linkerd 2 HOT 1
- [gitops] the server could not find the requested resource HOT 4
- `use of internal package not allowed` when trying to build linkerd-tcp example
- Linkerd pods in Error state
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linkerd-examples.