exabgp icon indicating copy to clipboard operation
exabgp copied to clipboard

Parsing some l2vpn-evpn messages causes session flap

Open ottorei opened this issue 2 years ago • 8 comments

With version 4.2.21 peering with Juniper MX router as a route reflector client with family l2vpn-evpn, the BGP-session seems to constantly flap. Attachment contains the last errors being logged on ExaBGP side.

[exa-errors.txt]

ottorei avatar Jan 08 '24 15:01 ottorei

Please provide enough information for me to help. Output of the full log using exabgp -d.

thomas-mangin avatar Jan 08 '24 20:01 thomas-mangin

The full log file would be quite large since there are over 100k evpn routes being received. Would it help to capture the single raw message that causes this issue? Also, the full log file would expose sensitive information about the production network

ottorei avatar Jan 08 '24 20:01 ottorei

When using -d the logs contain the exchanged open messages and shared updates. The lines with the opens and way down the update before the crash is what I would need. A few other working similar updates would also be good to add to the test suite. Thank you

thomas-mangin avatar Jan 08 '24 22:01 thomas-mangin

Also please check with the main branch as this is where I will fix it.

thomas-mangin avatar Jan 08 '24 22:01 thomas-mangin

When using -d the logs contain the exchanged open messages and shared updates. The lines with the opens and way down the update before the crash is what I would need. A few other working similar updates would also be good to add to the test suite. Thank you

Thanks. Perhaps this log has this information. At least there is one working decode before the crash. [exa-mpls-evpn-debug.txt]

ottorei avatar Jan 09 '24 07:01 ottorei

Any change getting this fix merged on 4.2 release?

ottorei avatar Jan 12 '24 15:01 ottorei

@ottorei I could backport but no one confirmed that the change worked as expected.

thomas-mangin avatar Jan 15 '24 13:01 thomas-mangin

@ottorei I could backport but no one confirmed that the change worked as expected.

I'll patch my local instance and try it later this week.

ottorei avatar Jan 18 '24 16:01 ottorei

no news good news. closing as fixed in master.

thomas-mangin avatar Jun 12 '24 21:06 thomas-mangin