<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:45 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>[CONTROLLER-1906] OFP RPC does not work from all instances in the cluster</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1906</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Regression was detected here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-sodium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-sodium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To reproduce just connect OVS switch to 3 controllers and file an RPC like this from all instances:&lt;br/&gt;
POST http://&lt;tt&gt;controller&lt;/tt&gt;:8181/restconf/operations/sal-flow:add-flow&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;
&amp;lt;?xml version=&lt;span class=&quot;code-quote&quot;&gt;&quot;1.0&quot;&lt;/span&gt; encoding=&lt;span class=&quot;code-quote&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt; standalone=&lt;span class=&quot;code-quote&quot;&gt;&quot;no&quot;&lt;/span&gt;?&amp;gt;
&amp;lt;input xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:opendaylight:flow:service&quot;&lt;/span&gt;&amp;gt;
    &amp;lt;node xmlns:inv=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:opendaylight:inventory&quot;&lt;/span&gt;&amp;gt;/inv:nodes/inv:node[inv:id=&lt;span class=&quot;code-quote&quot;&gt;&quot;openflow:1&quot;&lt;/span&gt;]&amp;lt;/node&amp;gt;
    &amp;lt;table_id&amp;gt;0&amp;lt;/table_id&amp;gt;
    &amp;lt;priority&amp;gt;2&amp;lt;/priority&amp;gt;
    &amp;lt;match&amp;gt;
        &amp;lt;ethernet-match&amp;gt;
            &amp;lt;ethernet-type&amp;gt;
                &amp;lt;type&amp;gt;2048&amp;lt;/type&amp;gt;
            &amp;lt;/ethernet-type&amp;gt;
        &amp;lt;/ethernet-match&amp;gt;
        &amp;lt;ipv4-destination&amp;gt;10.0.1.0/24&amp;lt;/ipv4-destination&amp;gt;
    &amp;lt;/match&amp;gt;
    &amp;lt;instructions&amp;gt;
        &amp;lt;instruction&amp;gt;
            &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;
            &amp;lt;apply-actions&amp;gt;
                &amp;lt;action&amp;gt;
                    &amp;lt;output-action&amp;gt;
                        &amp;lt;output-node-connector&amp;gt;1&amp;lt;/output-node-connector&amp;gt;
                    &amp;lt;/output-action&amp;gt;
                    &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;
                &amp;lt;/action&amp;gt;
            &amp;lt;/apply-actions&amp;gt;
        &amp;lt;/instruction&amp;gt;
    &amp;lt;/instructions&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;At least 1 instance will complain with this message:&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;
&amp;lt;errors xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:yang:ietf-restconf&quot;&lt;/span&gt;&amp;gt;
    &amp;lt;error&amp;gt;
        &amp;lt;error-type&amp;gt;application&amp;lt;/error-type&amp;gt;
        &amp;lt;error-tag&amp;gt;operation-failed&amp;lt;/error-tag&amp;gt;
        &amp;lt;error-message&amp;gt;The operation encountered an unexpected error &lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; executing.&amp;lt;/error-message&amp;gt;
        &amp;lt;error-info&amp;gt;Ask timed out on [Actor[akka.tcp:&lt;span class=&quot;code-comment&quot;&gt;//opendaylight-cluster-data@10.18.130.162:2550/user/rpc/broker#-516941188]] after [15000 ms]. Message of type [org.opendaylight.controller.remote.rpc.messages.ExecuteRpc]. A typical reason &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; `AskTimeoutException` is that the recipient actor didn&apos;t send a reply.&amp;lt;/error-info&amp;gt;
&lt;/span&gt;    &amp;lt;/error&amp;gt;
&amp;lt;/errors&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31812">CONTROLLER-1906</key>
            <summary>OFP RPC does not work from all instances in the cluster</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="EmmettCox">Emmett  Cox</assignee>
                                    <reporter username="ecelgp">Luis Gomez</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jul 2019 21:25:34 +0000</created>
                <updated>Wed, 14 Aug 2019 10:32:23 +0000</updated>
                            <resolved>Wed, 14 Aug 2019 10:32:23 +0000</resolved>
                                    <version>Sodium</version>
                                    <fixVersion>Sodium</fixVersion>
                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="67016" author="rovarga" created="Thu, 18 Jul 2019 21:31:56 +0000"  >&lt;p&gt;Candidate in this area is &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/82283/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/82283/&lt;/a&gt; &#8211; &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=EmmettCox&quot; class=&quot;user-hover&quot; rel=&quot;EmmettCox&quot;&gt;EmmettCox&lt;/a&gt; can you take a look?&lt;/p&gt;</comment>
                            <comment id="67025" author="emmettcox" created="Wed, 24 Jul 2019 12:49:11 +0000"  >&lt;p&gt;Taking a look now - trying to recreate bug first, setting up environment, might be missing a few things - if anyone could point out some mistakes in my flow/logic, would be useful:&lt;/p&gt;

&lt;p&gt;-spun up 3 vms, each running an opendaylight controller and clustered together &lt;/p&gt;

&lt;p&gt;-installed feature odl-openflowplugin-flow-services-rest on each odl &lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;created a test-bridge on one of the vm&apos;s and added the 3 controllers to bridge:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&#160;&#160; sudo ovs-vsctl dd-br br-test &lt;/p&gt;

&lt;p&gt;&#160;&#160;&#160; sudo ovs-vsctl set-controller br-test &amp;lt; controller ips ports etc &amp;gt; &lt;/p&gt;

&lt;p&gt;-ran above command through postman explorer, got an error back saying&#160; No implementation of RPC AbsolouteSchemaPath &amp;lt;SchemaPath&amp;gt;add-flow available&lt;/p&gt;

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

&lt;p&gt;Think either I might be missing a feature install or might be configuring the bridge wrong... any ideas?&lt;/p&gt;</comment>
                            <comment id="67036" author="ecelgp" created="Tue, 30 Jul 2019 22:48:46 +0000"  >&lt;p&gt;Just to confirm the regression was introduced by the patch reverted here:&lt;/p&gt;

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

&lt;p&gt;Any ETA for the fix? I believe OFP patch verification is impacted by this problem.&lt;/p&gt;</comment>
                            <comment id="67038" author="rovarga" created="Wed, 31 Jul 2019 01:15:19 +0000"  >&lt;p&gt;Got a pointer to the verify job failing?&lt;/p&gt;

&lt;p&gt;Aside from that, I do not currently have the cycles over the next two weeks to test this out locally, but if I get some data at logs.opendaylight.org, I may be able to look into the cause. Can we get an CSIT run with sal-remoterpc-connector debugs store there?&lt;/p&gt;</comment>
                            <comment id="67039" author="ecelgp" created="Wed, 31 Jul 2019 04:21:49 +0000"  >&lt;p&gt;The failing job in the ticket description is a good example if a job used to verify patches:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-sodium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-clustering-only-sodium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I can run the test with the debug on.&lt;/p&gt;</comment>
                            <comment id="67040" author="ecelgp" created="Wed, 31 Jul 2019 05:40:17 +0000"  >&lt;p&gt;This run has the DEBUG but I do not see anything when the test fails:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/104/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-3node-gate-clustering-only-sodium/104/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="67041" author="emmettcox" created="Wed, 31 Jul 2019 08:52:24 +0000"  >&lt;p&gt;got some logs from running csit tests in my local environment:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;^karaf_debug.log&amp;#93;&lt;/span&gt;&lt;/p&gt;

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

&lt;p&gt;WIll point out that i had to run the csit test tests twice before it failed - it succeeded perfectly the first time. Also from looking through the previous runs on jenkins the number of fail tests can range from 2-6, with only two tests failing consistently every time - makes it annoying to debug, and implies the problem is an inconsistent one...&lt;/p&gt;</comment>
                            <comment id="67042" author="emmettcox" created="Wed, 31 Jul 2019 09:18:42 +0000"  >&lt;p&gt;The specific error is listed below:&lt;/p&gt;

&lt;p&gt;2019-07-31T09:42:10,746 | TRACE | qtp533277569-75&#160; | BrokerFacade&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 298 - org.opendaylight.netconf.restconf-nb-bierman02 - 1.10.0.SNAPSHOT | Read OPERATIONAL via Restconf: /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology&lt;br/&gt;
2019-07-31T09:42:11,423 | WARN&#160; | opendaylight-cluster-data-akka.actor.default-dispatcher-30 | NettyTransport&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 88 - com.typesafe.akka.slf4j - 2.5.21 | Remote connection to &lt;span class=&quot;error&quot;&gt;&amp;#91;null&amp;#93;&lt;/span&gt; failed with java.net.ConnectException: Connection refused: /192.168.67.48:2550&lt;br/&gt;
2019-07-31T09:42:11,431 | WARN&#160; | opendaylight-cluster-data-akka.actor.default-dispatcher-30 | ReliableDeliverySupervisor&#160;&#160;&#160;&#160;&#160;&#160; | 88 - com.typesafe.akka.slf4j - 2.5.21 | Association with remote system &lt;span class=&quot;error&quot;&gt;&amp;#91;akka.tcp://opendaylight-cluster-data@192.168.67.48:2550&amp;#93;&lt;/span&gt; has failed, address is now gated for &lt;span class=&quot;error&quot;&gt;&amp;#91;5000&amp;#93;&lt;/span&gt; ms. Reason: [Association failed with &lt;span class=&quot;error&quot;&gt;&amp;#91;akka.tcp://opendaylight-cluster-data@192.168.67.48:2550&amp;#93;&lt;/span&gt;] Caused by: &lt;span class=&quot;error&quot;&gt;&amp;#91;java.net.ConnectException: Connection refused: /192.168.67.48:2550&amp;#93;&lt;/span&gt;&lt;br/&gt;
2019-07-31T09:42:12,458 | DEBUG | qtp533277569-68&#160; | RestconfImpl&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; | 298 - org.opendaylight.netconf.restconf-nb-bierman02 - 1.10.0.SNAPSHOT | Execution RpcError: &lt;br/&gt;
java.util.concurrent.ExecutionException: akka.pattern.AskTimeoutException: Ask timed out on [Actor&lt;span class=&quot;error&quot;&gt;&amp;#91;akka.tcp://opendaylight-cluster-data@192.168.67.48:2550/user/rpc/broker#1272405160&amp;#93;&lt;/span&gt;] after &lt;span class=&quot;error&quot;&gt;&amp;#91;15000 ms&amp;#93;&lt;/span&gt;. Message of type &lt;span class=&quot;error&quot;&gt;&amp;#91;org.opendaylight.controller.remote.rpc.messages.ExecuteRpc&amp;#93;&lt;/span&gt;. A typical reason for `AskTimeoutException` is that the recipient actor didn&apos;t send a reply.&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="67046" author="emmettcox" created="Thu, 1 Aug 2019 12:35:39 +0000"  >&lt;p&gt;I wonder about the warning regarding the Connection refused for one of the nodes.... I&apos;ve noticed the same warning appear for some of the other tests that succeed, but those tests take a few seconds longer to execute.... could it simply be akka timing out when it&apos; would work if given a few extra seconds? not that it should take so long, but...&lt;/p&gt;</comment>
                            <comment id="67101" author="emmettcox" created="Tue, 6 Aug 2019 11:37:23 +0000"  >&lt;p&gt;discovered that I was missing the debug option for remote rpc logs, so there&apos;s a little bit more being logged now....&lt;/p&gt;

&lt;p&gt;going to include the logs from all 3 nodes, give me a min to add them....&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="67112" author="emmettcox" created="Thu, 8 Aug 2019 13:58:29 +0000"  >&lt;p&gt;Discovered the root of the issue is to do with the OpsRegistrar changes made as part of my commit.&lt;/p&gt;

&lt;p&gt;Part of the changes removed functionality that removed and closed old rpc registrations, which caused the rpc&apos;s to not update correctly and fail when a node was shutdown.&lt;/p&gt;

&lt;p&gt;I&apos;m in the midst of making some code changes to fix the bug.&lt;/p&gt;</comment>
                            <comment id="67113" author="ecelgp" created="Mon, 12 Aug 2019 12:57:41 +0000"  >&lt;p&gt;Hi Emmett,&lt;/p&gt;

&lt;p&gt;FYI, I started a verification on this patch, considering this is the candidate fix:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/c/controller/+/83530&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/c/controller/+/83530&lt;/a&gt;&lt;/p&gt;
</comment>
                            <comment id="67117" author="ecelgp" created="Tue, 13 Aug 2019 19:55:15 +0000"  >&lt;p&gt;I think the issue is fixed now: &lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/openflowplugin-csit-3node-clustering-only-sodium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/openflowplugin-csit-3node-clustering-only-sodium/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15403" name="karaf.log" size="1181598" author="EmmettCox" created="Tue, 6 Aug 2019 11:59:02 +0000"/>
                            <attachment id="15401" name="karaf_original_owner.log" size="1942479" author="EmmettCox" created="Tue, 6 Aug 2019 11:49:04 +0000"/>
                            <attachment id="15402" name="karaf_successor.log" size="1863461" author="EmmettCox" created="Tue, 6 Aug 2019 11:57:49 +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|i03ofz:</customfieldvalue>

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