<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:22:57 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>[NETVIRT-985] java.lang.OutOfMemoryError: Java heap space</title>
                <link>https://jira.opendaylight.org/browse/NETVIRT-985</link>
                <project id="10144" key="NETVIRT">netvirt</project>
                    <description>&lt;p&gt;During perf/scale testing, we see OOM on ODL when a large number of neutron resources are created and deleted we see that ODL is killed due to OOM. Looking at the stdout when the JVM crashed due to OOM, we see:&lt;/p&gt;


&lt;p&gt;Heap dump file created &lt;span class=&quot;error&quot;&gt;&amp;#91;3089813876 bytes in 19.232 secs&amp;#93;&lt;/span&gt;&lt;br/&gt;
Uncaught error from thread &lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-cluster-data-shard-dispatcher-144&amp;#93;&lt;/span&gt; shutting down JVM since &apos;akka.jvm-exit-on-fatal-error&apos; is enabled for ActorSystem&lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-cluster-data&amp;#93;&lt;/span&gt;&lt;br/&gt;
java.lang.OutOfMemoryError: Java heap space&lt;br/&gt;
        at com.google.common.collect.RegularImmutableMap.createEntryArray(RegularImmutableMap.java:148)&lt;br/&gt;
        at com.google.common.collect.RegularImmutableMap.&amp;lt;init&amp;gt;(RegularImmutableMap.java:81)&lt;br/&gt;
        at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:294)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.persisted.FrontendHistoryMetadata.&amp;lt;init&amp;gt;(FrontendHistoryMetadata.java:40)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.FrontendHistoryMetadataBuilder.build(FrontendHistoryMetadataBuilder.java:54)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.FrontendClientMetadataBuilder$$Lambda$431/741495460.apply(Unknown Source)&lt;br/&gt;
        at com.google.common.collect.Iterators$8.transform(Iterators.java:799)&lt;br/&gt;
        at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)&lt;br/&gt;
        at java.util.AbstractCollection.toArray(AbstractCollection.java:141)&lt;br/&gt;
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.persisted.FrontendClientMetadata.&amp;lt;init&amp;gt;(FrontendClientMetadata.java:38)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.FrontendClientMetadataBuilder.build(FrontendClientMetadataBuilder.java:77)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.FrontendMetadata$$Lambda$430/2026307982.apply(Unknown Source)&lt;br/&gt;
        at com.google.common.collect.Iterators$8.transform(Iterators.java:799)&lt;br/&gt;
        at com.google.common.collect.TransformedIterator.next(TransformedIterator.java:48)&lt;br/&gt;
        at java.util.AbstractCollection.toArray(AbstractCollection.java:141)&lt;br/&gt;
        at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:258)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.persisted.FrontendShardDataTreeSnapshotMetadata.&amp;lt;init&amp;gt;(FrontendShardDataTreeSnapshotMetadata.java:71)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.FrontendMetadata.toSnapshot(FrontendMetadata.java:72)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.FrontendMetadata.toSnapshot(FrontendMetadata.java:33)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.takeStateSnapshot(ShardDataTree.java:216)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.ShardSnapshotCohort.createSnapshot(ShardSnapshotCohort.java:68)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.RaftActorSnapshotMessageSupport.lambda$new$0(RaftActorSnapshotMessageSupport.java:52)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.RaftActorSnapshotMessageSupport$$Lambda$123/1533883683.accept(Unknown Source)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.SnapshotManager$Idle.capture(SnapshotManager.java:295)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.SnapshotManager$Idle.capture(SnapshotManager.java:307)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.SnapshotManager.capture(SnapshotManager.java:91)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.behaviors.Follower.lambda$handleAppendEntries$0(Follower.java:254)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.behaviors.Follower$$Lambda$127/742332312.apply(Unknown Source)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.ReplicatedLogImpl.lambda$appendAndPersist$0(ReplicatedLogImpl.java:111)&lt;br/&gt;
        at org.opendaylight.controller.cluster.raft.ReplicatedLogImpl$$Lambda$128/559701765.apply(Unknown Source)&lt;br/&gt;
at akka.persistence.UntypedPersistentActor$$anonfun$persist$1.apply(PersistentActor.scala:206)&lt;/p&gt;</description>
                <environment></environment>
        <key id="28727">NETVIRT-985</key>
            <summary>java.lang.OutOfMemoryError: Java heap space</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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="vorburger">Michael Vorburger</assignee>
                                    <reporter username="smalleni">Sai Sindhur  Malleni</reporter>
                        <labels>
                    </labels>
                <created>Fri, 10 Nov 2017 18:43:51 +0000</created>
                <updated>Tue, 8 May 2018 12:59:50 +0000</updated>
                            <resolved>Thu, 30 Nov 2017 12:44:20 +0000</resolved>
                                    <version>Carbon</version>
                                    <fixVersion>Nitrogen</fixVersion>
                    <fixVersion>Carbon</fixVersion>
                    <fixVersion>Oxygen</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="60025" author="vorburger" created="Mon, 13 Nov 2017 16:53:56 +0000"  >&lt;p&gt;Attached java_pid1_Leak_Suspects.zip from &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=smalleni&quot; class=&quot;user-hover&quot; rel=&quot;smalleni&quot;&gt;smalleni&lt;/a&gt; environment shows this another one like &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1756&quot; title=&quot;OOM due to huge Map in ShardDataTree&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1756&quot;&gt;&lt;del&gt;CONTROLLER-1756&lt;/del&gt;&lt;/a&gt; ... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;Attached is the usual MAT produced Leak Suspects report, from a HPROF from 1st of 3 cluster nodes; the 2nd one show basically the same - 800 MB on 1 GB of total 2 GB due to huge Map in ShardDataTree.&lt;/p&gt;

&lt;p&gt;PS: The 3rd node does an OOM with a slightly different HPROF, see attached controller-2__java_pid1_Leak_Suspects.zip, showing 745 MB used by the thread MonitorableThreadFactory$AkkaForkJoinWorkerThread local variables, and 310 MB in org.opendaylight.controller.cluster.datastore.FrontendMetadata. I don&apos;t know enough about clustering internals to judge if that is just an impact of above, but unless educated otherwise, will have to suspect it is so.&lt;/p&gt;</comment>
                            <comment id="60026" author="vorburger" created="Mon, 13 Nov 2017 17:19:36 +0000"  >&lt;p&gt;The Karaf log on controller-0 and controller-1 (both with the ShardDataTree OOM) do not contain &quot;IllegalStateException: Attempted to close chain with outstanding transaction&quot; as in &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1756&quot; title=&quot;OOM due to huge Map in ShardDataTree&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1756&quot;&gt;&lt;del&gt;CONTROLLER-1756&lt;/del&gt;&lt;/a&gt;, but a lot of other errors - too many to easily make any sense of them, so far... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="60027" author="smalleni" created="Mon, 13 Nov 2017 17:30:19 +0000"  >&lt;p&gt;Michael, shouldn&apos;t you be looking at logs on controller-1 and controller-2 since that is where the ODLs hit OOM.&lt;/p&gt;</comment>
                            <comment id="60029" author="vorburger" created="Mon, 13 Nov 2017 17:55:22 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=smalleni&quot; class=&quot;user-hover&quot; rel=&quot;smalleni&quot;&gt;smalleni&lt;/a&gt; yeah you&apos;re right, I&apos;ll pour more through controller-1 log... but FYI you&apos;re controller-0 WOULD HAVE (was about to) OOM as well anyway... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="60030" author="vorburger" created="Mon, 13 Nov 2017 18:27:12 +0000"  >&lt;p&gt;Grep&apos;ing for &quot;chain&quot; in the attached karaf.log.xz from controller-1 reveals a lot of the following kinds messages again from openflowplugin which I have a hunch may have something to do with this:&lt;/p&gt;

&lt;p&gt;1. &lt;em&gt;&quot;Transaction chain failed, recreating chain due to ...&quot; :&lt;/em&gt;&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;2017-11-08 20:26:13,390 | WARN  | CommitFutures-1  | TransactionChainManager          | 304 - org.opendaylight.openflowplugin.common - 0.4.2.Carbon-redhat-2 | Transaction chain failed, recreating chain due to 
OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]}
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:751)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:789)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPendingTransaction(ShardDataTree.java:736)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:819)
        at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:90)
        at org.opendaylight.controller.cluster.datastore.ChainedCommitCohort.canCommit(ChainedCommitCohort.java:58)
(...)
Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkWriteApplicable(SchemaAwareApplyOperation.java:174)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:128)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
(...)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;2. &lt;em&gt;&quot;WARN: ConflictingModificationAppliedException&quot; &amp;amp;&amp;amp; &quot;ERROR Exception during INITIAL transaction submitting. OptimisticLockFailedException&quot; :&lt;/em&gt;&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;2017-11-09 13:28:33,002 | WARN  | lt-dispatcher-41 | ConcurrentDOMDataBroker          | 211 - org.opendaylight.controller.sal-distributed-datastore - 1.5.2.Carbon-redhat-2 | Tx: DOM-CHAIN-20-0 Error during phase CAN_COMMIT, starting Abort
OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.ap
i.schema.tree.ConflictingModificationAppliedException: Node children was modified by other transaction]]}
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:751)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:789)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPendingTransaction(ShardDataTree.java:736)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:819)
        at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:90)
        at org.opendaylight.controller.cluster.datastore.ChainedCommitCohort.canCommit(ChainedCommitCohort.java:58)
        at org.opendaylight.controller.cluster.datastore.CohortEntry.canCommit(CohortEntry.java:97)
        at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:236)
        at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleForwardedReadyTransaction(ShardCommitCoordinator.java:114)
        at org.opendaylight.controller.cluster.datastore.Shard.handleForwardedReadyTransaction(Shard.java:699)
        at org.opendaylight.controller.cluster.datastore.Shard.handleNonRaftCommand(Shard.java:314)
        at org.opendaylight.controller.cluster.raft.RaftActor.handleCommand(RaftActor.java:270)
        at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:44)
        at akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)
        at org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)
        at akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:544)
        at akka.actor.Actor$class.aroundReceive(Actor.scala:502)
        at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)
        at akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:727)
        at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:183)
        at akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
        at akka.actor.ActorCell.invoke(ActorCell.scala:495)
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
        at akka.dispatch.Mailbox.run(Mailbox.scala:224)
        at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node children was modified by other transaction
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkConflicting(SchemaAwareApplyOperation.java:78)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkNotConflicting(SchemaAwareApplyOperation.java:108)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkWriteApplicable(SchemaAwareApplyOperation.java:170)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:128)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkMergeApplicable(AbstractNodeContainerModificationStrategy.java:313)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:131)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.StructuralContainerModificationStrategy.checkApplicable(StructuralContainerModificationStrategy.java:99)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.RootModificationApplyOperation.checkApplicable(RootModificationApplyOperation.java:72)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractDataTreeTip.validate(AbstractDataTreeTip.java:35)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:743)
        ... 29 more
2017-11-09 13:28:33,003 | ERROR | ntLoopGroup-7-36 | TransactionChainManager          | 304 - org.opendaylight.openflowplugin.common - 0.4.2.Carbon-redhat-2 | Exception during INITIAL transaction submitting. 
java.util.concurrent.ExecutionException: OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node children was modified by other transaction]]}
        at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)
        at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:272)
        at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:96)
        at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:69)
        at org.opendaylight.openflowplugin.common.txchain.TransactionChainManager.submitTransaction(TransactionChainManager.java:180)
        at org.opendaylight.openflowplugin.common.txchain.TransactionChainManager.initialSubmitWriteTransaction(TransactionChainManager.java:85)
        at org.opendaylight.openflowplugin.impl.device.DeviceContextImpl.initialSubmitTransaction(DeviceContextImpl.java:241)
        at org.opendaylight.openflowplugin.impl.statistics.StatisticsContextImpl$4.onSuccess(StatisticsContextImpl.java:363)
        at org.opendaylight.openflowplugin.impl.statistics.StatisticsContextImpl$4.onSuccess(StatisticsContextImpl.java:355)
        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
        at com.google.common.util.concurrent.Futures$ChainingListenableFuture$1.run(Futures.java:918)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
        at com.google.common.util.concurrent.Futures$ChainingListenableFuture$1.run(Futures.java:918)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
        at com.google.common.util.concurrent.Futures$ChainingListenableFuture$1.run(Futures.java:918)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
        at com.google.common.util.concurrent.Futures$ImmediateFuture.addListener(Futures.java:106)
        at com.google.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:914)
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
        at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
        at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
        at org.opendaylight.openflowplugin.impl.rpc.AbstractRequestContext.setResult(AbstractRequestContext.java:32)
        at org.opendaylight.openflowplugin.impl.device.listener.MultiMsgCollectorImpl.endCollecting(MultiMsgCollectorImpl.java:70)
        at org.opendaylight.openflowplugin.impl.device.listener.MultiMsgCollectorImpl.addMultipartMsg(MultiMsgCollectorImpl.java:58)
        at org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback.onSuccess(AbstractMultipartRequestCallback.java:54)
        at org.opendaylight.openflowplugin.impl.services.AbstractMultipartRequestCallback.onSuccess(AbstractMultipartRequestCallback.java:22)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.OutboundQueueEntry.complete(OutboundQueueEntry.java:121)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.StackedSegment.completeEntry(StackedSegment.java:113)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.StackedSegment.pairRequest(StackedSegment.java:153)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractStackedOutboundQueue.pairRequest(AbstractStackedOutboundQueue.java:203)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractOutboundQueueManager.onMessage(AbstractOutboundQueueManager.java:208)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl.consumeDeviceMessage(ConnectionAdapterImpl.java:143)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractConnectionAdapterStatistics.consume(AbstractConnectionAdapterStatistics.java:66)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl.consume(ConnectionAdapterImpl.java:44)
        at org.opendaylight.openflowjava.protocol.impl.core.DelegatingInboundHandler.channelRead(DelegatingInboundHandler.java:43)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:86)
        at org.opendaylight.openflowjava.protocol.impl.core.connection.AbstractOutboundQueueManager.channelRead(AbstractOutboundQueueManager.java:195)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
        at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287)
        at org.opendaylight.openflowjava.protocol.impl.core.IdleHandler.channelRead(IdleHandler.java:39)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:341)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:363)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:349)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:129)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:642)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:565)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:479)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:433)
        at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
        at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
        at java.lang.Thread.run(Thread.java:748)
Caused by: OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node children was modified by other transaction]]}
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:751)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPending(ShardDataTree.java:789)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextPendingTransaction(ShardDataTree.java:736)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:819)
        at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:90)
        at org.opendaylight.controller.cluster.datastore.ChainedCommitCohort.canCommit(ChainedCommitCohort.java:58)
        at org.opendaylight.controller.cluster.datastore.CohortEntry.canCommit(CohortEntry.java:97)
        at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:236)
        at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleForwardedReadyTransaction(ShardCommitCoordinator.java:114)
        at org.opendaylight.controller.cluster.datastore.Shard.handleForwardedReadyTransaction(Shard.java:699)
        at org.opendaylight.controller.cluster.datastore.Shard.handleNonRaftCommand(Shard.java:314)
        at org.opendaylight.controller.cluster.raft.RaftActor.handleCommand(RaftActor.java:270)
        at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:44)
        at akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)
        at org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)
        at akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:544)
        at akka.actor.Actor$class.aroundReceive(Actor.scala:502)
        at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)
        at akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:727)
        at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:183)
        at akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)
        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
        at akka.actor.ActorCell.invoke(ActorCell.scala:495)
        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
        at akka.dispatch.Mailbox.run(Mailbox.scala:224)
        at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node children was modified by other transaction
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkConflicting(SchemaAwareApplyOperation.java:78)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkNotConflicting(SchemaAwareApplyOperation.java:108)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkWriteApplicable(SchemaAwareApplyOperation.java:170)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:128)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkMergeApplicable(AbstractNodeContainerModificationStrategy.java:313)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:131)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.StructuralContainerModificationStrategy.checkApplicable(StructuralContainerModificationStrategy.java:99)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.RootModificationApplyOperation.checkApplicable(RootModificationApplyOperation.java:72)
        at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractDataTreeTip.validate(AbstractDataTreeTip.java:35)
        at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:743)
2017-11-09 13:28:33,003 | WARN  | ntLoopGroup-7-36 | ContextChainHolderImpl           | 307 - org.opendaylight.openflowplugin.impl - 0.4.2.Carbon-redhat-2 | Not able to set MASTER role on device openflow:123674267060747, reason: Initial transaction cannot be submitted.
2017-11-09 13:28:33,003 | WARN  | ntLoopGroup-7-36 | ContextChainHolderImpl           | 307 - org.opendaylight.openflowplugin.impl - 0.4.2.Carbon-redhat-2 | This mastering is mandatory, destroying context chain and closing connection for device openflow:123674267060747.
2017-11-09 13:28:33,003 | INFO  | ntLoopGroup-7-36 | ContextChainImpl                 | 307 - org.opendaylight.openflowplugin.impl - 0.4.2.Carbon-redhat-2 | Closed clustering services registration for node openflow:123674267060747
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;3. &lt;em&gt;&quot;Failed to shut down transaction chain for device&quot; (more in 4.):&lt;/em&gt;&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;2017-11-09 13:28:33,004 | WARN  | ntLoopGroup-7-36 | DeviceContextImpl                | 307 - org.opendaylight.openflowplugin.impl - 0.4.2.Carbon-redhat-2 | Failed to shut down transaction chain for device openflow:123674267060747: java.util.concurrent.ExecutionException: OptimisticLockFailedException{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node children was modified by other transaction]]}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="60031" author="vorburger" created="Mon, 13 Nov 2017 19:07:37 +0000"  >
&lt;p&gt;4. &lt;em&gt;&quot;ShardLeaderNotRespondingException: Could not create a READ_WRITE transaction on shard default. The shard leader isn&apos;t responding.&quot; &amp;amp; &quot;Failed to shut down transaction chain for device openflow:&quot;:&lt;/em&gt;&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;2017-11-09 20:14:30,886 | ERROR | lt-dispatcher-46 | TransactionChainProxy            | 211 - org.opendaylight.controller.sal-distributed-datastore - 1.5.2.Carbon-redhat-2 | Tx: member-1-datastore-operational-fe-1-chn-122-txn-86-0 - ready future failed f
or previous Tx member-1-datastore-operational-fe-1-chn-122-txn-86-0
2017-11-09 20:14:30,886 | WARN  | lt-dispatcher-78 | ConcurrentDOMDataBroker          | 211 - org.opendaylight.controller.sal-distributed-datastore - 1.5.2.Carbon-redhat-2 | Tx: DOM-CHAIN-121-85 Error during phase CAN_COMMIT, starting Abort
akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational/shard-default-member-1:datastore-operational@1:122-8
5_4948293#1836430803)]] after [30000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.BatchedModifications&quot;.
        at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:126)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)[185:com.typesafe.akka.actor:2.4.18]
        at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-09 20:14:30,886 | WARN  | CommitFutures-64 | TransactionChainManager          | 304 - org.opendaylight.openflowplugin.common - 0.4.2.Carbon-redhat-2 | Transaction chain failed, recreating chain due to 
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.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational/shard-default-member-1:datastore-operational@1:122-85_4948293#1836430803)]] after [30000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.BatchedModifications&quot;.]]}
        at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:37)[171:org.opendaylight.controller.sal-broker-impl:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:18)[171:org.opendaylight.controller.sal-broker-impl:1.5.2.Carbon-redhat-2]
        at org.opendaylight.yangtools.util.concurrent.ExceptionMapper.apply(ExceptionMapper.java:102)[69:org.opendaylight.yangtools.util:1.1.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.handleException(ConcurrentDOMDataBroker.java:231)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.access$000(ConcurrentDOMDataBroker.java:46)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker$1.onFailure(ConcurrentDOMDataBroker.java:126)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:202)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68)[65:com.google.guava:18.0.0]
        at org.opendaylight.controller.cluster.datastore.SingleCommitCohortProxy$1.onComplete(SingleCommitCohortProxy.java:58)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at akka.dispatch.OnComplete.internal(Future.scala:258)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.OnComplete.internal(Future.scala:256)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:186)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:183)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:183)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational/shard-default-member-1:datastore-operational@1:122-85_4948293#1836430803)]] after [30000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.BatchedModifications&quot;.
        at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:126)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)[185:com.typesafe.akka.actor:2.4.18]
        at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-09 20:14:30,886 | ERROR | CommitFutures-64 | TransactionChainManager          | 304 - org.opendaylight.openflowplugin.common - 0.4.2.Carbon-redhat-2 | Transaction commit failed. 
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.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational/shard-default-member-1:datastore-operational@1:1
122-85_4948293#1836430803)]] after [30000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.BatchedModifications&quot;.]]}
        at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:37)[171:org.opendaylight.controller.sal-broker-impl:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:18)[171:org.opendaylight.controller.sal-broker-impl:1.5.2.Carbon-redhat-2]
        at org.opendaylight.yangtools.util.concurrent.ExceptionMapper.apply(ExceptionMapper.java:102)[69:org.opendaylight.yangtools.util:1.1.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.handleException(ConcurrentDOMDataBroker.java:231)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.access$000(ConcurrentDOMDataBroker.java:46)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker$1.onFailure(ConcurrentDOMDataBroker.java:126)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:202)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68)[65:com.google.guava:18.0.0]
        at org.opendaylight.controller.cluster.datastore.SingleCommitCohortProxy$1.onComplete(SingleCommitCohortProxy.java:58)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at akka.dispatch.OnComplete.internal(Future.scala:258)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.OnComplete.internal(Future.scala:256)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:186)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:183)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:415)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational/shard-default-member-1:datastore-operational@1:122-85_4948293#1836430803)]] after [30000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.BatchedModifications&quot;.
:
        at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)[185:com.typesafe.akka.actor:2.4.18]
        at akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)[185:com.typesafe.akka.actor:2.4.18]
        at java.lang.Thread.run(Thread.java:748)[:1.8.0_151]
2017-11-09 20:14:30,886 | ERROR | CommitFutures-64 | TransactionChainManager          | 304 - org.opendaylight.openflowplugin.common - 0.4.2.Carbon-redhat-2 | Transaction commit failed. 
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.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational/shard-default-member-1:datastore-operational@1:122-85_4948293#1836430803)]] after [30000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.BatchedModifications&quot;.]]}
        at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:37)[171:org.opendaylight.controller.sal-broker-impl:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.md.sal.dom.broker.impl.TransactionCommitFailedExceptionMapper.newWithCause(TransactionCommitFailedExceptionMapper.java:18)[171:org.opendaylight.controller.sal-broker-impl:1.5.2.Carbon-redhat-2]
        at org.opendaylight.yangtools.util.concurrent.ExceptionMapper.apply(ExceptionMapper.java:102)[69:org.opendaylight.yangtools.util:1.1.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.handleException(ConcurrentDOMDataBroker.java:231)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker.access$000(ConcurrentDOMDataBroker.java:46)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.databroker.ConcurrentDOMDataBroker$1.onFailure(ConcurrentDOMDataBroker.java:126)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1310)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:202)[65:com.google.guava:18.0.0]
        at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68)[65:com.google.guava:18.0.0]
        at org.opendaylight.controller.cluster.datastore.SingleCommitCohortProxy$1.onComplete(SingleCommitCohortProxy.java:58)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at akka.dispatch.OnComplete.internal(Future.scala:258)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.OnComplete.internal(Future.scala:256)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:186)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.japi$CallbackBridge.apply(Future.scala:183)[185:com.typesafe.akka.actor:2.4.18]
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)[181:org.scala-lang.scala-library:2.11.11.v20170413-090219-8a413ba7cc]
        at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
        at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)[185:com.typesafe.akka.actor:2.4.18]
(...)
2017-11-09 20:14:32,467 | WARN  | lt-dispatcher-19 | ConcurrentDOMDataBroker          | 211 - org.opendaylight.controller.sal-distributed-datastore - 1.5.2.Carbon-redhat-2 | Tx: DOM-CHAIN-171-0 Error during phase CAN_COMMIT, starting Abort
org.opendaylight.controller.cluster.datastore.exceptions.ShardLeaderNotRespondingException: Could not create a READ_WRITE transaction on shard default. The shard leader isn&apos;t responding.
        at org.opendaylight.controller.cluster.datastore.RemoteTransactionContextSupport.createTransactionContext(RemoteTransactionContextSupport.java:213)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.datastore.RemoteTransactionContextSupport.onCreateTransactionComplete(RemoteTransactionContextSupport.java:195)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.datastore.RemoteTransactionContextSupport.access$000(RemoteTransactionContextSupport.java:39)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
        at org.opendaylight.controller.cluster.datastore.RemoteTransactionContextSupport$1.onComplete(RemoteTransactionContextSupport.java:135)[211:org.opendaylight.controller.sal-distributed-datastore:1.5.2.Carbon-redhat-2]
(...)
Caused by: akka.pattern.AskTimeoutException: Ask timed out on [ActorSelection[Anchor(akka.tcp://opendaylight-cluster-data@172.16.0.22:2550/), Path(/user/shardmanager-operational/member-0-shard-default-operational)]] after [5000 ms]. Sender[null] sent message of type &quot;org.opendaylight.controller.cluster.datastore.messages.CreateTransaction&quot;.
        at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)[185:com.typesafe.akka.actor:2.4.18]
(...)
2017-11-09 20:14:32,467 | WARN  | CommitFutures-66 | PingPongTransactionChain         | 171 - org.opendaylight.controller.sal-broker-impl - 1.5.2.Carbon-redhat-2 | Transaction chain org.opendaylight.controller.cluster.databroker.DOMBrokerTransactionChain@5770b26 failed with no pending transactions
(...)
2017-11-09 20:14:34,170 | WARN  | ntLoopGroup-7-40 | DeviceContextImpl                | 307 - org.opendaylight.openflowplugin.impl - 0.4.2.Carbon-redhat-2 | Failed to shut down transaction chain for device openflow:123674267060747: java.util.concurrent.TimeoutException: Timeout waiting for task.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;ll reach out to openflowplugin-dev &amp;amp; controller-dev again to see if any of these means anything to them...&lt;/p&gt;</comment>
                            <comment id="60057" author="vorburger" created="Wed, 15 Nov 2017 16:57:11 +0000"  >&lt;p&gt;&amp;gt; I&apos;ll reach out to openflowplugin-dev &amp;amp; controller-dev again to see if any of these means anything to them...&lt;/p&gt;

&lt;p&gt;On &lt;a href=&quot;https://lists.opendaylight.org/pipermail/controller-dev/2017-November/014064.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/controller-dev/2017-November/014064.html&lt;/a&gt; &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=rovarga&quot; class=&quot;user-hover&quot; rel=&quot;rovarga&quot;&gt;rovarga&lt;/a&gt; says &quot;a large FrontendMetadata part could indicate dangling&lt;br/&gt;
transactions or similar&quot;.&lt;/p&gt;

&lt;p&gt;The attached open-transactions_controller-*.txt, produced by the trace:transaction CLI Command (see &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1760&quot; title=&quot;Tooling to find the real root cause culprit of memory leaks related to non-closed transactions (and tx chains)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1760&quot;&gt;&lt;del&gt;CONTROLLER-1760&lt;/del&gt;&lt;/a&gt;), identify a number of &quot;transaction leaks&quot;. I had raised at least some of them already in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-883&quot; title=&quot;Umbrella parent issue for grouping all suspected transaction leaks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-883&quot;&gt;&lt;del&gt;NETVIRT-883&lt;/del&gt;&lt;/a&gt;, and will take this issue as to opportunity to fix as many of them as I can (with reasonable effort), hoping that ths will help fix this problem... I&apos;m NOT 100% sure it will, but probably worth a try getting them in and then re-testing this (and otherwise it&apos;s useful clean up to do, anyway).&lt;/p&gt;</comment>
                            <comment id="60061" author="vorburger" created="Wed, 15 Nov 2017 18:23:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:NETVIRT-985&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:NETVIRT-985&lt;/a&gt; ...&lt;/p&gt;</comment>
                            <comment id="60079" author="vorburger" created="Fri, 17 Nov 2017 17:03:22 +0000"  >&lt;p&gt;Once everything that is open now, PLUS what &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=skitt&quot; class=&quot;user-hover&quot; rel=&quot;skitt&quot;&gt;skitt&lt;/a&gt; will help me with in &lt;a href=&quot;https://jira.opendaylight.org/browse/NETVIRT-1000&quot; title=&quot;Transaction Leaks in neutronvpn, fibmanager &amp;amp; vpnmanager&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETVIRT-1000&quot;&gt;&lt;del&gt;NETVIRT-1000&lt;/del&gt;&lt;/a&gt;, are available in stable/carbon, then &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=smalleni&quot; class=&quot;user-hover&quot; rel=&quot;smalleni&quot;&gt;smalleni&lt;/a&gt; can retest.   (Full disclosure: There are few minor Tx leaks, showing up with much fewer transactions than the biggies, which we&apos;ll fix only on master, not on carbon &amp;amp; nitrogen.)&lt;/p&gt;</comment>
                            <comment id="60249" author="vorburger" created="Tue, 28 Nov 2017 16:08:23 +0000"  >&lt;p&gt;Everything done here is now merged to master &amp;amp; carbon; and nitrogen should get merged in the coming days (stable/nitrogen was re-open&apos;d today). In attached Controller&lt;span class=&quot;error&quot;&gt;&amp;#91;1-3&amp;#93;&lt;/span&gt;_open-transactions.txt from latest test with a build including these fixes shows, we can clearly see that all the &quot;big&quot; leaks (as in with hundreds of open TXs) have been plugged; as expected.&#160;Preliminary early feedback indicates that they are not hitting an OOM anymore.&lt;/p&gt;

&lt;p&gt;&#160;&lt;br/&gt;
There&#160;ARE still some open TX, but relatively few, compared to where we started; I don&apos;t think it&apos;s worth following up on them, in the short term. In case we ever want to look at this again in the future, see new attachments.&lt;/p&gt;</comment>
                            <comment id="60281" author="vorburger" created="Wed, 29 Nov 2017 15:08:50 +0000"  >&lt;p&gt;Testing of another scenario (&quot;nova boot&quot;) has hit an OOM that looks exactly this again (another huge 857 MB of 1.6 GB Map inside the MD SAL ShardDataTree), so clogging these TX leaks is likely going to be more of an ongoing repetitive than a one time action..&lt;/p&gt;

&lt;p&gt;Basically, any time we test new scenarios at scale on a path that hasn&apos;t been threaded before, if we hit an OOM that shows a blown up&#160;ShardDataTree, we have to &lt;tt&gt;run trace:transactions&lt;/tt&gt;&#160;and clog more non-closed TXs - best by using the &lt;tt&gt;ManagedTransactionRunner&lt;/tt&gt;, continuing on the&#160;repetitive pattern of&#160;fixes which&#160;the patches of the past 2 weeks on the &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/q/topic:NETVIRT-985&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/q/topic:NETVIRT-985&lt;/a&gt;&#160;have shown.&lt;/p&gt;</comment>
                            <comment id="60289" author="vorburger" created="Thu, 30 Nov 2017 12:44:08 +0000"  >&lt;p&gt;Closing this issue to avoid confusing, carrying on more similar work in different places in&#160;&lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-435&quot; title=&quot;New OOM due to more TX leaks seen in the nova-boot scenario&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-435&quot;&gt;&lt;del&gt;OVSDB-435&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="20799">NETVIRT-878</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28928">GENIUS-102</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28929">OPNFLWPLUG-961</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28926">OVSDB-435</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20804">NETVIRT-883</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28833">NETVIRT-1010</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="20807">NETVIRT-886</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22117">OVSDB-425</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22118">OVSDB-426</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28793">NETVIRT-1000</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="28728">NETVIRT-986</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="26310">CONTROLLER-1756</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28755">CONTROLLER-1787</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28756">CONTROLLER-1788</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="28753">OPNFLWPLUG-955</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28757">OPNFLWPLUG-956</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28758">OPNFLWPLUG-957</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14301" name="Controller1_open-transactions.txt" size="28742" author="vorburger" created="Tue, 28 Nov 2017 16:04:19 +0000"/>
                            <attachment id="14302" name="Controller2_open-transactions.txt" size="26553" author="vorburger" created="Tue, 28 Nov 2017 16:04:19 +0000"/>
                            <attachment id="14303" name="Controller3_open-transactions.txt" size="30739" author="vorburger" created="Tue, 28 Nov 2017 16:04:19 +0000"/>
                            <attachment id="14254" name="controller-2__java_pid1_Leak_Suspects.zip" size="120856" author="vorburger" created="Mon, 13 Nov 2017 17:14:22 +0000"/>
                            <attachment id="14253" name="java_pid1_Leak_Suspects.zip" size="132667" author="vorburger" created="Mon, 13 Nov 2017 16:51:35 +0000"/>
                            <attachment id="14255" name="karaf.log.xz" size="9501588" author="vorburger" created="Mon, 13 Nov 2017 18:07:28 +0000"/>
                            <attachment id="14259" name="open-transactions_controller-0.txt" size="25131" author="vorburger" created="Wed, 15 Nov 2017 16:50:18 +0000"/>
                            <attachment id="14260" name="open-transactions_controller-1.txt" size="108932" author="vorburger" created="Wed, 15 Nov 2017 16:50:19 +0000"/>
                            <attachment id="14261" name="open-transactions_controller-2.txt" size="52033" author="vorburger" created="Wed, 15 Nov 2017 16:50:18 +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|i037gf:</customfieldvalue>

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