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

LLDP link provider causing device listener queue timeouts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.0
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2

      Description

      Processing of device events in the LLDP link provider takes place on the device event dispatch thread. This can access stores and cause timeouts, and disrupt processing of device events for other providers.

      2016-06-09 16:21:39,751 | ERROR | nos-shared-timer | ListenerRegistry | 74 - org.onosproject.onos-api - 1.6.0.SNAPSHOT | Listener org.onosproject.provider.lldp.impl.LldpLinkProvider$InternalDeviceListener exceeded execution time limit: 5088 ms; ejected
      2016-06-09 16:21:39,767 | WARN | event-dispatch-0 | ListenerRegistry | 74 - org.onosproject.onos-api - 1.6.0.SNAPSHOT | Exception encountered while processing event DeviceEvent{time=2016-06-09T16:21:34.661, type=DEVICE_ADDED, subject=DefaultDevice{id=of:0000000000000008, type=SWITCH, manufacturer=Nicira, Inc., hwVersion=Open vSwitch, swVersion=2.5.0, serialNumber=None, driver=}}
      java.lang.RuntimeException: Interrupted
      at org.onlab.util.Tools.randomDelay(Tools.java:411)
      at org.onlab.util.RetryingFunction.apply(RetryingFunction.java:57)
      at org.onosproject.store.config.impl.DistributedNetworkConfigStore.getConfig(DistributedNetworkConfigStore.java:221)
      at org.onosproject.net.config.impl.NetworkConfigManager.getConfig(NetworkConfigManager.java:203)
      at org.onosproject.provider.lldp.impl.LldpLinkProvider.isBlacklisted(LldpLinkProvider.java:399)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider.isBlacklisted(LldpLinkProvider.java:407)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider.updatePort(LldpLinkProvider.java:471)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider.lambda$updatePorts$5(LldpLinkProvider.java:453)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at java.lang.Iterable.forEach(Iterable.java:75)[:1.8.0_91]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider.updatePorts(LldpLinkProvider.java:453)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider.access$1000(LldpLinkProvider.java:97)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider$InternalDeviceListener.lambda$event$0(LldpLinkProvider.java:583)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at java.util.Optional.ifPresent(Optional.java:159)[:1.8.0_91]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider$InternalDeviceListener.event(LldpLinkProvider.java:583)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.provider.lldp.impl.LldpLinkProvider$InternalDeviceListener.event(LldpLinkProvider.java:566)[169:org.onosproject.onos-providers-lldp:1.6.0.SNAPSHOT]
      at org.onosproject.event.ListenerRegistry.process(ListenerRegistry.java:66)[74:org.onosproject.onos-api:1.6.0.SNAPSHOT]
      at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.process(CoreEventDispatcher.java:145)[76:org.onosproject.onos-core-net:1.6.0.SNAPSHOT]
      at org.onosproject.event.impl.CoreEventDispatcher$DispatchLoop.run(CoreEventDispatcher.java:128)[76:org.onosproject.onos-core-net:1.6.0.SNAPSHOT]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_91]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_91]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_91]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_91]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
      at java.lang.Thread.sleep(Native Method)[:1.8.0_91]
      at org.onlab.util.Tools.randomDelay(Tools.java:409)

        Attachments

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

          Activity

            People

            • Assignee:
              ray Ray Milkey
              Reporter:
              ray Ray Milkey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: