[OPNFLWPLUG-1022] Exception during ODL startup in cluster Created: 03/Jul/18 Updated: 10/Sep/18 Resolved: 10/Sep/18 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | openflowplugin |
| Affects Version/s: | Oxygen, Fluorine |
| Fix Version/s: | Oxygen-SR4, Fluorine-SR1, Neon |
| Type: | Bug | Priority: | Medium |
| Reporter: | Victor Pickard | Assignee: | Anil Vishnoi |
| Resolution: | Done | Votes: | 0 |
| Labels: | csit:3node | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
This OLFE occurred when ODL rwas restarted in the controller clustering CSIT.
2018-07-03T06:46:59,062 | ERROR | Blueprint Extender: 1 | TransactionChainManager | 436 - org.opendaylight.openflowplugin.common - 0.6.3.SNAPSHOT | Exception during INITIAL(true) || doSync(false) transaction submitting. ], errorList=[RpcError [message=Optimistic lock failed for path /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[\{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=flow:1}], severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]} |
| Comments |
| Comment by Victor Pickard [ 03/Jul/18 ] |
|
ODL log that has the exception. Note: this is a sandbox job, I have issued the copy-logs to save for debugging: copy-logs: controller-csit-3node-clustering-vpickard-all-oxygen/13
Karaf log
Job Link |
| Comment by Michael Vorburger [ 03/Jul/18 ] |
|
vpickard just to clarify for you, as this has been brought up during the Kernel Projects call today: This technically isn't a "clustering is broken" issue, in the sense of "clustering infrastructure is broken", but one of those "application need to do something for clustering". You will find similar issue containing ConflictingModificationAppliedException in JIRA. I've deal with some of them in genius and netvirt in the past. |
| Comment by Victor Pickard [ 10/Jul/18 ] |
|
Michael, Thanks for the input! Here is the archived link to the job logs, etc.
|
| Comment by Victor Pickard [ 20/Jul/18 ] |
|
Saw this in another job:
Exception was on odl1, here are those logs:
2018-07-17T03:13:02,365 | ERROR | Blueprint Extender: 2 | TransactionChainManager | 436 - org.opendaylight.openflowplugin.common - 0.6.3.SNAPSHOT | Exception during INITIAL(true) || doSync(false) transaction submitting. java.util.concurrent.ExecutionException: OptimisticLockFailedException{message=Optimistic lock failed for path /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[ {(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=flow:1}], errorList=[RpcError [message=Optimistic lock failed for path /(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)network-topology/topology/topology[\{(urn:TBD:params:xml:ns:yang:network-topology?revision=2013-10-21)topology-id=flow:1}], severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]} at org.opendaylight.mdsal.common.api.MappingCheckedFuture.wrapInExecutionException(MappingCheckedFuture.java:66) [379:org.opendaylight.mdsal.common-api:2.4.3.SNAPSHOT] at org.opendaylight.mdsal.common.api.MappingCheckedFuture.get(MappingCheckedFuture.java:94) [379:org.opendaylight.mdsal.common-api:2.4.3.SNAPSHOT] at org.opendaylight.openflowplugin.common.txchain.TransactionChainManager.submitTransaction(TransactionChainManager.java:186) |
| Comment by Jamo Luhrsen [ 26/Jul/18 ] |
|
Avishnoi any chance you can take a stab at this or give some ideas for someone knowledgeable in OFP to maybe provide a fix? |
| Comment by Anil Vishnoi [ 26/Jul/18 ] |
|
jluhrsen Earliest i will be able to look at it is by Friday, so will update tickets with my finding. |
| Comment by Jamo Luhrsen [ 14/Aug/18 ] |
|
Avishnoi poke |
| Comment by Victor Pickard [ 30/Aug/18 ] |
|
Avishnoi any chance to take a look at this one? Thanks |
| Comment by Anil Vishnoi [ 30/Aug/18 ] |
|
vpickard Fix is already pushed, but i need to push a patch to fix the CSIT test case that is failing because of this new change. I will push the patch by Monday (09/03). |
| Comment by Anil Vishnoi [ 30/Aug/18 ] |
|
Pushed the CSIT patch as well : https://git.opendaylight.org/gerrit/#/c/75593/ |