Comments (5)
I found the cause of this issue. I'm running the mininet install script on the VM which disables IPv6.
from openr.
Hello @butjar, thank you for raising the issue. Agree that Open/R should spit error or fatal when ipv6 is not enabled.
What are the logs when FibService comes up ?
Do you have good flag/syscall that can give status of ipv6 support on host ?
from openr.
Hello @butjar, thank you for raising the issue. Agree that Open/R should spit error or fatal when ipv6 is not enabled.
👍
What are the logs when FibService comes up ?
Successful log looks like this:
Log file created at: 2019/04/24 15:08:09
Running on machine: mininet-vm
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0424 15:08:09.430593 10772 Main.cpp:164]
I0424 15:08:09.441813 10777 Main.cpp:249] Starting Watchdog thread ...
I0424 15:08:09.442754 10772 NetlinkMessage.cpp:113] Netlink socket created.45
I0424 15:08:09.454826 10781 Main.cpp:284] Starting NetlinkEvl thread ...
I0424 15:08:09.467128 10787 Main.cpp:352] Starting main event loop...
I0424 15:08:09.470342 10786 Main.cpp:334] Starting NetlinkSystem server...
I0424 15:08:09.471438 10786 ThriftServer.cpp:226] libevent 2.0.21-stable method
epoll
I0424 15:08:09.471803 10786 ThriftServer.cpp:297] Using 0 SSL handshake threads
I0424 15:08:09.472631 10785 Main.cpp:310] Starting NetlinkFib server...
I0424 15:08:09.472726 10785 ThriftServer.cpp:226] libevent 2.0.21-stable method
epoll
I0424 15:08:09.472792 10785 ThriftServer.cpp:297] Using 0 SSL handshake threads
I0424 15:08:10.472007 10772 Main.cpp:92] Waiting for FibService to come up...
I0424 15:08:10.486464 10792 ThreadManager-inl.h:367] ThreadManager::add called w
ith numa == true, but not a NumaThreadManager
I0424 15:08:10.488356 10772 Main.cpp:103] FibService up. Waited for 1021 ms.
I0424 15:08:10.488356 10772 Main.cpp:103] FibService up. Waited for 1021 ms.
I0424 15:08:10.489377 10772 PersistentStore.cpp:144] Failed to read file content
s from '/tmp/aq_persistent_config_store.bin'. Error (2): No such file or directo
se from file: /tmp/aq_persistent_config_store.bin
I0424 15:08:10.491820 10845 Main.cpp:127] Starting PERSISTENT_STORE thread ...
I0424 15:08:10.493969 10846 Main.cpp:387] Starting ZmqMonitor thread...
I0424 15:08:10.496381 10847 Main.cpp:127] Starting KVSTORE thread ...
I0424 15:08:10.499099 10848 Main.cpp:127] Starting PREFIX_MANAGER thread ...
I0424 15:08:10.501531 10849 Main.cpp:127] Starting SPARK thread ...
I0424 15:08:10.501585 10849 Spark.cpp:237] Constructing Spark server for node r1
callbacks...
I0424 15:08:10.507259 10772 LinkMonitor.cpp:157] Loading link-monitor config
vents
I0424 15:08:10.510160 10850 Main.cpp:127] Starting LINK_MONITOR thread ...
fig. Setting node as UNDRAINED
I0424 15:08:10.512239 10851 Main.cpp:127] Starting DECISION thread ...
lbacks...
I0424 15:08:10.514895 10852 Main.cpp:127] Starting FIB thread ...
I0424 15:08:10.515913 10853 Main.cpp:793] Starting thriftCtrlServer thread ...
Do you have good flag/syscall that can give status of ipv6 support on host ?
The mininet install script for example disables IPv6 with several kernel parameters:
- In
/etc/sysctl.conf
:net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
- In
/etc/default/grub
:GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"
Maybe you could do something like this:
sysctl -a | grep disable_ipv6
I guess it's best to debug the FibService Thread and check what happens if you disable IPv6 like above and why it is not coming up.
from openr.
Hello @butjar - we have added solid check for IPv6 that is impossible to overlook - 89d390e#diff-3ff745aa12685f9160c30eaec4070600
Closing the issue. Thanks for flagging it and making Open/R better :)
from openr.
Awesome 👍
from openr.
Related Issues (20)
- Build broken in master HOT 2
- build fail(centos 7) HOT 1
- Failed to read thread allocated/de-allocated bytes: mallctl: not using jemalloc
- Build fail of util/Utils.h HOT 1
- openr_kvstore_snooper and clients connected to OpenrCtrl thrift server throw error HOT 1
- openr will crashing when it has 32 neighbor HOT 1
- Spark IOProvider Invalid argument error when >10 neighbors
- Move Read the Docs Integration to have new secret
- Make GitHub Actions Pass Again
- [question] Is NetLink a hard-dependency? HOT 2
- Build fail on ubuntu 18.04 HOT 2
- FBThrift 'py3' support needed: No module named 'openr.thrift' HOT 5
- Fix Doc Links
- multi-area route redistribution sets incorrect routes on one area HOT 4
- Document PolicyEngine & Config to advertise Static Routes HOT 4
- Compiling for aarch64 architecture HOT 9
- svsvfsfs HOT 1
- whwuiwuiui HOT 1
- Convert Docs from recommonmark to MyST-Parser
- Link to documentation is invalid HOT 2
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 openr.