Giter VIP home page Giter VIP logo

Comments (3)

antoninbas avatar antoninbas commented on July 24, 2024

I don't think the warning No handlers could be found for logger "thrift.transport.TSlocket" is relevant.
Also I don't think this is correct: "The table for S1 was populated during runtime". If the CLI cannot connect to the Thrift server, there is no way the table can be populated...

Did you check if you could run some of these older exercises: https://github.com/p4lang/tutorials/tree/master/examples ?

Our Pythons scripts actually check that the Thrift server can be reached when starting the switches (see https://github.com/p4lang/tutorials/blob/master/P4D2_2017/utils/mininet/p4_mininet.py#L98), so I'm surprised that this error is even possible. Do you see that log message in the output: https://github.com/p4lang/tutorials/blob/master/P4D2_2017/utils/mininet/p4_mininet.py#L146
If you do see it, it means that we were able to connect to the TCP server at some point.

You seem to imply in your question that the switches didn't crash. I don't see how it is possible for the switches to be running without their respective Thrift servers being available.
I think you want to make the switches are running. If they are, you want to make sure that the TCP ports 909x are open, e.g. using netstat. If they are, try to telnet to one of them. If you can go this far, then it should be straightforward to debug. If the ports are not open on the other hand, I have no idea what the problem could be.

from tutorials.

jyu911 avatar jyu911 commented on July 24, 2024

from tutorials.

gopchandani avatar gopchandani commented on July 24, 2024

Having the exact same issue with the VM that has been uploaded for P4D2_2017 (http://p4.org/p4-developer-day-2017/).

Tried telnetting the switches at ports 9090, 9091, 9092, and it gets through.
Still seeing the same error (could not connect to thrift client on port 9090) coming out of simple_switch_CLI.

from tutorials.

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.