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

StorageException when activating FlowRuleManager

    XMLWordPrintable

    Details

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

      commit da580889e275567ca3f53c09c8d1c8eff194f73c

    • Epic Link:
    • Sprint:
      Cardinal Sprint 5 (5/18-5/22), Cardinal Sprint 6 (5/26-5/29)

      Description

      In a 7 node ONOS cluster during startup. This is from ONOS7, the only node with an ERROR.
      Timeout Exception with Atomic Counter:

      2015-05-13 09:46:33,926 | WARN  | copycat-p2-1     | PassiveState                     | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.128.30.17:7238 - Sync to MemberInfo[uri=tcp://10.128.30.11:7238, version=203, index=6] failed: java.util.concurrent.TimeoutException: Request timed out after 5000 ms
      2015-05-13 09:46:33,934 | WARN  | copycat-p2-1     | PassiveState                     | 72 - org.onosproject.onlab-thirdparty - 1.2.0.SNAPSHOT | tcp://10.128.30.17:7238 - Sync to MemberInfo[uri=tcp://10.128.30.16:7238, version=139, index=6] failed: java.util.concurrent.TimeoutException: Request timed out after 5000 ms
      2015-05-13 09:46:35,346 | INFO  | FelixStartLevel  | NewDistributedFlowRuleStore      | 79 - org.onosproject.onos-core-dist - 1.2.0.SNAPSHOT | Started with msgHandlerPoolSize = 8; backupEnabled = true, backupPeriod = 2000
      2015-05-13 09:46:40,368 | ERROR | FelixStartLevel  | onos-core-net                    | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | [org.onosproject.net.flow.impl.FlowRuleManager(19)] The activate method has thrown an exception
      org.onosproject.store.service.StorageException$Timeout
              at org.onosproject.store.consistent.impl.DefaultAtomicCounter.complete(DefaultAtomicCounter.java:75)
              at org.onosproject.store.consistent.impl.DefaultAtomicCounter.getAndAdd(DefaultAtomicCounter.java:55)
              at org.onosproject.store.core.impl.ConsistentIdBlockStore.getIdBlock(ConsistentIdBlockStore.java:52)
              at org.onosproject.core.impl.StoreBasedIdBlockAllocator.allocateUniqueIdBlock(StoreBasedIdBlockAllocator.java:39)
              at org.onosproject.core.impl.BlockAllocatorBasedIdGenerator.<init>(BlockAllocatorBasedIdGenerator.java:37)
              at org.onosproject.core.impl.CoreManager.getIdGenerator(CoreManager.java:117)
              at org.onosproject.net.flow.impl.FlowRuleManager.activate(FlowRuleManager.java:134)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_25]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_25]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_25]
              at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_25]
              at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:315)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:871)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:838)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:777)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:308)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:219)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:320)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.Felix.getService(Felix.java:3568)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:468)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:572)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.java:2012)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(DependencyManager.java:1005)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1439)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1119)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:807)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:850)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:931)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:895)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1480)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1401)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:1210)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:1148)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1432)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.Felix.registerService(Felix.java:3423)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346)[org.apache.felix.framework-4.2.1.jar:]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:1003)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:992)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:134)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:1044)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:841)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:931)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:895)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1480)[38:org.apache.felix.scr:1.8.2]
              at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1401)[38:org.apache.felix.scr:1.8.2]
      ...
      2015-05-13 09:46:41,214 | ERROR | FelixStartLevel  | onos-core-net                    | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | [org.onosproject.net.flow.impl.FlowRuleManager(19)] Failed creating the component instance; see log for reason
      2015-05-13 09:46:41,216 | ERROR | FelixStartLevel  | onos-core-net                    | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | [org.onosproject.net.statistic.impl.StatisticManager(31)] Cannot create component instance due to failure to bind reference flowRuleService
      2015-05-13 09:46:41,216 | ERROR | FelixStartLevel  | onos-core-net                    | 77 - org.onosproject.onos-core-net - 1.2.0.SNAPSHOT | [org.onosproject.net.statistic.impl.StatisticManager(31)] Failed creating the component instance; see log for reason
      

        Attachments

          Activity

            People

            Assignee:
            jhall Jon Hall
            Reporter:
            jhall Jon Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: