Comments (9)
@edwarnicke Sure. Meet you there :)
from cmd-forwarder-vpp.
@richardstone Thanks for finding this.
@denis-tingaikin @glazychev-art Any ideas?
from cmd-forwarder-vpp.
This is a good catch. We'll consider the FATAL problem within networkservicemesh/sdk#1170
Moreover, we're planning to add advanced healing when two components die. @glazychev-art Could you remind issue number?
from cmd-forwarder-vpp.
@richardstone Looking at that logs and the code, this looks like the Forwarder is in the process of starting up and hits:
Lines 252 to 254 in 6898aff
Due to not being able to register with the Registry on startup (probably because the NSMgr isn't running yet).
Normally, the Forwarder would restart until the NSMgr is available to be registered with and then everything would converge... did that happen for you?
While we could consider other, potentially more graceful ways of handling this situation, it is the case that things should converge no matter what order the Forwarder, NSMgr, etc start in. If that's not happening, I'm very concerning bug. If convergence isn't happening fast enough, I'm quite open to talking about that as well, but would be curious if you have a notion of how fast you need it to be :)
from cmd-forwarder-vpp.
@edwarnicke In my case everything started to work just fine, shortly after the unexpected restart of the forwarder.
My concern is not about the time until we reach convergence in these cases, but the unexpected restart of the forwarder when it's unable to reach certain NSM components at the right time.
I'm okay with a bit slower start time for the new instance, so that it can wait - instead of restart - until it's able to reach every component.
from cmd-forwarder-vpp.
@edwarnicke In my case everything started to work just fine, shortly after the unexpected restart of the forwarder.
Glad everything started to work just fine :) That's the behavior I would expect.
My concern is not about the time until we reach convergence in these cases, but the unexpected restart of the forwarder when it's unable to reach certain NSM components at the right time. I'm okay with a bit slower start time for the new instance, so that it can wait - instead of restart - until it's able to reach every component.
I tend to think about this in layers:
- This is all working as designed... which is not to assert the design is correct :)
- The restart only happens if the registry isn't available initially to the Forwarder, if the registry disappears after becoming initially available, the Forwarder should be fine.
- Alarming users is not cool, even if things eventually end up being OK, so I'm very open to talking about less alarming ways to do this.
What would make this less alarming to you?
from cmd-forwarder-vpp.
The most alarming thing to me is that the forwarder restarted as soon as it faced a connection loss. If It could wait for a certain timeout (configurable) that would be the best, so if it get's connected to the other components within the specified timeout then everything is fine. In any other case it is free to restart, so the user gets notified about a - probably - bigger issue with the connection.
This should apply to every NSM component in my opinion.
from cmd-forwarder-vpp.
@richardstone Any chance you would be in the community meeting today (Tue) at 8am PT to discuss?
from cmd-forwarder-vpp.
Should be fixed with Implement 'retry' registry chain element networkservicemesh/sdk#1201
@richardstone Be free to reopen this issue if it will reproducible!
from cmd-forwarder-vpp.
Related Issues (20)
- Panic on VPP init
- Investigate for leaks in the forwarder and nsmgr HOT 5
- How to expose vpp init function parameters in forwarder-vpp? HOT 1
- Interface is not restored after restarting the forwarder HOT 10
- Ci/CD Automatic conflict resolving does not work HOT 2
- Dataplane part of `forwarder-vpp` leaks HOT 14
- Controlplane part of `forwarder-vpp` leaks HOT 1
- Forwarder has CVE-2022-46393 [Critical CVE] HOT 1
- Increased memory footprint HOT 5
- VPP neighbor table is not updated properly in case of IP or MAC address change HOT 7
- AF_XDP interface on public clusters
- [R&D] AF_XDP performance HOT 3
- Missing IPv6 neighbors in VPP HOT 2
- VPP sometimes crashed on signal (SIGILL, SIGSEGV) HOT 1
- cmd-forwarder-vpp should not depend on sdk-k8s
- AF_PACKET stopped receiving traffic HOT 8
- Forwarder sometimes crashes with segmentation fault after restart HOT 6
- Datapath healing does not work when host interface goes down and up again HOT 5
- Index out of range runtime error caused panic in forwarder-vpp HOT 2
- TestForwarderTestSuite/TestCombinations/Ethernet/Kernel/Vxlan is not stable
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 cmd-forwarder-vpp.