<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:52 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-588] [Clustering]: Switch state resync is not happening after controller restart [Routed RPC issue]</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-588</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Build used        : &lt;br/&gt;
===================&lt;br/&gt;
Karaf distro from latest ODL Beryllium master code&lt;/p&gt;

&lt;p&gt;Test Type         : &lt;br/&gt;
===================&lt;br/&gt;
switch state resync after cluster node restart.&lt;/p&gt;

&lt;p&gt;Objective of test : &lt;br/&gt;
===================&lt;br/&gt;
verify switch resync when node is restarted. &lt;/p&gt;

&lt;p&gt;Test Steps :&lt;br/&gt;
============&lt;br/&gt;
1. Bring up healthy 3 node cluster say c1, c2 and c3. c1 is leader. &lt;br/&gt;
2. connect OVS switch to c3 node. c3 node is entity owner as shown in attached snapshot.&lt;br/&gt;
3. push 10 flows using flow-config-blaster script from follower c3&lt;br/&gt;
4. total flows in switch, config DS and operational DS is 10&lt;br/&gt;
5. restart c3 node&lt;br/&gt;
6. connect OVS switch to c3 node, c3 node is entity owner as shown in attached snapshot.&lt;br/&gt;
7. switch is showing 2 flows  &lt;br/&gt;
8. config DS is showing 10 flows and Operational DS is showing 2 flows&lt;/p&gt;


&lt;p&gt;Note: Output shown for Flows in switch and Operational DS in Step 7 and Step 8 are not consistent. In 4 times, i have seen output as 4, 0, 10 and 2 flows.&lt;/p&gt;

&lt;p&gt;Controllers (to cross-check logs):&lt;br/&gt;
===================================&lt;br/&gt;
c1 - Controller 1 with IP 10.183.181.41 - config-inventory-shard leader&lt;br/&gt;
c2 - Controller 2 with IP 10.183.181.42 - config-inventory-shard follower&lt;br/&gt;
c3 - Controller 3 with IP 10.183.181.43 - config-inventory-shard follower &lt;/p&gt;

&lt;p&gt;Enclosed Logs:&lt;br/&gt;
==============&lt;br/&gt;
c1.karaf.log for controller c1&lt;br/&gt;
c2.karaf.log for controller c2&lt;br/&gt;
c3.karaf.log for controller c3&lt;br/&gt;
snapshot for entity ower from c3&lt;br/&gt;
snapshot for flows in OVS switch&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27856">OPNFLWPLUG-588</key>
            <summary>[Clustering]: Switch state resync is not happening after controller restart [Routed RPC issue]</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="imanilyadav@gmail.com">Anil Gujele</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Jan 2016 11:15:27 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:41 +0000</updated>
                            <resolved>Thu, 11 Feb 2016 08:10:54 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>9</watches>
                                                                                                                <comments>
                            <comment id="57461" author="imanilyadav@gmail.com" created="Mon, 4 Jan 2016 11:15:27 +0000"  >&lt;p&gt;Attachment resyncFailed.rar has been added with description: attached snapshot and logs from c1, c2,c3 node.&lt;/p&gt;</comment>
                            <comment id="57450" author="muthukumaran.k@ericsson.com" created="Mon, 4 Jan 2016 11:34:34 +0000"  >&lt;p&gt;In above description, &quot;leader&quot; indicates shard-leader of inventory-config shard and &quot;follower&quot; indicates follower(s) of inventory-config&lt;/p&gt;</comment>
                            <comment id="57451" author="tpantelis" created="Thu, 7 Jan 2016 15:18:31 +0000"  >&lt;p&gt;Looks like this should be filed against the openflow or ovsdb project.&lt;/p&gt;</comment>
                            <comment id="57452" author="imanilyadav@gmail.com" created="Thu, 28 Jan 2016 05:15:43 +0000"  >&lt;p&gt;changed product from controller to openflowplugin&lt;/p&gt;</comment>
                            <comment id="57453" author="vishnoianil@gmail.com" created="Sat, 30 Jan 2016 03:08:15 +0000"  >&lt;p&gt;Tom/Moiz,&lt;/p&gt;

&lt;p&gt;This is another scenario of Routed RPC failure, which we are discussing through some other bugs.&lt;/p&gt;</comment>
                            <comment id="57454" author="vishnoianil@gmail.com" created="Fri, 5 Feb 2016 05:08:32 +0000"  >&lt;p&gt;Hi Muthu,&lt;/p&gt;

&lt;p&gt;I pushed following patch to openflowplugin that should solve/workaround this issue. My patch basically avoiding routed rpc by using clustering DCN + local rpc registration.&lt;/p&gt;

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

&lt;p&gt;Can you please test with this patch and see if this works for you.&lt;/p&gt;</comment>
                            <comment id="57455" author="muthukumaran.k@ericsson.com" created="Fri, 5 Feb 2016 09:27:46 +0000"  >&lt;p&gt;Patch looks fine with me Anil. We will pick this and test. So, we have fully eliminated the need for forcing reconciliation through routed-rpc&lt;/p&gt;</comment>
                            <comment id="57456" author="vishnoianil@gmail.com" created="Fri, 5 Feb 2016 09:40:21 +0000"  >&lt;p&gt;Yes and i think it&apos;s probably better in term of performance. Hopefully you will see some performance improvement in flow/second in clustered setup, given that we are avoiding remote rpc now and assuming that ClusteredData(Change/Tree)Listner don&apos;t create much problem. And once we get rid of DataChangeListner and use TreeListner, things might improve further.&lt;/p&gt;</comment>
                            <comment id="57457" author="tpantelis" created="Fri, 5 Feb 2016 16:22:49 +0000"  >&lt;p&gt;Although Anil&apos;s patch removes the use of routed RPCs in OF, we should fix the timing issue with RPCs so I submitted &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34175/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34175/&lt;/a&gt; to add wait/retries in the RPC code.&lt;/p&gt;</comment>
                            <comment id="57458" author="rgoulding" created="Tue, 9 Feb 2016 16:12:05 +0000"  >&lt;p&gt;Is this &quot;Waiting for Review&quot; now?  It looks like Tom Pantelis pushed a patch to fix this.&lt;/p&gt;

&lt;p&gt;Also, are we targeting stable/beryllium as well?&lt;/p&gt;</comment>
                            <comment id="57459" author="rgoulding" created="Tue, 9 Feb 2016 17:27:48 +0000"  >&lt;p&gt;Spawning a separate bug for:&lt;/p&gt;

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

&lt;p&gt;This adds wait/retries in the RPC code.&lt;/p&gt;</comment>
                            <comment id="57460" author="imanilyadav@gmail.com" created="Thu, 11 Feb 2016 08:10:54 +0000"  >&lt;p&gt;I have verified with latest code build,&lt;br/&gt;
I can see switch, config DS and Operational DS are showing same number of flows after follower node restart.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="26021">CONTROLLER-1467</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14018" name="resyncFailed.rar" size="347446" author="imanilyadav@gmail.com" created="Mon, 4 Jan 2016 11:15:27 +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>4866</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=4866]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10313"><![CDATA[Highest]]></customfieldvalue>

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

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