Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1441

DistributedFlowRuleStore doesn't remove flows for disconnected devices

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      58eded6297de11e44a426d6d243794cff1445915 (master)
      3 node cluster

      Description

      Flows that are removed when a switch is disconnected are readded to the switch when it reconnects and never removed.

      2015-03-31 14:05:48,161 | WARN | ice-installer-16 | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | No master for of:0000000000000001 : flows will be marked for removal
      2015-03-31 14:05:48,170 | WARN | urrent-publish-2 | BoundedThreadPool | 74 - org.onosproject.onlab-misc - 1.2.0.SNAPSHOT | queue size: 0 jobs, submitted: 0.05421719407948241 jobs/s, taken: 0.027108597039741205 jobs/s
      2015-03-31 14:05:49,174 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:05:54,928 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:05,029 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:15,131 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:16,898 | WARN | topology-view | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:25,229 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:35,332 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:45,430 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:46,901 | WARN | topology-view | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:06:55,529 | WARN | topo-summary | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Failed to getFlowEntries: No master for of:0000000000000001
      2015-03-31 14:07:01,172 | INFO | ew I/O worker #7 | OFChannelHandler | 157 - org.onosproject.onos-of-ctl - 1.2.0.SNAPSHOT | New switch connection from /10.128.11.4:52066
      2015-03-31 14:07:01,177 | INFO | ew I/O worker #7 | OFChannelHandler | 157 - org.onosproject.onos-of-ctl - 1.2.0.SNAPSHOT | Received switch description reply from switch at /10.128.11.4:52066
      2015-03-31 14:07:01,178 | INFO | ew I/O worker #7 | ntrollerImpl$OpenFlowSwitchAgent | 157 - org.onosproject.onos-of-ctl - 1.2.0.SNAPSHOT | Added switch 00:00:00:00:00:00:00:01
      2015-03-31 14:07:01,178 | INFO | ew I/O worker #7 | DeviceManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Device of:0000000000000001 connected
      2015-03-31 14:07:01,199 | INFO | ew I/O worker #7 | DeviceManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Role of this node is STANDBY for of:0000000000000001
      2015-03-31 14:07:01,199 | WARN | ew I/O worker #7 | RoleManager | 157 - org.onosproject.onos-of-ctl - 1.2.0.SNAPSHOT | Sending Nx Role.SLAVE to switch OFSwitchImplOVS10 [/10.128.11.4:52066 DPID[00:00:00:00:00:00:00:01]].
      2015-03-31 14:07:01,199 | INFO | ew I/O worker #7 | OFSwitchImplOVS10 | 155 - org.onosproject.onos-of-api - 1.2.0.SNAPSHOT | Sending role EQUAL to switch 00:00:00:00:00:00:00:01
      2015-03-31 14:07:01,199 | INFO | ew I/O worker #7 | OpenFlowDeviceProvider | 160 - org.onosproject.onos-of-provider-device - 1.2.0.SNAPSHOT | Accepting mastership role change for device of:0000000000000001
      2015-03-31 14:07:01,202 | INFO | ew I/O worker #7 | FlowStatsCollector | 162 - org.onosproject.onos-of-provider-flow - 1.2.0.SNAPSHOT | Starting Stats collection thread for 00:00:00:00:00:00:00:01
      2015-03-31 14:07:01,202 | INFO | ew I/O worker #7 | OFChannelHandler | 157 - org.onosproject.onos-of-ctl - 1.2.0.SNAPSHOT | Processing 0 pending port status messages for 00:00:00:00:00:00:00:01
      2015-03-31 14:07:01,202 | INFO | ew I/O worker #7 | DeviceManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | got reply to a role request for of:0000000000000001: asked for STANDBY, and got STANDBY

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            bocon Brian O'Connor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: