<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:55 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-804] Clustering : Restarting a controller node in a 3 node cluster causes it to not be able to find the leader</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-804</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;For steps checkout the clustering disaster recovery scripts in the integration repo.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/11021/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/11021/&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25358">CONTROLLER-804</key>
            <summary>Clustering : Restarting a controller node in a 3 node cluster causes it to not be able to find the leader</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="moraja@cisco.com">Moiz Raja</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Thu, 11 Sep 2014 04:41:50 +0000</created>
                <updated>Tue, 16 Sep 2014 00:03:42 +0000</updated>
                            <resolved>Tue, 16 Sep 2014 00:03:42 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="49113" author="moraja@cisco.com" created="Thu, 11 Sep 2014 14:43:46 +0000"  >&lt;p&gt;2014-09-11 02:59:09,916 | WARN  | lt-dispatcher-18 | ShardManager                     | 152 - com.typesafe.akka.slf4j - 2.3.4 | akka://opendaylight-cluster-data/user/shardmanager-config | Supervisor Strategy of resume applied&lt;br/&gt;
        at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2412)&lt;br/&gt;
        at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2380)&lt;br/&gt;
        at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2342)&lt;br/&gt;
        at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2257)&lt;br/&gt;
        at com.google.common.cache.LocalCache.get(LocalCache.java:4000)&lt;br/&gt;
        at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4004)&lt;br/&gt;
        at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4874)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.DataNodeContainerModificationStrategy.getChild(DataNodeContainerModificationStrategy.java:81)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.DataNodeContainerModificationStrategy$ContainerModificationStrategy.getChild(DataNodeContainerModificationStrategy.java:119)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.RootModificationApplyOperation.getChild(RootModificationApplyOperation.java:66)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.TreeNodeUtils.findNodeChecked(TreeNodeUtils.java:53)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.InMemoryDataTreeModification.resolveModificationStrategy(InMemoryDataTreeModification.java:137)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.InMemoryDataTreeModification.resolveModificationFor(InMemoryDataTreeModification.java:143)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.InMemoryDataTreeModification.merge(InMemoryDataTreeModification.java:73)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.store.impl.SnapshotBackedWriteTransaction.merge(SnapshotBackedWriteTransaction.java:85)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.modification.MergeModification.apply(MergeModification.java:37)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.modification.MutableCompositeModification.apply(MutableCompositeModification.java:33)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.Shard.commit(Shard.java:330)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.Shard.applyState(Shard.java:444)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.RaftActor.onReceiveRecover(RaftActor.java:151)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.Shard.onReceiveRecover(Shard.java:175)&lt;br/&gt;
        at akka.persistence.UntypedPersistentActor$$anonfun$receiveRecover$1.applyOrElse(Eventsourced.scala:433)&lt;br/&gt;
        at scala.runtime.AbstractPartialFunction$mcVL$sp.apply$mcVL$sp(AbstractPartialFunction.scala:33)&lt;br/&gt;
        at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:33)&lt;br/&gt;
        at scala.runtime.AbstractPartialFunction$mcVL$sp.apply(AbstractPartialFunction.scala:25)&lt;br/&gt;
        at akka.persistence.Eventsourced$$anonfun$akka$persistence$Eventsourced$$recoveryBehavior$1.applyOrElse(Eventsourced.scala:168)&lt;br/&gt;
        at akka.persistence.Recovery$State$$anonfun$processPersistent$1.apply(Recovery.scala:33)&lt;br/&gt;
        at akka.persistence.Recovery$State$$anonfun$processPersistent$1.apply(Recovery.scala:33)&lt;br/&gt;
        at akka.persistence.Recovery$class.withCurrentPersistent(Recovery.scala:176)&lt;br/&gt;
        at akka.persistence.UntypedPersistentActor.withCurrentPersistent(Eventsourced.scala:428)&lt;br/&gt;
        at akka.persistence.Recovery$State$class.processPersistent(Recovery.scala:33)&lt;br/&gt;
        at akka.persistence.Recovery$$anon$1.processPersistent(Recovery.scala:95)&lt;br/&gt;
        at akka.persistence.Recovery$$anon$1.aroundReceive(Recovery.scala:101)&lt;br/&gt;
        at akka.persistence.Recovery$class.aroundReceive(Recovery.scala:256)&lt;br/&gt;
        at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(Eventsourced.scala:428)&lt;br/&gt;
        at akka.persistence.Eventsourced$$anon$1.aroundReceive(Eventsourced.scala:35)&lt;br/&gt;
        at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:369)&lt;br/&gt;
        at akka.persistence.UntypedPersistentActor.aroundReceive(Eventsourced.scala:428)&lt;br/&gt;
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)&lt;br/&gt;
        at akka.actor.ActorCell.invoke(ActorCell.scala:487)&lt;br/&gt;
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)&lt;br/&gt;
        at akka.dispatch.Mailbox.run(Mailbox.scala:220)&lt;br/&gt;
        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)&lt;br/&gt;
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;br/&gt;
2014-09-11 02:59:09,916 | WARN  | lt-dispatcher-18 | OneForOneStrategy                | 152 - com.typesafe.akka.slf4j - 2.3.4 | akka://opendaylight-cluster-data/user/shardmanager-config/member-3-shard-default-config | CacheLoader returned null for key (urn:opendaylight:params:xml:ns:yang:controller:config:sal-clustering-it:car-people?revision=2014-08-18)car-people.&lt;/p&gt;</comment>
                            <comment id="49114" author="moraja@cisco.com" created="Tue, 16 Sep 2014 00:03:24 +0000"  >&lt;p&gt;This happens to be an issue with configuration. The issue was kind of like this. &lt;/p&gt;

&lt;p&gt;Let&apos;s say you have 3 nodes and node 1 was setup to be the only seed node. Now you bring down the seed node and bring it back up. When the leader node comes back up it tries to join cluster however the cluster has changed because a new leader was elected. &lt;/p&gt;

&lt;p&gt;The fix for this is one of the following,&lt;/p&gt;

&lt;p&gt;a. When the leader is restarted set the seed node for it as one of the existing nodes in the cluster (the one that is running)&lt;br/&gt;
b. In a 3 node cluster provide all nodes as the seed nodes.&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1803</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=1803]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10370"><![CDATA[Helium]]></customfieldvalue>

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

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

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