<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:34:09 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>[OPNFLWPLUG-1085] switch-idle-timeout does not work</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-1085</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;switch-idle-timeout used to work to detect when switch enters in idle state, for example when OF channel communication gets blocked by a firewall.&lt;/p&gt;

&lt;p&gt;When blocking communication from switch to controller:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
sudo iptables -A OUTPUT -p tcp -d {controllerIP} --dport 6633 -j DROP
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The controller should set the OF connection to idle after default switch-idle-timeout=15 sec:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;

2020-02-25T02:52:58,126 | INFO  | ofppool-0        | SystemNotificationsListenerImpl  | 397 - org.opendaylight.openflowplugin.impl - 0.6.3 | Switch Idle state occurred, node=/10.1.64.222:47564|auxId=0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And after that the OF connection goes down (see here oxygen karaf.log):&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
2020-02-25T02:53:00,126 | WARN  | ofppool-0        | SystemNotificationsListenerImpl  | 397 - org.opendaylight.openflowplugin.impl - 0.6.3 | Exception &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt;  waiting &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; echoReply from [/10.1.64.222:47564] in TIMEOUTING state: Waited 2000 milliseconds &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; com.google.common.util.concurrent.SettableFuture@33929ad[status=PENDING]
2020-02-25T02:53:00,127 | INFO  | ofppool-0        | SystemNotificationsListenerImpl  | 397 - org.opendaylight.openflowplugin.impl - 0.6.3 | ConnectionEvent:Closing connection as device is idle. Echo sent at Tue Feb 25 02:52:58 UTC 2020. Device:/10.1.64.222:47564, NodeId:openflow:18096668435427573921
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The above does not happen in Neon, Sodium or Magnesium.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32434">OPNFLWPLUG-1085</key>
            <summary>switch-idle-timeout does not work</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <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="dheenab">dheenadayalan b</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Feb 2020 03:38:35 +0000</created>
                <updated>Fri, 6 Nov 2020 03:07:51 +0000</updated>
                            <resolved>Thu, 5 Mar 2020 08:34:16 +0000</resolved>
                                                    <fixVersion>Magnesium</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="67888" author="tnevrekar" created="Tue, 25 Feb 2020 09:32:50 +0000"  >&lt;p&gt;This maybe related to&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-1058&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.opendaylight.org/browse/OPNFLWPLUG-1058&lt;/a&gt;&#160;aka&#160;&lt;a href=&quot;https://git.opendaylight.org/gerrit/gitweb?p=openflowplugin.git;a=commit;h=f985dee509f3a142552076da87dad3f0176d5b20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/gitweb?p=openflowplugin.git;a=commit;h=f985dee509f3a142552076da87dad3f0176d5b20&lt;/a&gt;&#160;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Shweta_Chaturvedi&quot; class=&quot;user-hover&quot; rel=&quot;Shweta_Chaturvedi&quot;&gt;Shweta_Chaturvedi&lt;/a&gt;&#160;could you please comment?&lt;/p&gt;</comment>
                            <comment id="67890" author="ecelgp" created="Tue, 25 Feb 2020 17:19:41 +0000"  >&lt;p&gt;This would explain the lack of log, but still I do not see the switch connection going down.&lt;/p&gt;</comment>
                            <comment id="67895" author="arunprakash" created="Wed, 26 Feb 2020 13:45:03 +0000"  >&lt;p&gt;Dheena has figured it out that the below review seems to causing this issue.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/openflowplugin/+/78199&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/openflowplugin/+/78199&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Switch idle state getting triggered if we revert the above review. He is working on a common fix and will update here based on the findings.&lt;/p&gt;</comment>
                            <comment id="67908" author="dheenab" created="Thu, 27 Feb 2020 16:45:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; Fix has been provided in the below change review&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/openflowplugin/+/88090&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/openflowplugin/+/88090&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Moved Idle handler just above the&#160; Delegating inbound within&#160; channel pipe-line.&lt;/p&gt;

&lt;p&gt;The reason is that Switch-idle event message fired by Idle handler were never consumed by delegating inbound , when it was added at the end of pipeline, by then delegating&#160; inbound would have already consumed channel in-active message.&lt;/p&gt;

&lt;p&gt;We were unable to replicate this issue&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-1039&quot; title=&quot;Not able to set SLAVE role on device openflow:97702827111235, reason: Was not able to propagate SLAVE role on device. Error: org.opendaylight.openflowplugin.impl.role.RoleChangeException: Can&amp;#39;t commit a completed message.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-1039&quot;&gt;&lt;del&gt;OPNFLWPLUG-1039&lt;/del&gt;&lt;/a&gt;&#160;mentioned during cluster setup -&#160;&#160;after the above fix, and ensured&#160; cs-it test (test-openflowplugin-core) successful.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;/p&gt;

&lt;p&gt;Dheena&lt;/p&gt;</comment>
                            <comment id="67911" author="ecelgp" created="Thu, 27 Feb 2020 17:00:06 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=dheenab&quot; class=&quot;user-hover&quot; rel=&quot;dheenab&quot;&gt;dheenab&lt;/a&gt;. &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=Arunprakash&quot; class=&quot;user-hover&quot; rel=&quot;Arunprakash&quot;&gt;Arunprakash&lt;/a&gt; since the fix was added so quickly and it is a regression, I think we should include it in Magnesium. Please cherry-pick.&lt;/p&gt;</comment>
                            <comment id="67937" author="jluhrsen" created="Thu, 5 Mar 2020 05:28:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=ecelgp&quot; class=&quot;user-hover&quot; rel=&quot;ecelgp&quot;&gt;ecelgp&lt;/a&gt; stable/magnesium cherry pick is merged. can we close this blocker bug?&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03r6v:</customfieldvalue>

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