[BGPCEP-538] BGP synchronization can happen after the session was closed causing conflicting modifications Created: 01/Sep/16  Updated: 03/Mar/19  Resolved: 03/Oct/16

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Milos Fabian Assignee: Claudio David Gasparini
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6616

 Description   

2016-09-01 20:01:08,597 | INFO | entLoopGroup-8-7 | BGPSessionImpl | 307 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | Closing session: BGPSessionImpl

{channel=[id: 0xa4da461a, L:/10.29.12.215:1790 - R:/10.29.12.193:17900], state=UP}

2016-09-01 20:01:08,598 | INFO | entLoopGroup-8-7 | BGPPeer | 307 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | Session with peer 10.29.12.193 terminated: BGPTerminationReason

{error=WELL_KNOWN_ATTR_MISSING}

2016-09-01 20:01:08,601 | INFO | entLoopGroup-8-7 | BGPSynchronization | 307 - org.opendaylight.bgpcep.bgp-rib-impl - 0.7.0.SNAPSHOT | BGP Synchronization finished for table TablesKey [_afi=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919.Ipv4AddressFamily, _safi=class org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev130919.UnicastSubsequentAddressFamily]
2016-09-01 20:01:08,602 | WARN | ult-dispatcher-4 | ShardDataTree | 200 - org.opendaylight.controller.sal-distributed-datastore - 1.5.0.SNAPSHOT | member-1-shard-default-operational: Store Tx member-1-datastore-operational-fe-0-chn-57-txn-2: Data validation failed 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://10.29.12.193}

].
org.opendaylight.yangtools.yang.data.api.schema.tree.ModifiedNodeDoesNotExistException: Node /(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://10.29.12.193}

] does not exist. Cannot apply modification to its children.
at org.opendaylight.yangtools.yang.data.impl.schema.tree.AbstractNodeContainerModificationStrategy.checkTouchApplicable(AbstractNodeContainerModificationStrategy.java:281)[85:org.opendaylight.yangtools.yang-data-impl:1.1.0.SNAPSHOT]



 Comments   
Comment by Milos Fabian [ 09/Sep/16 ]

BGP synchronization is done after the session has been terminated.

Comment by Claudio David Gasparini [ 29/Sep/16 ]

master
https://git.opendaylight.org/gerrit/#/q/topic:BUG-6616

Comment by Claudio David Gasparini [ 03/Oct/16 ]

Boron
https://git.opendaylight.org/gerrit/#/q/topic:BUG-6616-stable/boron

Generated at Wed Feb 07 19:13:22 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.