Comments (8)
100 pods and no problem I ll be checking this out as we move on but it seems that this patch helped. What s more, it looks like it even helped with this problem...
time="2019-06-04T14:14:14Z" level=warning msg="Unable to deliver the notification, reciever end not ready." msg_id=83 msg_name=sw_interface_event msg_size=17
I was seeing this warn from time to time on many pods even though they were configured just fine.. Right now not even one pod contains this.
Thank you
from vpp-agent.
@milanlenco most likely related to the way notifications are handled:
2019-06-04 08:04:01,108 DEBG 'agent' stdout output:
time="2019-06-04 08:04:01.10817" level=debug msg="Interface state notification for memif181 (idx: 2): &{SwIfIndex:2 AdminState:0 LinkState:0 Deleted:false}" loc="ifplugin/interface_state.go(345)" logger=vpp-ifplugin.if-state
time="2019-06-04 08:04:01.10825" level=debug msg="Interface state notification for memif180 (idx: 1): &{SwIfIndex:1 AdminState:0 LinkState:0 Deleted:false}" loc="ifplugin/interface_state.go(345)" logger=vpp-ifplugin.if-state
+======================================================================================================================+
| Transaction #18 SB Notification |
+======================================================================================================================+
* transaction arguments:
- seq-num: 18
- type: SB Notification
- values:
- key: vpp/interface/memif181/link-state/DOWN
val: <EMPTY>
- key: vpp/interface/memif181/link-state/UP
val: <NIL>
2019-06-04 08:04:01,140 DEBG 'vpp' stdout output:
/usr/bin/vpp[11]: set_hw_interface_rx_mode: invalid interface
2019-06-04 08:04:01,140 DEBG 'agent' stdout output:
time="2019-06-04 08:04:01.13947" level=warning msg="failed to un-configure Rx-mode (VPPApiError: Unimplemented (-9)) - most likely the interface is already without a link" loc="descriptor/rx_mode.go(214)" logger=vpp-ifplugin.rx-mode-descriptor
o----------------------------------------------------------------------------------------------------------------------o
* executed operations (2019-06-04 08:04:01.108 +0000 UTC -> 2019-06-04 08:04:01.14 +0000 UTC, dur: 31ms):
1. DELETE [DERIVED IS-PENDING]:
- key: vpp/interface/memif181/rx-modes
- value: { name:"memif181" type:MEMIF rx_modes:<mode:ADAPTIVE default_mode:true > }
2. DELETE [WAS-OBTAINED]:
- key: vpp/interface/memif181/link-state/UP
- value: <EMPTY>
3. CREATE [OBTAINED]:
- key: vpp/interface/memif181/link-state/DOWN
- value: <EMPTY>
x----------------------------------------------------------------------------------------------------------------------x
| #18 took 31.2ms |
x----------------------------------------------------------------------------------------------------------------------x
It seems like the VPP sends notifications about UP and immediately another with DOWN after?
from vpp-agent.
Update.. As I found out this one was not actually the problematic one. The rx-mode is set up correctly to adaptive as I didn t know to check it like this
vpp# sh inter rx-placement
Thread 1 (vpp_wk_0):
node memif-input:
memif1/0 queue 0 (adaptive)
memif1/1 queue 0 (adaptive)
but the other one is polling and has the same set up
vpp# sh inter rx-placement
Thread 1 (vpp_wk_0):
node memif-input:
memif1/0 queue 0 (polling)
memif1/1 queue 0 (polling)
here is the log of that vpp (2).txt
from vpp-agent.
The first log is OK - the memif has re-connected and the rx-placement was re-created - you can ignore the warning. The second one is strange, seems that all notifications are lost somewhere along the way. I have added some temporary logs in PR #1367 as I cannot figure out what is going on from the existing logs...
from vpp-agent.
Adding updated logs with the PR #1367 changes vpp (2).txt
from vpp-agent.
Adding logs after kill vpp (2).txt
from vpp-agent.
Potential fix was merged into dev: #1369
from vpp-agent.
I will close this issue. Please open new one if you find more problems.
from vpp-agent.
Related Issues (20)
- CNAT plugin added HOT 1
- BUG: rest plugin return 500 /vpp/telemetry HOT 2
- Unable to start the `vpp-agent` Docker container in WSL
- kvscheduler internal graph bug HOT 4
- Deprecate clientv2 package
- Update k8s directory
- restful-api got configuration error. HOT 4
- BUG: srv6 ad failed to create ip neighbor HOT 1
- Is there any plan about supporting VPP 22.06 or 22.10? HOT 2
- How do I save my /confiuration interface configuration to etcd?
- Remove robot tests
- How to del some configuration by http ? HOT 1
- Unable to use REST plugin to configure vpp loopback interface
- Question: why telementry plugin use api sock to dump memory telemetry rather than stats.sock? HOT 2
- Question: does vpp-agent support linux-cp plugin? or how to send vpp cli commands through gRPC? HOT 2
- connect: No such file or directory HOT 1
- ligato Delivers the configuration of the linux host interface
- why (*InterfaceVppHandler).DumpInterfaces fail? HOT 3
- how to get interface status?
- Can we run the VPP Agent as part of the host process instead of container 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 vpp-agent.