[NETVIRT-136] in 3node tunnels fail to create due to concurrency lock - cluster behavior is missing Created: 12/Sep/16  Updated: 30/Oct/17  Resolved: 22/Nov/16

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Boron
Fix Version/s: None

Type: Bug
Reporter: Ravit Peretz Assignee: Unassigned
Resolution: Cannot Reproduce 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: 6699

 Description   

running netvirt-vpnservice-csit-3node-openstack-mitaka-openstack-boron
one of the computes is lacking tunnels rules in table 21 for all vms defined.
In the log, there is an error:

2016-09-11 13:18:04,672 | WARN | pool-45-thread-9 | TransportZoneNotificationUtil | 314 - org.opendaylight.netvirt.neutronvpn-impl - 0.3.0.SNAPSHOT | failed to add tunnels on router added of routerDpnList RouterDpnList{getDpnVpninterfacesList=[DpnVpninterfacesList{getDpnId=198081082022276, augmentations={}}, DpnVpninterfacesList{getDpnId=250746723134214, augmentations={}}, DpnVpninterfacesList{getDpnId=17607834328568, augmentations={}}], getRouterId=4ee3bdd3-b005-4e4f-b313-8e4d35503a85, augmentations={}} due to 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 replaced by other transaction.]]}

Seems like the error was caused by multiple odls handling the same transport zone in TransportZoneNotificationUtil.



 Comments   
Comment by Bertrand Low [ 12/Sep/16 ]

Hi Ravit,

which particular run was this issue found and is it reproducible?

https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-vpnservice-csit-3node-openstack-mitaka-openstack-boron/

While the symptom of missing tunnel flow entries may be the same as NETVIRT-113 the "failed to add tunnels on router" TransportZoneNotificationUtil error is not found in the logs for NETVIRT-113. So, imho, it is too early to say that the root cause of these two bugs are the same.

Comment by Ravit Peretz [ 12/Sep/16 ]

Hi Bertrand,
indeed, this is not a duplicate for NETVIRT-113 as this bug involves vpnservice while the other has been opened on the legacy code (old netvirt)..

This issue was found on multiple downstream job runs.

Generated at Wed Feb 07 20:20:47 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.