<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:29 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[BGPCEP-918] BGP session crash with unknown BGP Link State TLV</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-918</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;When using Cisco router IOS-XR 6.5.x or 7.0.x, as BGP Link State speaker, BGP session crash when decoding unknown Link State TLV.&lt;/p&gt;

&lt;p&gt;First, LinkAttributesParser warn about valid link attribute (in fact about attribute it is not able to decode). This produce a BGPDocumentedException in bgp-parser. After that, BGP session crashes and ODL attempt to re-open the BGP session. However, the BGP session has not been properly close i.e. the Cisco Router doesn&apos;t see that the BGP session close. Thus, in turn to the new BGP Open message, the Router close it with a CEASE=6 reason (which is normal as the router feel that the peer try to re-open an on-going BGP session). After that, ODL enter in a loop where it try to open the BGP session, and the Router to close it with the CEASE=6 reason.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;2020-07-15T19:31:47,720 | WARN &#160;| epollEventLoopGroup-7-1 | LinkAttributesParser &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 215 - org.opendaylight.bgpcep.bgp-linkst&lt;br/&gt;
ate - 0.13.1 | TLV 1173 is not a valid link attribute, ignoring it &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;br/&gt;
2020-07-15T19:31:47,989 | ERROR | epollEventLoopGroup-7-1 | BGPDocumentedException &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 223 - org.opendaylight.bgpcep.bgp-parser&lt;br/&gt;
-api - 0.13.1 | Error = MALFORMED_ATTR_LIST&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;2020-07-15T19:31:58,217 | INFO &#160;| epollEventLoopGroup-7-3 | BGPSessionImpl &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 229 - org.opendaylight.bgpcep.bgp-rib-im&lt;br/&gt;
pl - 0.13.1 | Closing session: BGPSessionImpl&lt;/p&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unknown macro: {channel=[id}&lt;/span&gt; &lt;/div&gt;
&lt;p&gt; &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;br/&gt;
2020-07-15T19:31:58,217 | INFO &#160;| epollEventLoopGroup-7-3 | BGPPeer &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 229 - org.opendaylight.bgpcep.bgp-rib-im&lt;br/&gt;
pl - 0.13.1 | Session with peer 10.194.77.240 terminated: BGPTerminationReason{error=CEASE} &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&lt;br/&gt;
2020-07-15T19:31:58,218 | INFO &#160;| epollEventLoopGroup-7-3 | BGPPeer &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 229 - org.opendaylight.bgpcep.bgp-rib-im&lt;br/&gt;
pl - 0.13.1 | Closing session with peer&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The only way to stop this behavior is to stop ODL or delete BGP peer.&lt;/p&gt;

&lt;p&gt;Here, the unknown TLV is a valid one i.e. MSD TLV&lt;/p&gt;

&lt;p&gt;The expected behavior is to raise only a warning message without the BGPDocumentedException&lt;/p&gt;

&lt;p&gt;The expected&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="33098">BGPCEP-918</key>
            <summary>BGP session crash with unknown BGP Link State TLV</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ajayslele">Ajay Lele</assignee>
                                    <reporter username="odd22">Olivier Dugeon</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Jul 2020 17:31:28 +0000</created>
                <updated>Thu, 17 Sep 2020 16:31:02 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="68598" author="rovarga" created="Fri, 4 Sep 2020 08:53:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=odd22&quot; class=&quot;user-hover&quot; rel=&quot;odd22&quot;&gt;odd22&lt;/a&gt; can you capture a BGP trace of the conversation?&lt;/p&gt;</comment>
                            <comment id="68621" author="odd22" created="Thu, 17 Sep 2020 16:31:02 +0000"  >&lt;p&gt;Robert,&lt;/p&gt;

&lt;p&gt;I just uploaded a whireshark capture and karaf.log as requested.&lt;/p&gt;

&lt;p&gt;Test has been conducted against a Cisco IOS-XR 6.5.3 (running as VM) advertising through BGP-LS an IS-IS topology with Traffic Engineering, IPv6, Segment Routing and Extended Metrics. ODL uses the IP address 10.194.77.10 and Cisco router 10.194.77.241.&lt;/p&gt;

&lt;p&gt;In karaf.log, search for &quot;&lt;em&gt;BGPDocumentedException&lt;/em&gt;&quot; for the beginning of the problem, where you find that some TLVs are not known and thus handle, but raising an exception instead of just ignoring them. Then, the problem occurs because the exception close the TCP channel without sending a BGP Close message. So, each time ODL attempt to re-establish the BGP session, the Cisco send back a BGP Notification message with Error code Cease (6).&lt;/p&gt;

&lt;p&gt;Don&apos;t hesitate to contact me for more explanation.&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;

&lt;p&gt;Olivier&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15810" name="bgpls-error-karaf.log" size="723148" author="odd22" created="Thu, 17 Sep 2020 16:22:10 +0000"/>
                            <attachment id="15809" name="bgpls-error.pcapng" size="27008" author="odd22" created="Thu, 17 Sep 2020 16:22:07 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03u13:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>