[NETVIRT-1034] OptimisticLockFailedException : Conflicting modification for path id=515001951165718665375538295133659fa:16:3e:a4:3a:03 Created: 04/Dec/17 Updated: 06/Apr/18 Resolved: 06/Apr/18 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | High |
| Reporter: | Philippe Guibert | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
with review https://git.opendaylight.org/gerrit/#/c/63422/, there is an issue with InterSubnet Routing Intra-DC. Even the issue appears when trying to access the first VM between DHCP Server and the VM. Here is the configuration used: openstack router create router openstack network create N1 openstack subnet create --network N1 SUB1 --subnet-range 10.10.10.0/24 openstack router add subnet router SUB1 neutron port-create N1 --name=port1 nova boot --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=3ce33b76-9c38-46f9-8f24-da3e08264886 VM1 An exception has been identified: 2017-12-01 17:52:14,465 | INFO | n-dispatcher-679 | FlowBasedServicesConfigListener | 239 - org.opendaylight.genius.interfacemanager-impl - 0.3.1.SNAPSHOT | Service Binding Entry created for\
Interface: 3ce33b76-9c38-46f9-8f24-da3e08264886, Data: BoundServices{getServiceName=elan.0bcd5c53-0246-457a-ae40-bf071302abc3.3ce33b76-9c38-46f9-8f24-da3e08264886, getServicePriority=9, getSe\
rviceType=class org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.ServiceTypeFlowBased, augmentations={interface org.opendaylight.yang.gen.v1.urn.o\
pendaylight.genius.interfacemanager.servicebinding.rev160406.StypeOpenflow=StypeOpenflow{getFlowCookie=134479872, getFlowPriority=9, getInstruction=[Instruction{getInstruction=GoToTableCase{ge\
tGoToTable=GoToTable{getTableId=43, augmentations={}}, augmentations={}}, getOrder=3, augmentations={}}, Instruction{getInstruction=ApplyActionsCase{getApplyActions=ApplyActions{getAction=[Act\
ion{getAction=ServiceBindingNxActionRegLoadApplyActionsCase{getNxRegLoad=NxRegLoad{getDst=Dst{getDstChoice=DstNxRegCase{getNxReg=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjav\
a.nx.match.rev140421.NxmNxReg7, augmentations={}}, getEnd=15, getStart=0, augmentations={}}, getValue=5001, augmentations={}}, augmentations={}}, getOrder=1, augmentations={}}, Action{getActio\
n=ServiceBindingNxActionRegLoadApplyActionsCase{getNxRegLoad=NxRegLoad{getDst=Dst{getDstChoice=DstNxRegCase{getNxReg=class org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match.r\
ev140421.NxmNxReg1, augmentations={}}, getEnd=19, getStart=0, augmentations={}}, getValue=2, augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}], augmentations={}}, augmentati\
ons={}}, getOrder=2, augmentations={}}, Instruction{getInstruction=WriteMetadataCase{getWriteMetadata=WriteMetadata{getMetadata=83902857216, getMetadataMask=1099494850560, augmentations={}}, a\
ugmentations={}}, getOrder=1, augmentations={}}]}}}
2017-12-01 17:52:14,466 | WARN | d-dispatcher-665 | ShardDataTree | 219 - org.opendaylight.controller.sal-distributed-datastore - 1.6.1.SNAPSHOT | member-1-shard-inventory-\
config: Store Tx member-1-datastore-config-fe-0-txn-832-0: Conflicting modification for path /(urn:opendaylight:inventory?revision=2013-08-19)nodes/node/node[{(urn:opendaylight:inventory?revis\
ion=2013-08-19)id=openflow:9511657186653}]/AugmentationIdentifier{childNames=[(urn:opendaylight:flow:inventory?revision=2013-08-19)table-features, (urn:opendaylight:flow:inventory?revision=201\
3-08-19)manufacturer, (urn:opendaylight:flow:inventory?revision=2013-08-19)hardware, (urn:opendaylight:flow:inventory?revision=2013-08-19)stale-meter, (urn:opendaylight:flow:inventory?revision\
=2013-08-19)description, (urn:opendaylight:flow:inventory?revision=2013-08-19)supported-actions, (urn:opendaylight:flow:inventory?revision=2013-08-19)supported-instructions, (urn:opendaylight:\
flow:inventory?revision=2013-08-19)meter, (urn:opendaylight:flow:inventory?revision=2013-08-19)switch-features, (urn:opendaylight:flow:inventory?revision=2013-08-19)supported-match-types, (urn\
:opendaylight:flow:inventory?revision=2013-08-19)table, (urn:opendaylight:flow:inventory?revision=2013-08-19)stale-group, (urn:opendaylight:flow:inventory?revision=2013-08-19)port-number, (urn\
:opendaylight:flow:inventory?revision=2013-08-19)group, (urn:opendaylight:flow:inventory?revision=2013-08-19)software, (urn:opendaylight:flow:inventory?revision=2013-08-19)ip-address, (urn:ope\
ndaylight:flow:inventory?revision=2013-08-19)serial-number]}/(urn:opendaylight:flow:inventory?revision=2013-08-19)table/table[{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=51}]/flow\
/flow[{(urn:opendaylight:flow:inventory?revision=2013-08-19)id=515001951165718665375538295133659fa:16:3e:a4:3a:03}].
2017-12-01 17:52:14,467 | ERROR | ult-dispatcher-2 | LocalThreePhaseCommitCohort | 219 - org.opendaylight.controller.sal-distributed-datastore - 1.6.1.SNAPSHOT | Failed to prepare transac\
tion member-1-datastore-config-fe-0-txn-832-0 on backend
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 created by other transaction.]]}
at org.opendaylight.controller.cluster.datastore.ShardDataTree.lambda$processNextPendingTransaction$0(ShardDataTree.java:731)[219:org.opendaylight.controller.sal-distributed-datastore:\
1.6.1.SNAPSHOT]
|
| Comments |
| Comment by Philippe Guibert [ 04/Dec/17 ] |
|
For more information about the elemtsn referenced in that Exception: 2017-12-01 17:52:14,463 | INFO | nPool-1-worker-0 | ElanUtils | 312 - org.opendaylight.netvirt.elanmanager-impl - 0.5.1.SNAPSHOT | Remote Dmac flow entry created for el\ an Name:0bcd5c53-0246-457a-ae40-bf071302abc3, logical port Name:tap28d443a3-e5 and mac address fa:16:3e:a4:3a:03 on dpn:9511657186653 opendaylight-user@root>vpn-show --detail 9395fb10-430d-4d22-9d2a-7e15308d47fb Present Config VpnInterfaces are: 3ce33b76-9c38-46f9-8f24-da3e08264886 VM1 d4fe20aa-61be-4798-a4cd-6381c0c6b33e 28d443a3-e561-43b8-85ed-e60b64053c8d Present Oper VpnInterfaces are: 28d443a3-e561-43b8-85ed-e60b64053c8d 3ce33b76-9c38-46f9-8f24-da3e08264886 opendaylight-user@root> |
| Comment by Philippe Guibert [ 04/Dec/17 ] |
|
file service_binding_entry_creation_comparison.txt Among differences for setting binding entries ( that is to say incoming and outgoing entries):
|
| Comment by Philippe Guibert [ 05/Dec/17 ] |
|
https://lists.opendaylight.org/pipermail/netvirt-dev/2017-November/005829.html should help . |