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

OpenFlow meta app sometimes fails to load with missing requirements

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Hummingbird sprint 3

      Description

      Occasionally the events that trigger loading of required applications for the openflow meta app get delivered out of order, and apps that are required are loaded after the meta app. Here is an example stack trace:

      2016-08-10 22:21:44,178 | WARN | -message-handler | ApplicationManager | 76 - org.onosproject.onos-core-net - 1.7.0.SNAPSHOT | Unable to perform operation on application org.onosproject.openflow-base
      java.lang.IllegalStateException: Can't install feature onos-providers-openflow-base/0.0.0:
      Could not start bundle mvn:org.onosproject/onos-providers-openflow-device/1.7.0-SNAPSHOT in feature(s) onos-providers-openflow-base-1.7.0-SNAPSHOT: Unresolved constraint in bundle org.onosproject.onos-providers-openflow-device [163]: Unable to resolve 163.0: missing requirement [163.0] osgi.wiring.package; (&(osgi.wiring.package=org.onosproject.net.optical.device)(version>=1.7.0)(!(version>=2.0.0)))
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:405)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:373)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:351)
      at Proxy2f5c7ac0_3d59_4dae_bba3_203c1f78f885.installFeature(Unknown Source)
      at org.onosproject.app.impl.ApplicationManager.installAppFeatures(ApplicationManager.java:283)
      at org.onosproject.app.impl.ApplicationManager.access$200(ApplicationManager.java:66)
      at org.onosproject.app.impl.ApplicationManager$InternalStoreDelegate.notify(ApplicationManager.java:210)
      at org.onosproject.app.impl.ApplicationManager$InternalStoreDelegate.notify(ApplicationManager.java:202)
      at org.onosproject.store.app.DistributedApplicationStore.setupApplicationAndNotify(DistributedApplicationStore.java:484)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
      at org.onosproject.store.app.DistributedApplicationStore.access$500(DistributedApplicationStore.java:94)[78:org.onosproject.onos-core-dist:1.7.0.SNAPSHOT]
      at org.onosproject.store.app.DistributedApplicationStore$InternalAppsListener.event(DistributedApplicationStore.java:467)
      at org.onosproject.store.primitives.impl.MeteredAsyncConsistentMap$InternalMeteredMapEventListener.event(MeteredAsyncConsistentMap.java:291)
      at org.onosproject.store.primitives.impl.TranscodingAsyncConsistentMap$InternalBackingMapEventListener.event(TranscodingAsyncConsistentMap.java:311)
      at org.onosproject.store.primitives.resources.impl.AtomixConsistentMap.lambda$null$2(AtomixConsistentMap.java:102)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]

        Attachments

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

          Activity

            People

            Assignee:
            madan Madan Jampani
            Reporter:
            ray Ray Milkey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: