[BGPCEP-705] Unable to parse BGP attributes when injecting routes with receive flag set to false Created: 18/Oct/17  Updated: 27/Oct/23

Status: In Review
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: 0.19.9

Type: Bug Priority: Low
Reporter: Ajay Chhabria Assignee: Yrineu Felipe Rodrigues
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File bug_9310.pcap     Zip Archive karaf_9310.zip    
External issue ID: 9310

 Description   

Configure 2 controllers to run BGP.
1. On one controller change the receive flag to false.
2. Inject route from other controller to the one where the flag was set to false.
Observation: The BGP session continuously flapped and threw an error saying "Could not parse BGP attributes".
Caused by: java.lang.IndexOutOfBoundsException: readerIndex(4) + length(1) exceeds writerIndex(4): AbstractPooledDerivedByteBuf$PooledNonRetainedSlicedByteBuf(ridx: 4, widx: 4, cap: 4/4, unwrapped: PooledUnsafeDirectByteBuf(ridx: 74, widx: 74, cap: 512))



 Comments   
Comment by Ajay Chhabria [ 18/Oct/17 ]

Attachment karaf_9310.zip has been added with description: Karaf Logs

Comment by Ajay Chhabria [ 18/Oct/17 ]

Attachment bug_9310.pcap has been added with description: PCAP file

Comment by Yrineu Felipe Rodrigues [ 18/Oct/17 ]

It follows a patch with the fix: https://git.opendaylight.org/gerrit/#/c/64314/

Comment by Yrineu Felipe Rodrigues [ 26/Oct/17 ]

https://git.opendaylight.org/gerrit/#/c/64314/

Comment by Claudio David Gasparini [ 28/Nov/17 ]

Hi Ajay, Could you attach the step by step you are doing to modify the flag.

Regards, 

Generated at Wed Feb 07 19:13:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.