[CONTROLLER-41] SimpleForwarding: Fails to remove old flows and install new flows after path change in topology Created: 28/Oct/13  Updated: 05/May/15  Resolved: 05/May/15

Status: Resolved
Project: controller
Component/s: adsal
Affects Version/s: 0.4.0
Fix Version/s: None

Type: Bug
Reporter: ashu jain Assignee: Alessandro Boch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


Attachments: JPEG File Opendaylight.jpg    
External issue ID: 126

 Description   

Setup to Reproduce:
===========================

a) Three Openvswitch's are connected to opendaylight controller in a ring as shown in attached topology.

b) By defaul opendaylight installs flows in the switches and route the shortest path i.e between OVS2 and OVS3, PC's are able to ping each other.

c) Now after removing the link between OVS2 and OVS3, opendaylight should remove the old flows and install new flows to forward the traffic via OVS2->OVS1->OVS3 but this is not happening.

How ever topology change is detected by opendaylight and shown correctly in GUI, but flows are not getting refreshed automatically.

Following are the logs:
=================================

10-21 12:29:16.944 IST [Thread-18] ERROR o.o.c.s.s.i.
SimpleForwardingImpl - Failed to install policy: 192.168.1.10/32 (A flow with same match and priority exists on the target node)
2013-10-21 12:29:17.063 IST [SwitchEvent Thread] WARN o.o.c.f.i.ForwardingRulesManager - Operation Rejected: A flow with same match and priority exists on the target node
2013-10-21 12:29:17.063 IST [SwitchEvent Thread] WARN o.o.c.f.i.ForwardingRulesManager - A flow with same match and priority exists on the target node: FlowEntry[flowName = [192.168.1.54/32 on N OF|00:00:00:04:9f:02:a3:e3], groupName = 192.168.1.54/32, node = OF|00:00:00:04:9f:02:a3:e3, flow = Flow[match = Match[[DL_TYPE(2048), NW_DST(192.168.1.54)]], actions = [OUTPUT[OF|1@OF|00:00:00:04:9f:02:a3:e3]], priority = 1, id = 0, idleTimeout = 0, hardTimeout = 0]]
2013-10-21 12:29:17.063 IST [SwitchEvent Thread] ERROR o.o.c.s.s.i.SimpleForwardingImpl - Failed to install policy: 192.168.1.54/32 (A flow with same match and priority exists on the targ

version of opendaylight:
======================
org.opendaylight.controller.version = 0.1
org.opendaylight.controller.build.scm.version = be240fcf2f3831c1b8f17aa1c8a9ec1f672fe701
org.opendaylight.controller.build.user = jenkins-controller
org.opendaylight.controller.build.workspace = **********
org.opendaylight.controller.build.timestamp = 1381885359990
org.opendaylight.controller.build.machine = *********



 Comments   
Comment by ashu jain [ 28/Oct/13 ]

Attachment Opendaylight.jpg has been added with description: 3 node setup

Comment by Alessandro Boch [ 23/Dec/13 ]

Fixed with
https://git.opendaylight.org/gerrit/#/c/3487/

Comment by Carol Sanders [ 05/May/15 ]

This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.

Generated at Wed Feb 07 19:52:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.