Comments (3)
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.
from tutorials.
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)
- Error:: source of modify_field invalid HOT 1
- [--Werro=legacy] error
- Unwanted packets during the p4 in mininet
- iperf has no result
- JSON error while make run HOT 1
- ModuleNotFoundError: No module named 'p4.tmp' HOT 3
- Topology.json and MAC Addr of next port HOT 7
- Include a link to the p4-guide installation scripts in the README HOT 5
- gRPC Error: Register reads are not supported yet (UNIMPLEMENTED) HOT 22
- How to close all logs? HOT 14
- ../../utils/Makefile:35: recipe for target 'run' failed HOT 4
- VM Image link issue HOT 9
- VM installation issue HOT 4
- Run the p4c tests HOT 3
- Issue with p4lang tutorials/exercises/basic HOT 2
- error:Invalid JSON file: build/ HOT 1
- xxx.p4.p4info.txt is empty HOT 2
- doubt HOT 1
- Incorrect output when using HashAlgorithm.crc16_custom consecutive times HOT 1
- [build error]When I want to compile the ECN project,error interrupt after I input 'make' command HOT 1
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 tutorials.