[NETVIRT-443] Infinite loop while vpn instance removal Created: 23/Jan/17  Updated: 08/Feb/17  Resolved: 08/Feb/17

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

Type: Bug
Reporter: Olga Schukin Assignee: Olga Schukin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File odl1_karaf.log.gz.rar     Zip Archive q-svc.zip     Text File relevant-models.txt    
External issue ID: 7660

 Description   

Sometimes VpnInstanceListener gets into endless loop because not all vpn interfaces removed successfully from VpnToDpnList of the operational/odl-l3vpn:vpn-instance-op-data model.

Analysis:
The current interface counter value inside the function waitForOpRemoval() can be less that original counter, but still not zero, then we are back to beginning of the cycle without any action and sleep again .
The infinite loop doesn’t allow to DataStoreJobCoordinator to run any other job within same key.

Please see an example in the attached log, the vpnname ccc2cbb7-efaa-4243-91fb-bc89f3f549db.



 Comments   
Comment by Olga Schukin [ 23/Jan/17 ]

Attachment odl1_karaf.log.gz.rar has been added with description: log

Comment by Koby Aizer [ 24/Jan/17 ]

Attachment relevant-models.txt has been added with description: relevant models

Comment by Koby Aizer [ 24/Jan/17 ]

Attachment q-svc.zip has been added with description: q-svc

Comment by Olga Schukin [ 24/Jan/17 ]

The review: https://git.opendaylight.org/gerrit/50826

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