<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:57:02 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-2029] ODL Clustering - Shard Has no Leader or AskTimeoutException Error - Silicon SR4</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-2029</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;In a 3 node Cluster,&#160; ODL Version: Silicon SR4&lt;/p&gt;

&lt;p&gt;features Enabled: odl-restconf-all and odl-netconf-clustered-topology&lt;/p&gt;

&lt;p&gt;Scenario:&lt;/p&gt;

&lt;p&gt;Tried to mount 250 netconf devices via mount POST restApi, each mount api send synchronously with a time gap of around 2 secs between each apis.&lt;/p&gt;

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

&lt;p&gt;After around 40-50 passes APIs, all the other mount POST apis gets failed with the error,&lt;/p&gt;

&lt;p&gt;Shard Has no Leader or AskTimeoutException&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2022-02-08T21:06:07,310 | INFO&#160; | qtp1545674178-437 | RestconfImpl&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;| 279 - org.opendaylight.netconf.restconf-nb-bierman02 - 1.13.8 | Error creating data config/network-topology:network-topology/topology/topology-netconf
2022-02-08T21:06:07,310 | INFO&#160; | qtp1545674178-437 | RestconfImpl&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;| 279 - org.opendaylight.netconf.restconf-nb-bierman02 - 1.13.8 | Error creating data config/network-topology:network-topology/topology/topology-netconfjava.util.concurrent.ExecutionException: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.mdsal.common.api.DataStoreUnavailableException: Could not process forwarded ready transaction member-1-datastore-config-fe-0-txn-28-0. Shard member-3-shard-topology-config currently has no leader. Try again later.]]}
 at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:564) ~[bundleFile:?]
 at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:545) ~[bundleFile:?]
 at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:88) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.createConfigurationData(RestconfImpl.java:966) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.createConfigurationData(RestconfImpl.java:906) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.restconf.impl.StatisticsRestconfServiceWrapper.createConfigurationData(StatisticsRestconfServiceWrapper.java:161) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.rest.impl.RestconfCompositeWrapper.createConfigurationData(RestconfCompositeWrapper.java:86) ~[bundleFile:?]
 at jdk.internal.reflect.GeneratedMethodAccessor72.invoke(Unknown Source) ~[?:?]
 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
 at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
2022-02-11T13:15:23,853 | INFO&#160; | qtp1228907817-891 | RestconfImpl&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;| 279 - org.opendaylight.netconf.restconf-nb-bierman02 - 1.13.8 | Error creating data config/network-topology:network-topology/topology/topology-netconfjava.util.concurrent.ExecutionException: TransactionCommitFailedException{message=canCommit encountered an unexpected failure, errorList=[RpcError [message=canCommit encountered an unexpected failure, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=akka.pattern.AskTimeoutException: Ask timed out on ActorSelection[Anchor(akka://opendaylight-cluster-data/), Path(/user/shardmanager-config/member-1-shard-topology-config#-1826243286)] after [30000 ms]. Message of type [org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction]. A typical reason for `AskTimeoutException` is that the recipient actor didn&apos;t send a reply.]]}
 at com.google.common.util.concurrent.AbstractFuture.getDoneValue(AbstractFuture.java:564) ~[bundleFile:?]
 at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:545) ~[bundleFile:?]
 at com.google.common.util.concurrent.FluentFuture$TrustedFuture.get(FluentFuture.java:88) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.createConfigurationData(RestconfImpl.java:966) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.restconf.impl.RestconfImpl.createConfigurationData(RestconfImpl.java:906) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.restconf.impl.StatisticsRestconfServiceWrapper.createConfigurationData(StatisticsRestconfServiceWrapper.java:161) ~[bundleFile:?]
 at org.opendaylight.netconf.sal.rest.impl.RestconfCompositeWrapper.createConfigurationData(RestconfCompositeWrapper.java:86) ~[bundleFile:?]
 at jdk.internal.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) ~[?:?]
 at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
 at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;When checked on the Shards Role assigned:&#160;&lt;/p&gt;

&lt;p&gt;Initially when the ODL is started, could see the member-1 is assigned the Leader and later after pushing the mount apis, could see reelection happening and the role changes from Leader to IsolatedLeader.&lt;/p&gt;

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

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

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="35235">CONTROLLER-2029</key>
            <summary>ODL Clustering - Shard Has no Leader or AskTimeoutException Error - Silicon SR4</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="SamoSchneider">Samuel Schneider</assignee>
                                    <reporter username="shibu.vijay">Shibu Vijayakumar</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Fri, 11 Feb 2022 20:25:01 +0000</created>
                <updated>Wed, 26 Jul 2023 08:55:05 +0000</updated>
                            <resolved>Thu, 18 May 2023 08:44:41 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="70541" author="JIRAUSER14501" created="Fri, 11 Feb 2022 20:27:55 +0000"  >&lt;p&gt;Above issue not seen in ODL current release - Phosphorus SR1, but exists in Silicon SR3 and SR4 also.&lt;/p&gt;

&lt;p&gt;The difference seen reg the RoleChange is, in Silicon Version once the mount apis are pushed after some time, the Shards members are changing role, Leader changing to IsolatedLeader, but in Phosphorus not seeing those&#160;RoleChangeNotifier. Once after the intialization no rolechanges observed during the process of the mount apis.&lt;/p&gt;</comment>
                            <comment id="70543" author="rovarga" created="Sat, 12 Feb 2022 19:56:53 +0000"  >&lt;p&gt;Well, the causes can be quite diverse and without karaf logs from all members I cannot determine the root cause.&lt;/p&gt;

&lt;p&gt;Without a root cause there is just no way I could pinpoint the difference.&lt;/p&gt;</comment>
                            <comment id="70544" author="JIRAUSER14501" created="Sat, 12 Feb 2022 21:45:21 +0000"  >&lt;p&gt;Attached the karaf logs of all the 3 members.&lt;/p&gt;</comment>
                            <comment id="72212" author="JIRAUSER14508" created="Thu, 18 May 2023 08:29:51 +0000"  >&lt;p&gt;I wasn&apos;t able to reproduce this issue on ODL Silicon SR4 3 node Cluster.&lt;br/&gt;
I tried to connect 250 devices simulated by ODL-NETCONF testtool and all of them connected successfully.&lt;/p&gt;

&lt;p&gt;We would need some replicator test or consistent steps to reproduce for this issue.&lt;/p&gt;

&lt;p&gt;After looking trough the logs I noticed that all devices were connected by the same member-3, I could not reproduce this behavior. member-3 end up being without leader so this can be related to the issue.&lt;/p&gt;

&lt;p&gt;Also it seems bierman02 endpoint was used, which was removed in later versions of ODL. You can try using RFC-8040 endpoint instead.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="17337" name="karaf_member1.log" size="1919099" author="shibu.vijay" created="Sat, 12 Feb 2022 21:44:34 +0000"/>
                            <attachment id="17338" name="karaf_member2.log" size="1907602" author="shibu.vijay" created="Sat, 12 Feb 2022 21:44:33 +0000"/>
                            <attachment id="17339" name="karaf_member3.log" size="4646363" author="shibu.vijay" created="Sat, 12 Feb 2022 21:44:36 +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|i041jb:</customfieldvalue>

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