[NETVIRT-143] ELAN mac cache sync from L3VPN flood the log with errors Created: 14/Sep/16  Updated: 06/Dec/16  Resolved: 06/Dec/16

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

Type: Bug
Reporter: Tali Ben-Meir Assignee: Tali Ben-Meir
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


Attachments: Text File screen-karaf.log     Zip Archive screen-karaf.log.zip    
External issue ID: 6719

 Description   

2016-09-14 16:29:20,871 | ERROR | pool-24-thread-1 | MDSALUtil | 319 - org.opendaylight.genius.mdsalutil-api - 0.2.0.SNAPSHOT | Error writing to datastore (path, data)
: (KeyedInstanceIdentifier

{targetType=interface org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.forwarding.entries.MacEntry, path=[org.opendaylight.yang.gen.v1.urn.open daylight.netvirt.elan.rev150602.ElanInterfaceForwardingEntries, org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.elan._interface.forwarding.entries.ElanInterfaceMac[key=E lanInterfaceMacKey [_elanInterface=184745940808239:eth1:flat]], org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.forwarding.entries.MacEntry[key=MacEntryKey [_macAddress= PhysAddress [_value=FA:16:3E:C9:6B:7B]]]]}

, MacEntry [_controllerLearnedForwardingEntryTimestamp=1473859760869, _interface=184745940808239:eth1:flat, _key=MacEntryKey [_macAddress=PhysAddres
s [_value=FA:16:3E:C9:6B:7B]], _macAddress=PhysAddress [_value=FA:16:3E:C9:6B:7B], _isStaticAddress=false, augmentation=[]])
2016-09-14 16:29:20,871 | ERROR | pool-24-thread-1 | DOMNotificationRouterEvent | 168 - org.opendaylight.controller.sal-broker-impl - 1.5.0.SNAPSHOT | Delivery of notification org.open
daylight.controller.md.sal.binding.impl.LazySerializedDOMNotification@2639a545 caused an error in listener org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapt
er@7662cfc8
java.lang.RuntimeException: OptimisticLockFailedException

{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=re source-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.]]}

at org.opendaylight.genius.mdsalutil.MDSALUtil.syncWrite(MDSALUtil.java:531)[319:org.opendaylight.genius.mdsalutil-api:0.2.0.SNAPSHOT]



 Comments   
Comment by govind [ 20/Sep/16 ]

Please enable the Elan bundle by executing below command under Karaf prompt
set TRACE org.opendaylight.netvirt.elan

and also please provide the complete karaf log after executing the steps

Comment by Tali Ben-Meir [ 20/Sep/16 ]

Attachment screen-karaf.log has been added with description: karaf log

Comment by govind [ 20/Sep/16 ]

In the attachment there is no error message mentioned in above comments

Comment by Tali Ben-Meir [ 20/Sep/16 ]

Attachment screen-karaf.log.zip has been added with description: karaf log 2

Comment by govind [ 20/Sep/16 ]

Thanks for sharing the log file. I will look into the attachment file for further analysis. It will be more helpful If you reproduce the same by setting the log TRACE for the elan bundle.

Please execute the below command under Karaf prompt

set TRACE org.opendaylight.netvirt.elan

and reproduce the issue and share the logs. It will be more helpful in fixing the problem.

Comment by Tali Ben-Meir [ 20/Sep/16 ]

The log was set to TRACE level starting from 15:45:38,153
The next Exception of this type was at 15:49:51,975

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