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

Assigning mastership to the switch problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:
    • Environment:
    • Story Points:
      3
    • Epic Link:
    • Sprint:
      M Sprint #4 - Platform

      Description

      While running SCPFhostLat test, observed that there is an issue with assigning mastership to the switch.

      sudo mn --topo=linear,1
      sh ovs-vsctl set-controller s1 tcp:{$OC1 ip_address}:6653

      Log :

      Expected to this point.

      2017-11-22 22:46:43,814 | INFO  | onos-of-worker-0 | ntrollerImpl$OpenFlowSwitchAgent | 167 | Transitioned switch 00:00:00:00:00:00:00:01 to MASTER
      2017-11-22 22:46:43,848 | WARN  | onos-of-worker-0 | OFMessageEncoder                 | 167 | NOTHING WAS WRITTEN for []
      2017-11-22 22:46:43,914 | INFO  | nos-topo-build-1 | TopologyManager                  | 129 | Topology DefaultTopology{time=2264182914179130, creationTime=1511390803724, computeCost=1610282, clusters=1, devices=1, links=0} changed
      2017-11-22 22:46:43,940 | INFO  | onos-of-worker-0 | DeviceManager                    | 129 | Device of:0000000000000001 port 1 status changed
      2017-11-22 22:46:44,867 | INFO  | of-event-stats-4 | DistributedGroupStore            | 131 | Group AUDIT: Setting device of:0000000000000001 initial AUDIT completed

      However, after about 30 seconds, something happens to the mastership of the switch and additional actions occurred. 

      2017-11-22 22:47:18,812 | INFO  | onos-of-worker-0 | ntrollerImpl$OpenFlowSwitchAgent | 167 | Transitioned switch 00:00:00:00:00:00:00:01 to EQUAL
      2017-11-22 22:47:18,818 | WARN  | spatch-topology0 | CfmMepManager                    | 135 | Device of:0000000000000001 has been removed or changed
      2017-11-22 22:47:18,832 | INFO  | nos-topo-build-2 | TopologyManager                  | 129 | Topology DefaultTopology{time=2264218020101237, creationTime=1511390838830, computeCost=312773, clusters=0, devices=0, links=0} changed
      2017-11-22 22:47:18,845 | INFO  | onos-of-worker-0 | ntrollerImpl$OpenFlowSwitchAgent | 167 | Transitioned switch 00:00:00:00:00:00:00:01 to MASTER
      2017-11-22 22:47:18,858 | INFO  | nos-topo-build-3 | TopologyManager                  | 129 | Topology DefaultTopology{time=2264218042980518, creationTime=1511390838853, computeCost=210573, clusters=1, devices=1, links=0} changed
      2017-11-22 22:47:25,244 | INFO  | of-event-stats-7 | DistributedGroupStore            | 131 | Group AUDIT: Setting device of:0000000000000001 initial AUDIT completed
      2017-11-22 22:48:18,846 | INFO  | onos-of-worker-0 | ntrollerImpl$OpenFlowSwitchAgent | 167 | Transitioned switch 00:00:00:00:00:00:00:01 to EQUAL
      2017-11-22 22:48:18,849 | INFO  | onos-of-worker-0 | ntrollerImpl$OpenFlowSwitchAgent | 167 | Transitioned switch 00:00:00:00:00:00:00:01 to MASTER

       

        Attachments

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

          Activity

            People

            Assignee:
            kuujo Jordan Halterman
            Reporter:
            dlim15 Devin Lim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: