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

BGP: network-topology does not exist

    XMLWordPrintable

Details

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

    • 2398

    Description

      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
      TransactionCommitFailedException

      {message=Data did not pass validation., errorList=[R pcError [message=Data did not pass validation., severity=ERROR, errorType=APPLICATIO N, tag=operation-failed, applicationTag=null, info=null, cause=org.opendaylight.yang tools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException: Node /(urn:TBD:pa rams:xml:ns:yang:network-topology?revision=2013-10-21)network-topology does not exis t. Cannot apply modification to its children.]]}

      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

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            vrpolak Vratko Polak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: