Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-312

CandidateAlreadyRegisteredException in Cluster environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • unspecified
    • Southbound.hw_vtep
    • None
    • Operating System: All
      Platform: All

    • 5477

      Below exception is observed in karaf.log all the time on non-entity owner cluster nodes whenever some config is made on the TOR

      2016-03-08 12:56:13,404 | WARN | lt-dispatcher-18 | HwvtepConnectionManager | 253 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.2.2.SNAPSHOT | OVSDB entity Entity{type='hwvtep', id=/(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[

      {(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=hwvtep:1}

      ]/node/node[

      {(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=hwvtep://192.168.122.25:7740}

      ]} was already registered for ownership
      org.opendaylight.controller.md.sal.common.api.clustering.CandidateAlreadyRegisteredException: Candidate has already been registered for Entity{type='hwvtep', id=/(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[

      {(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=hwvtep:1}

      ]/node/node[

      {(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)node-id=hwvtep://192.168.122.25:7740}

      ]}
      at org.opendaylight.controller.cluster.datastore.entityownership.DistributedEntityOwnershipService.registerCandidate(DistributedEntityOwnershipService.java:140)[171:org.opendaylight.controller.sal-distributed-datastore:1.3.1.SNAPSHOT]
      at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager.registerEntityForOwnership(HwvtepConnectionManager.java:265)[253:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager.connect(HwvtepConnectionManager.java:147)[253:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepDataChangeListener.updateConnections(HwvtepDataChangeListener.java:161)[253:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.2.2.SNAPSHOT]
      at org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepDataChangeListener.onDataTreeChanged(HwvtepDataChangeListener.java:86)[253:org.opendaylight.ovsdb.hwvtepsouthbound-impl:1.2.2.SNAPSHOT]
      at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:41)[146:org.opendaylight.controller.sal-binding-broker-impl:1.3.1.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataChanged(DataTreeChangeListenerActor.java:53)[171:org.opendaylight.controller.sal-distributed-datastore:1.3.1.SNAPSHOT]
      at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:37)[171:org.opendaylight.controller.sal-distributed-datastore:1.3.1.SNAPSHOT]
      at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:34)[167:org.opendaylight.controller.sal-clustering-commons:1.3.1.SNAPSHOT]
      at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)[156:com.typesafe.akka.actor:2.3.14]
      at akka.actor.Actor$class.aroundReceive(Actor.scala:467)[156:com.typesafe.akka.actor:2.3.14]
      at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)[156:com.typesafe.akka.actor:2.3.14]
      at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)[156:com.typesafe.akka.actor:2.3.14]
      at akka.actor.ActorCell.invoke(ActorCell.scala:487)[156:com.typesafe.akka.actor:2.3.14]
      at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)[156:com.typesafe.akka.actor:2.3.14]
      at akka.dispatch.Mailbox.run(Mailbox.scala:220)[156:com.typesafe.akka.actor:2.3.14]
      at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)[156:com.typesafe.akka.actor:2.3.14]

            thapar Vishal Thapar
            shashidhar.raja@ericsson.com Shashidhar R
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: