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

Some devices have all ports disabled

    XMLWordPrintable

    Details

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

      Description

      This bug is fairly consistent in the CHOtest. It seems to happen to a random number of devices where onos will show all the ports associated with that device to be disabled, but the device still has active links.

      onos> ports of:0000000000000002
      id=of:0000000000000002, available=true, role=MASTER, type=SWITCH, mfr=Nicira, Inc., hw=Open vSwitch, sw=2.3.0, serial=None, managementAddress=10.128.40.50, protocol=OF_13, channelId=10.128.40.50:36894
      port=local, state=disabled, type=copper, speed=0 , portName=s2
      port=1, state=disabled, type=copper, speed=10 , portName=s2-eth1
      port=2, state=disabled, type=copper, speed=10 , portName=s2-eth2
      port=3, state=disabled, type=copper, speed=10 , portName=s2-eth3

      onos> summary
      node=10.128.40.41, version=1.4.0.admin~2015/10/12@15:59
      nodes=3, devices=25, links=109, hosts=25, SCC(s)=1, flows=2242, intents=600

      2015-10-12 17:25:54,869 | WARN | event-dispatch-0 | ListenerRegistry | 75 - org.onosproject.onos-api - 1.4.0.SNAPSHOT | Exception encountered while processing event TopologyEvent{time=2015-10-12T17:25:54.869, type=TOPOLOGY_CHANGED, subject=DefaultTopology{time=7695584661329, creationTime=1444695954868, computeCost=346092, clusters=1, devices=25, links=108}}
      java.lang.NullPointerException
      at org.onosproject.fwd.ReactiveForwarding.getFlowRulesFrom(ReactiveForwarding.java:801)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at org.onosproject.fwd.ReactiveForwarding.fixBlackhole(ReactiveForwarding.java:696)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at org.onosproject.fwd.ReactiveForwarding.access$1000(ReactiveForwarding.java:90)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at org.onosproject.fwd.ReactiveForwarding$InternalTopologyListener.lambda$event$0(ReactiveForwarding.java:687)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at org.onosproject.fwd.ReactiveForwarding$InternalTopologyListener$$Lambda$613/848447014.accept(Unknown Source)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at java.util.ArrayList.forEach(ArrayList.java:1249)[:1.8.0_51]
      at org.onosproject.fwd.ReactiveForwarding$InternalTopologyListener.event(ReactiveForwarding.java:683)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at org.onosproject.fwd.ReactiveForwarding$InternalTopologyListener.event(ReactiveForwarding.java:678)[177:org.onosproject.onos-app-fwd:1.4.0.SNAPSHOT]
      at org.onosproject.event.ListenerRegistry.process(ListenerRegistry.java:66)[75:org.onosproject.onos-api:1.4.0.SNAPSHOT]
      at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.process(CoreEventDispatcher.java:141)[143:org.onosproject.onos-core-net:1.4.0.SNAPSHOT]
      at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.run(CoreEventDispatcher.java:124)[143:org.onosproject.onos-core-net:1.4.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_51]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_51]

        Attachments

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

          Activity

            People

            • Assignee:
              bocon Brian O'Connor
              Reporter:
              GlennRC Glenn Contreras
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: