<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:33:47 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-942] Resubmit actions are changed to drop after rebooting the control node.</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-942</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Distro Version: Carbon (distribution-karaf-0.6.2-20170821.001151-442.tar.gz)&lt;/p&gt;

&lt;p&gt;Setup: &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Control node with ODL&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Features to be installed:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;odl-openflowplugin-flow-services&lt;/li&gt;
	&lt;li&gt;odl-openflowplugin-nxm-extensions&lt;/li&gt;
	&lt;li&gt;odl-mdsal-apidocs&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Steps:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Push a resubmit flow using RESTAPI&lt;/li&gt;
	&lt;li&gt;Reboot the control node with ODL.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Observation:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;The flow with action resubmit had been changed to action drop after reboot.&lt;/li&gt;
	&lt;li&gt;In config datastore, the action is not been changed to drop. But in device the action has been changed to drop.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="28210">OPNFLWPLUG-942</key>
            <summary>Resubmit actions are changed to drop after rebooting the control node.</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="Somashekhar">Somashekhar Javalagi</assignee>
                                    <reporter username="arthi.b@hcl.com">Arthi Bhattacharjee</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Sep 2017 08:38:34 +0000</created>
                <updated>Mon, 27 Sep 2021 09:02:06 +0000</updated>
                            <resolved>Mon, 12 Mar 2018 07:06:38 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="59177" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:38:34 +0000"  >&lt;p&gt;Attachment log_after_reboot.zip has been added with description: Karaf logs after reboot.&lt;/p&gt;</comment>
                            <comment id="59178" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:43:02 +0000"  >&lt;p&gt;Attachment openvswitch_after_reboot.zip has been added with description: Openvswitch_log_after_reboot&lt;/p&gt;</comment>
                            <comment id="59179" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:43:42 +0000"  >&lt;p&gt;Attachment openvswitch_b4_reboot.zip has been added with description: Openvswitch_log_before_reboot&lt;/p&gt;</comment>
                            <comment id="59180" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:45:02 +0000"  >&lt;p&gt;Attachment tcpdump.zip has been added with description: tcpdump&lt;/p&gt;</comment>
                            <comment id="59181" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:46:22 +0000"  >&lt;p&gt;Attachment DS_and_cont_node.zip has been added with description: DataStore_and_control_node_info&lt;/p&gt;</comment>
                            <comment id="59172" author="sunil.g.kumar@ericsson.com" created="Tue, 12 Sep 2017 05:49:49 +0000"  >&lt;p&gt;Please check this mail chain: &lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/netvirt-dev/2017-June/004802.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/netvirt-dev/2017-June/004802.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59173" author="sunil.g.kumar@ericsson.com" created="Tue, 12 Sep 2017 05:53:12 +0000"  >&lt;p&gt;(In reply to Sunil Kumar M S from comment #5)&lt;br/&gt;
&amp;gt; Please check this mail chain: &lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://lists.opendaylight.org/pipermail/netvirt-dev/2017-June/004802.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/netvirt-dev/2017-June/004802.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the logs, we observe &lt;br/&gt;
2017-09-11 16:11:11,772 | WARN  | entLoopGroup-5-1 | ActionUtil                       | 193 - org.opendaylight.openflowplugin.impl - 0.4.2.SNAPSHOT | Serializer for action interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nodes.node.table.flow.instructions.instruction.instruction.apply.actions._case.apply.actions.action.action.NxActionResubmitNodesNodeTableFlowApplyActionsCase for version 4 not found.&lt;/p&gt;

&lt;p&gt;Mail chain also seems to have discussion on the same context. Let us know if it is different issue.&lt;/p&gt;</comment>
                            <comment id="59174" author="arthi.b@hcl.com" created="Tue, 12 Sep 2017 13:07:14 +0000"  >&lt;p&gt;Refereed Bug#8718, where resubmit actions are changed to drop and observed same log in the Karaf log. The issued seemed to be the same.&lt;br/&gt;
Have noticed a patch has been pushed for the above mentioned bug (&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59214/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59214/&lt;/a&gt;) in master branch. i.e., Nitrogen distro&lt;br/&gt;
But, the patch is not cherry picked to carbon.&lt;/p&gt;</comment>
                            <comment id="59175" author="sunil.g.kumar@ericsson.com" created="Fri, 15 Sep 2017 05:06:31 +0000"  >&lt;p&gt;(In reply to Arthi Bhattacharjee from comment #7)&lt;br/&gt;
&amp;gt; Refereed Bug#8718, where resubmit actions are changed to drop and observed&lt;br/&gt;
&amp;gt; same log in the Karaf log. The issued seemed to be the same.&lt;br/&gt;
&amp;gt; Have noticed a patch has been pushed for the above mentioned bug&lt;br/&gt;
&amp;gt; (&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/59214/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/59214/&lt;/a&gt;) in master branch. i.e.,&lt;br/&gt;
&amp;gt; Nitrogen distro&lt;br/&gt;
&amp;gt; But, the patch is not cherry picked to carbon.&lt;/p&gt;

&lt;p&gt;that patch seems to be for karaf4, we may not need it. &lt;br/&gt;
In your environment or from the logs provided it is difficult to synchronise between controller time and switch time since there is a difference. &lt;br/&gt;
In ovs switch logs there are multiple traces of connection/disconnection &lt;br/&gt;
Check OVS logs in these time zone:&lt;br/&gt;
2017-09-11T20:08:15.273Z&lt;br/&gt;
2017-09-11T20:11:09.902Z&lt;br/&gt;
2017-09-11T20:11:13.814Z&lt;br/&gt;
As per my knowledge, between these time zone itself action is changed from resubmit to drop. &lt;br/&gt;
In the provided logs, config DS still has the resubmit action but operational DS doesn&apos;t.&lt;/p&gt;</comment>
                            <comment id="59176" author="sunil.g.kumar@ericsson.com" created="Fri, 6 Oct 2017 07:32:36 +0000"  >&lt;p&gt;Is this bug still valid or can be closed?&lt;/p&gt;</comment>
                            <comment id="59755" author="bertrandlow" created="Mon, 23 Oct 2017 23:58:49 +0000"  >&lt;p&gt;This bug is still valid in stable/carbon (last tested using distribution-karaf-0.6.3-20171023.085758-46.tar.gz), but is not reproducible in stable/nitrogen or master branches.&lt;/p&gt;

&lt;p&gt;Below is a more simplified setup to reproduce the bug, and only requires restarting ODL.&lt;/p&gt;

&lt;p&gt;setup:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;using ovs_version: &quot;2.6.1&quot;&lt;/li&gt;
	&lt;li&gt;create a bridge (e.g. br-int) and set its controller to be ODL&lt;/li&gt;
	&lt;li&gt;start ODL and install features: odl-openflowplugin-flow-services odl-openflowplugin-nxm-extensions odl-mdsal-apidocs&lt;/li&gt;
	&lt;li&gt;create a flow with action=resubmit using ODL and confirm that the flow is pushed successfully to the node&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;steps:&lt;br/&gt;
1. stop ODL&lt;br/&gt;
2. start ODL&lt;br/&gt;
3. notice that flow is pushed to the node but the resubmit action is now a drop action. Also, other attributes of the flow (e.g. ct_mark) are also missing.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;this is the case regardless of the OVS fail_mode setting of the bridge, which determines whether the original flow is cleared by OVS between step 1. and 2. (i.e. after ODL disconnects).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;workaround: if you restart openvswitch on the node after step 3., the correct flow is pushed down to the node.&lt;/p&gt;

&lt;p&gt;e.g.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@odl32 ~&amp;#93;&lt;/span&gt;$ sudo ovs-ofctl dump-flows -Oopenflow13 br-int&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x6900000, duration=21.207s, table=2, n_packets=0, n_bytes=0, priority=62020 actions=drop&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@odl32 ~&amp;#93;&lt;/span&gt;$ sudo systemctl restart openvswitch&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;odl@odl32 ~&amp;#93;&lt;/span&gt;$ sudo ovs-ofctl dump-flows -Oopenflow13 br-int&lt;br/&gt;
OFPST_FLOW reply (OF1.3) (xid=0x2):&lt;br/&gt;
 cookie=0x6900000, duration=2.392s, table=2, n_packets=0, n_bytes=0, priority=62020,ct_mark=0x24/0x37 actions=resubmit(,17)&lt;/p&gt;

&lt;p&gt;stable/carbon:&lt;br/&gt;
reproducible most of the time. Occasionally, the correct flow is pushed successfully.&lt;/p&gt;

&lt;p&gt;stable/nitrogen:&lt;br/&gt;
fixed&lt;/p&gt;

&lt;p&gt;master:&lt;br/&gt;
fixed&lt;/p&gt;</comment>
                            <comment id="59820" author="arunprakash" created="Fri, 27 Oct 2017 13:50:28 +0000"  >&lt;p&gt;Cherry-pick to stable/carbon is yet to be merged.&lt;/p&gt;

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

&lt;p&gt;Will merge as soon as the conflicts gets resolved.&lt;/p&gt;</comment>
                            <comment id="59963" author="arunprakash" created="Tue, 7 Nov 2017 12:14:51 +0000"  >&lt;p&gt;After controller restart, nicira extensions serializer registration is taking some amount of time as it is still in config subsystem.&lt;/p&gt;

&lt;p&gt;Before openflowplugin-extension-nicira bundles comes up, reconciliation is pushing the flow which is not having resubmit serializer and fails.&lt;/p&gt;

&lt;p&gt;We need to convert the extension bundle to blueprint.&lt;/p&gt;</comment>
                            <comment id="61430" author="somashekhar" created="Tue, 6 Mar 2018 05:58:31 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=arthi.b%40hcl.com&quot; class=&quot;user-hover&quot; rel=&quot;arthi.b@hcl.com&quot;&gt;arthi.b@hcl.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;This issue is not there in nitrogen and oxygen, as they are already having latest blueprint changes. Do we need to fix it to the carbon as well?&#160;&lt;/p&gt;</comment>
                            <comment id="61666" author="arunprakash" created="Mon, 12 Mar 2018 07:06:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=arthi.b%40hcl.com&quot; class=&quot;user-hover&quot; rel=&quot;arthi.b@hcl.com&quot;&gt;arthi.b@hcl.com&lt;/a&gt;, openflowjava should be converted to blueprint and we don&apos;t have plan to convert the same for carbon branch.&lt;/p&gt;

&lt;p&gt;Openflowplugin and Openflowjava are converted to blueprint from stable nitrogen. Please check from nitrogen onwards and open the bug if exits.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="28204">OPNFLWPLUG-936</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="28185">OPNFLWPLUG-917</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14166" name="DS_and_cont_node.zip" size="8824" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:46:22 +0000"/>
                            <attachment id="14162" name="log_after_reboot.zip" size="918176" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:38:34 +0000"/>
                            <attachment id="14163" name="openvswitch_after_reboot.zip" size="138585" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:43:02 +0000"/>
                            <attachment id="14164" name="openvswitch_b4_reboot.zip" size="688768" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:43:42 +0000"/>
                            <attachment id="14165" name="tcpdump.zip" size="255638" author="arthi.b@hcl.com" created="Mon, 11 Sep 2017 08:45:02 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9137</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=9137]]></customfieldvalue>

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

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