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

Flows are not added/sync'ed across ONOS nodes after topology bringup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
    • Epic Link:
    • Sprint:
      Cardinal Sprint 2 (4/6-4/17)

      Description

      After topology bring up from Mininet on ONOS nodes running latest master
      issue of summary and flows command hangs and logs below error.
      Also I do not see flows sync'ed to some of the ONOS nodes.
      *********************************
      admin@chONOSbench:~/ONOS$ git log -1
      commit 4313d10f471f525eca6d69fe708653a2af667834
      Author: alshabib <alshabibi.ali@gmail.com>
      Date: Wed Apr 8 18:55:08 2015 -0700

      fix bug when a device disconnects. Issue was due to null roleinfo in event

      Change-Id: I12d371382931ef4ab93f25f32ed6e4786735f55a
      admin@chONOSbench:~/ONOS$
      2015-04-08 23:08:14,103 | INFO | nos-topo-build-3 | TopologyManager | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | Topology DefaultTopology

      {time=634242585285409, creationTime=1428559694099, computeCost=3135692, clusters=1, devices=2, links=2}

      changed
      2015-04-08 23:08:23,179 | WARN | h for user karaf | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Unable to fetch flow store contents from 10.128.40.45
      2015-04-08 23:08:28,181 | WARN | h for user karaf | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Unable to fetch flow store contents from 10.128.40.45
      2015-04-08 23:08:40,762 | WARN | h for user karaf | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Unable to fetch flow store contents from 10.128.40.45
      2015-04-08 23:08:45,764 | WARN | h for user karaf | DistributedFlowRuleStore | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Unable to fetch flow store contents from 10.128.40.45
      ^CConnection to 10.128.40.41 closed.
      ################################
      admin@chONOS1:~$ /opt/onos/bin/onos
      Logging in as karaf
      515 [sshd-SshClient[55a1c291]-nio2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at [localhost/127.0.0.1:8101, DSA, 81:5d:2c:05:40:c8:a6:b9:be:c3:0d:12:15:b0:88:b1] presented unverified {} key: {}
      Welcome to Open Network Operating System (ONOS)!
      ____ _ ______ ____
      / __ \/ |/ / __ \/ __/
      / // / / // /\ \
      ___//|/__/__/

      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown ONOS.

      onos>
      onos>
      onos>
      onos> summary
      node=10.128.40.41, version=1.2.0.admin~2015/04/08@23:05
      nodes=5, devices=0, links=0, hosts=0, SCC(s)=0, flows=0, intents=0
      onos>
      onos>
      onos>
      onos>
      onos> summary
      node=10.128.40.41, version=1.2.0.admin~2015/04/08@23:05
      nodes=5, devices=2, links=2, hosts=0, SCC(s)=1, flows=0, intents=0
      onos> summary
      node=10.128.40.41, version=1.2.0.admin~2015/04/08@23:05
      nodes=5, devices=2, links=2, hosts=0, SCC(s)=1, flows=0, intents=0
      onos> device
      device-remove device-role devices
      onos> devices
      id=of:0000000000000001, available=true, role=STANDBY, type=SWITCH, mfr=Nicira, Inc., hw=Open vSwitch, sw=2.3.0, serial=None, protocol=OF_13, channelId=10.128.40.40:42338
      id=of:0000000000000002, available=true, role=STANDBY, type=SWITCH, mfr=Nicira, Inc., hw=Open vSwitch, sw=2.3.0, serial=None, protocol=OF_13, channelId=10.128.40.40:42344
      onos>
      onos> flows
      deviceId=of:0000000000000001, flowRuleCount=0
      deviceId=of:0000000000000002, flowRuleCount=0
      onos>

        Attachments

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

          Activity

            People

            Assignee:
            ash ash
            Reporter:
            hari hari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: