<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:12:14 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-167] Sending &quot;Administrative reset&quot; message causes &quot;BGP Error code 6 and subcode 3 not recognized&quot; exception</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-167</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;Version of bgpcep is is 0.3.1 (could not find any field where to state this). The &quot;version&quot; field contains only &quot;unspecified&quot;. Exact commit cannot be determined as I only have .jar files to work with. This bug is reportedly fixed in 0.4.0 but I have not tested that yet.&lt;/p&gt;

&lt;p&gt;&amp;#8212;&lt;/p&gt;

&lt;p&gt;When the speaker tries to close the connection gracefully, it sends a NOTIFICATION message with the request &quot;Administrative Reset&quot;. It then waits for ODL to confirm the &quot;Administrative Reset&quot; by closing the connection and after that it knows the ODL handled it OK and closes the connection. At least EXABGP is doing this.&lt;/p&gt;

&lt;p&gt;However when BGPCEP receives the &quot;Administrative Reset&quot; message, it crashes with the &quot;BGP Error code 6 and subcode 3 not recognized&quot; error. The session then remains stuck and any other connections attempts from the same host will fail due to &quot;Equal sessions with same direction&quot; error.&lt;/p&gt;

&lt;p&gt;Here is the part of the log relevant to this bug:&lt;/p&gt;

&lt;p&gt;15:03:26.927 UTC &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-5-5&amp;#93;&lt;/span&gt; TRACE o.o.p.b.r.i.BGPByteToMessageDecoder - Received to decode: ffffffffffffffffffffffffffffffff0027030603506565722044652d636f6e66696775726564&lt;br/&gt;
2014-11-14 15:03:26.928 UTC &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-5-5&amp;#93;&lt;/span&gt; TRACE o.o.p.b.p.i.m.BGPNotificationMessageParser - Started parsing of notification message: 0603506565722044652d636f6e66696775726564&lt;br/&gt;
2014-11-14 15:03:26.939 UTC &lt;span class=&quot;error&quot;&gt;&amp;#91;nettyThreadgroupModule$NioEventLoopGroupCloseable-5-5&amp;#93;&lt;/span&gt; WARN  i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.&lt;br/&gt;
io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: BGP Error code 6 and subcode 3 not recognized.&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:280) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:149) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:130) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Unknown Source) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_67&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: java.lang.IllegalArgumentException: BGP Error code 6 and subcode 3 not recognized.&lt;br/&gt;
        at org.opendaylight.protocol.bgp.parser.BGPError.forValue(BGPError.java:198) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.parser.impl.message.BGPNotificationMessageParser.parseMessageBody(BGPNotificationMessageParser.java:81) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.parser.impl.message.BGPNotificationMessageParser.parseMessageBody(BGPNotificationMessageParser.java:30) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleMessageRegistry.parseBody(SimpleMessageRegistry.java:31) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.parser.spi.AbstractMessageRegistry.parseMessage(AbstractMessageRegistry.java:61) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.protocol.bgp.rib.impl.BGPByteToMessageDecoder.decode(BGPByteToMessageDecoder.java:41) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:249) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:4.0.23.Final&amp;#93;&lt;/span&gt;&lt;br/&gt;
        ... 15 common frames omitted&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23407">BGPCEP-167</key>
            <summary>Sending &quot;Administrative reset&quot; message causes &quot;BGP Error code 6 and subcode 3 not recognized&quot; exception</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jbehran@cisco.com">Jozef Behran</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Nov 2014 17:13:53 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:21 +0000</updated>
                            <resolved>Tue, 18 Nov 2014 08:44:35 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>BGP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44857" author="dkutenicsova" created="Tue, 18 Nov 2014 08:44:35 +0000"  >&lt;p&gt;Fixed in master with commit: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12147/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12147/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2395</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=2395]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02am7:</customfieldvalue>

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