Log dropped packets in vrouter for troubleshooting
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
High
|
haji mohamed ashraf ali |
Bug Description
Today troubleshooting drops in vrouter is difficult and actualy challenging in production-like environment (there a many drops - hard to sort out which matters and which do not)
Agregated Drops are indeed reported in analytics, which actually fears end customers ("oh look contrail is dropping !"), although drop are in most cases a very legimitate action.
Current drop hunt is based on dropstats / vif --get-drop-stats / tcpdump or vifdump" this is time consuming.
This LP intends to greatly simplify the drop hunting and saves a lot of time by simply logging dropped packets.
The rationale is that, in many cases the simple fact to identify the dropped packet (info such as IP SRC/DST/
Minimal requirements:
- log dropped packets in the vrouter (it can be a memory buffer for performances)
- cli to see the drops buffer log
- we must be able to disable/enable the logging of drops packets
* this is either due to possible performance impact or for legal reason (certification telecom authorities / data privacy / etc may not allow to log by default)
- what has to be logged:
* input interface (and make it easy to filter with grep so we can get packets from a given interface easily)
* drop code reason (correlation with drop stats)
* packet dump with at least the important header/first xxx bytes (say 128 ?)
* packet length
Optional:
- export drop packets to analytics with compute_id, drop code, input interface, and packet header or dump.
- default logging mode vs non logging mode: if we see perfomances impact, we should implement the logging mode only in troubleshooting situation
(+ this can raises some certifcation issues due to confidentiality/)
- per interface loggging ?
- can we have the mac header too () ?
- improve analytics drop view (we should be able to see per vroutre drops counts, record/click on it to see the dropped packets).
tags: | added: vrouter |
Changed in juniperopenstack: | |
assignee: | nobody → Divakar Dharanalakota (ddivakar) |
milestone: | none → r5.0.0 |
Changed in juniperopenstack: | |
importance: | Undecided → Wishlist |
Changed in juniperopenstack: | |
importance: | Wishlist → Medium |
tags: | added: csg-blocker |
Review in progress for https:/ /review. opencontrail. org/47334
Submitter: haji mohamed ashraf ali (<email address hidden>)