Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-605

ConflictingModificationAppliedException: Node was deleted by other transaction

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • BGP
    • None
    • Operating System: All
      Platform: All

    • 7320

    Description

      Steps to reproduce bug,

      1-install route
      2-remove route
      3-reconfigure rib with only one family

      2016-12-07 16:49:21,592 | INFO | on-dispatcher-39 | AppPeer | 295 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | Application Peer Singleton Service ServiceGroupIdentifier

      {value=example-bgp-rib-service-group} instance closed
      2016-12-07 16:49:21,598 | WARN | ult-dispatcher-4 | ShardDataTree | 208 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | member-1-shard-default-operational: Store Tx member-1-datastore-operational-fe-0-chn-27-txn-0-0: Conflicting modification for path /(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)bgp-rib/rib/rib[{(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)id=example-bgp-rib}]/peer/peer[{(urn:opendaylight:params:xml:ns:yang:bgp-rib?revision=2013-09-25)peer-id=bgp://192.0.2.6}].
      2016-12-07 16:49:21,599 | ERROR | ult-dispatcher-2 | LocalThreePhaseCommitCohort | 208 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Failed to prepare transaction member-1-datastore-operational-fe-0-chn-27-txn-0-0 on backend
      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 deleted by other transaction.]]}
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextTransaction(ShardDataTree.java:547)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:576)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:79)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.CohortEntry.canCommit(CohortEntry.java:97)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:236)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleReadyLocalTransaction(ShardCommitCoordinator.java:200)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.Shard.handleReadyLocalTransaction(Shard.java:570)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.Shard.handleNonRaftCommand(Shard.java:292)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.raft.RaftActor.handleCommand(RaftActor.java:289)[203:org.opendaylight.controller.sal-akka-raft:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:31)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)[188:com.typesafe.akka.persistence:2.4.11]
      at org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:544)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:484)[182:com.typesafe.akka.actor:2.4.11]
      at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:657)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:182)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.ActorCell.invoke(ActorCell.scala:495)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.run(Mailbox.scala:224)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[182:com.typesafe.akka.actor:2.4.11]
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:285)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.StructuralContainerModificationStrategy.checkApplicable(StructuralContainerModificationStrategy.java:99)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.RootModificationApplyOperation.checkApplicable(RootModificationApplyOperation.java:72)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractDataTreeTip.validate(AbstractDataTreeTip.java:35)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextTransaction(ShardDataTree.java:539)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      ... 26 more
      2016-12-07 16:49:21,603 | WARN | ult-dispatcher-3 | ConcurrentDOMDataBroker | 208 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | Tx: DOM-CHAIN-26-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.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.]]}
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextTransaction(ShardDataTree.java:547)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:576)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:79)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.CohortEntry.canCommit(CohortEntry.java:97)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:236)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleReadyLocalTransaction(ShardCommitCoordinator.java:200)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.Shard.handleReadyLocalTransaction(Shard.java:570)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.Shard.handleNonRaftCommand(Shard.java:292)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.raft.RaftActor.handleCommand(RaftActor.java:289)[203:org.opendaylight.controller.sal-akka-raft:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:31)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)[188:com.typesafe.akka.persistence:2.4.11]
      at org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:544)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:484)[182:com.typesafe.akka.actor:2.4.11]
      at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:657)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:182)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.ActorCell.invoke(ActorCell.scala:495)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.run(Mailbox.scala:224)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[182:com.typesafe.akka.actor:2.4.11]
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:285)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.StructuralContainerModificationStrategy.checkApplicable(StructuralContainerModificationStrategy.java:99)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.RootModificationApplyOperation.checkApplicable(RootModificationApplyOperation.java:72)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractDataTreeTip.validate(AbstractDataTreeTip.java:35)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextTransaction(ShardDataTree.java:539)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      ... 26 more
      2016-12-07 16:49:21,607 | INFO | ult-dispatcher-3 | RIBImpl | 295 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | Close RIB Singleton Service ServiceGroupIdentifier{value=example-bgp-rib-service-group}

      2016-12-07 16:49:21,603 | WARN | on-dispatcher-39 | AppPeer | 295 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | Failed to close application peer instance
      java.lang.RuntimeException: java.lang.IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction

      {delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@38e19237}
      at org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceGroupImpl.unregisterService(ClusterSingletonServiceGroupImpl.java:203)[163:org.opendaylight.mdsal.singleton-dom-impl:2.2.0.SNAPSHOT]
      at org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceRegistrationDelegator.close(ClusterSingletonServiceRegistrationDelegator.java:42)[163:org.opendaylight.mdsal.singleton-dom-impl:2.2.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.config.AppPeer$BgpAppPeerSingletonService.close(AppPeer.java:105)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.config.AppPeer.close(AppPeer.java:61)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onNeighborRemoved(BgpDeployerImpl.java:280)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onNeighborsChanged(BgpDeployerImpl.java:227)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.config.BgpDeployerImpl.onDataTreeChanged(BgpDeployerImpl.java:114)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:41)[169:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataChanged(DataTreeChangeListenerActor.java:54)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:35)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:28)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:484)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.ActorCell.invoke(ActorCell.scala:495)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.run(Mailbox.scala:224)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[182:com.typesafe.akka.actor:2.4.11]
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      Caused by: java.lang.IllegalStateException: Attempted to close chain with outstanding transaction PingPongTransaction{delegate=org.opendaylight.controller.cluster.databroker.DOMBrokerReadWriteTransaction@38e19237}

      at com.google.common.base.Preconditions.checkState(Preconditions.java:197)[65:com.google.guava:18.0.0]
      at org.opendaylight.controller.md.sal.dom.broker.impl.PingPongTransactionChain.close(PingPongTransactionChain.java:373)[167:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.ApplicationPeer.close(ApplicationPeer.java:238)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.protocol.bgp.rib.impl.config.AppPeer$BgpAppPeerSingletonService.closeServiceInstance(AppPeer.java:125)[295:org.opendaylight.bgpcep.bgp-rib-impl:0.7.0.SNAPSHOT]
      at org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceRegistrationDelegator.closeServiceInstance(ClusterSingletonServiceRegistrationDelegator.java:52)[163:org.opendaylight.mdsal.singleton-dom-impl:2.2.0.SNAPSHOT]
      at org.opendaylight.mdsal.singleton.dom.impl.ClusterSingletonServiceGroupImpl.unregisterService(ClusterSingletonServiceGroupImpl.java:193)[163:org.opendaylight.mdsal.singleton-dom-impl:2.2.0.SNAPSHOT]
      ... 22 more
      2016-12-07 16:49:21,604 | ERROR | CommitFutures-5 | ApplicationPeer | 295 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | Transaction chain failed.
      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 deleted by other transaction.]]}

      at org.opendaylight.controller.cluster.datastore.ShardDataTree.processNextTransaction(ShardDataTree.java:547)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardDataTree.startCanCommit(ShardDataTree.java:576)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.SimpleShardDataTreeCohort.canCommit(SimpleShardDataTreeCohort.java:79)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.CohortEntry.canCommit(CohortEntry.java:97)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:236)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleReadyLocalTransaction(ShardCommitCoordinator.java:200)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.Shard.handleReadyLocalTransaction(Shard.java:570)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.Shard.handleNonRaftCommand(Shard.java:292)[208:org.opendaylight.controller.sal-distributed-datastore:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.raft.RaftActor.handleCommand(RaftActor.java:289)[203:org.opendaylight.controller.sal-akka-raft:1.5.0.SNAPSHOT]
      at org.opendaylight.controller.cluster.common.actor.AbstractUntypedPersistentActor.onReceiveCommand(AbstractUntypedPersistentActor.java:31)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.persistence.UntypedPersistentActor.onReceive(PersistentActor.scala:170)[188:com.typesafe.akka.persistence:2.4.11]
      at org.opendaylight.controller.cluster.common.actor.MeteringBehavior.apply(MeteringBehavior.java:104)[202:org.opendaylight.controller.sal-clustering-commons:1.5.0.SNAPSHOT]
      at akka.actor.ActorCell$$anonfun$become$1.applyOrElse(ActorCell.scala:544)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:484)[182:com.typesafe.akka.actor:2.4.11]
      at akka.persistence.UntypedPersistentActor.akka$persistence$Eventsourced$$super$aroundReceive(PersistentActor.scala:168)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.Eventsourced$$anon$1.stateReceive(Eventsourced.scala:657)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:182)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.persistence.UntypedPersistentActor.aroundReceive(PersistentActor.scala:168)[188:com.typesafe.akka.persistence:2.4.11]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)[182:com.typesafe.akka.actor:2.4.11]
      at akka.actor.ActorCell.invoke(ActorCell.scala:495)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.run(Mailbox.scala:224)[182:com.typesafe.akka.actor:2.4.11]
      at akka.dispatch.Mailbox.exec(Mailbox.scala:234)[182:com.typesafe.akka.actor:2.4.11]
      at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[177:org.scala-lang.scala-library:2.11.8.v20160304-115712-1706a37eb8]
      Caused by: org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:285)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildPreconditions(AbstractNodeContainerModificationStrategy.java:305)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:288)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.SchemaAwareApplyOperation.checkApplicable(SchemaAwareApplyOperation.java:125)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.StructuralContainerModificationStrategy.checkApplicable(StructuralContainerModificationStrategy.java:99)[86:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]
      at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkChildP...

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              cdgasparini Claudio David Gasparini
              cdgasparini Claudio David Gasparini
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: