-
Bug
-
Resolution: Done
-
Bugzilla Migration
-
None
-
Operating System: All
Platform: All
-
2398
During clustering testing, sometimes the following warning happens:
2014-11-18 11:29:38,365 | WARN | ult-dispatcher-2 | InMemoryDOMDataStore | 225 - org.opendaylight.controller.sal-inmemory-datastore - 1.2.0.SNAPSHOT | Store Tx: member-1-shard-topology-operational-0 Data Precondition failed for /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology.
org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException: Node /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology does not exist. Cannot apply modification to its children.
leading to error and missing BGP topology:
2014-11-18 11:29:38,397 | ERROR | CommitFutures-0 | AbstractTopologyBuilder
265 - org.opendaylight.bgpcep.bgp-topology-provider - 0.4.0.SNAPSHOT | Topology builder for KeyedInstanceIdentifier {targetType=interface org.opendaylight.yang.gen.v 1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology, p ath=[org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131 021.NetworkTopology, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network .topology.rev131021.network.topology.Topology[key=TopologyKey [_topologyId=Uri [_val ue=example-linkstate-topology-1]]]]} failed in transaction DOM-CHAIN-1-0 |
Notably, this error has never happened when PCEP component starts quickly enough; that may be why this bug was not visible before clustering.
Possibly, the fix could be just to add 'true' as fourth argument, at the end of line 82 of AbstractTopologyBuilder.java