Giter Club home page Giter Club logo

Comments (9)

esbie avatar esbie commented on May 18, 2024

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.

prasenforu avatar prasenforu commented on May 18, 2024

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.

esbie avatar esbie commented on May 18, 2024

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.

prasenforu avatar prasenforu commented on May 18, 2024

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.

klingerf avatar klingerf commented on May 18, 2024

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.

prasenforu avatar prasenforu commented on May 18, 2024

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.
image

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.

prasenforu avatar prasenforu commented on May 18, 2024

@klingerf

Please help me.

from linkerd-examples.

esbie avatar esbie commented on May 18, 2024

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.

prasenforu avatar prasenforu commented on May 18, 2024

Tnx 😀

from linkerd-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.