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

Exception when stoping onos with switches connected

    XMLWordPrintable

    Details

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

      commit 2811c4032c7676fc7302caa8650b8d5e042d0ae0

      Description

      Start 7 node ONOS cluster
      connect mn switches
      onos-service --cell stop

      2015-02-25 16:18:50,150 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 92 - org.ops4j.pax.web.pax-web-runtime - 3.1.2 | Unbinding bundle: [org.onosproject.onos-gui [116]]
      2015-02-25 16:18:50,150 | INFO  | FelixStartLevel  | Activator                        | 98 - org.ops4j.pax.web.pax-web-extender-war - 3.1.2 | Destroying extension for bundle org.onosproject.onos-app-tvue
      2015-02-25 16:18:50,153 | INFO  | FelixStartLevel  | ContextHandler                   | 84 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | stopped HttpServiceContext{httpContext=WebAppHttpContext{org.onosproject.onos-app-tvue - 114}}
      2015-02-25 16:18:50,154 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 92 - org.ops4j.pax.web.pax-web-runtime - 3.1.2 | Unbinding bundle: [org.onosproject.onos-app-tvue [114]]
      2015-02-25 16:18:50,167 | INFO  | FelixStartLevel  | HttpServiceFactoryImpl           | 92 - org.ops4j.pax.web.pax-web-runtime - 3.1.2 | Unbinding bundle: [org.apache.karaf.webconsole.console [144]]
      2015-02-25 16:18:50,170 | INFO  | FelixStartLevel  | core                             | 124 - org.apache.aries.jmx.core - 1.1.2 | Stopping JMX OSGi agent
      2015-02-25 16:18:50,170 | INFO  | FelixStartLevel  | core                             | 124 - org.apache.aries.jmx.core - 1.1.2 | Unregistering MBean with ObjectName [osgi.compendium:service=cm,version=1.3,framework=org.apache.felix.framework,uuid=420dc70d-1a3a-4a52-9feb-5b76c9977d37] for service with service.id [13]
      2015-02-25 16:18:50,183 | WARN  | d wheel timer #2 | DefaultChannelPipeline           | 44 - org.jboss.netty - 3.9.2.Final | An exception was thrown by an exception handler.
      java.util.concurrent.RejectedExecutionException: Worker has already been shutdown
      	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.registerTask(AbstractNioSelector.java:120)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:72)
      	at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:56)
      	at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
      	at org.jboss.netty.channel.socket.nio.AbstractNioChannelSink.execute(AbstractNioChannelSink.java:34)
      	at org.jboss.netty.channel.Channels.fireExceptionCaughtLater(Channels.java:496)
      	at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:46)
      	at org.jboss.netty.channel.Channels.write(Channels.java:725)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
      	at org.jboss.netty.channel.Channels.write(Channels.java:704)
      	at org.jboss.netty.channel.Channels.write(Channels.java:671)
      	at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      	at org.onosproject.openflow.drivers.OFSwitchImplOVS13.write(OFSwitchImplOVS13.java:158)
      	at org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch.sendMsg(AbstractOpenFlowSwitch.java:101)
      	at org.onosproject.provider.of.flow.impl.FlowStatsCollector.sendFlowStatistics(FlowStatsCollector.java:80)[136:org.onosproject.onos-of-provider-flow:1.1.0.SNAPSHOT]
      	at org.onosproject.provider.of.flow.impl.FlowStatsCollector.run(FlowStatsCollector.java:54)[136:org.onosproject.onos-of-provider-flow:1.1.0.SNAPSHOT]
      	at org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:556)
      	at org.jboss.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:632)
      	at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:369)
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-02-25 16:18:50,194 | WARN  | d wheel timer #2 | DefaultChannelPipeline           | 44 - org.jboss.netty - 3.9.2.Final | An exception was thrown by an exception handler.
      java.util.concurrent.RejectedExecutionException: Worker has already been shutdown
      	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.registerTask(AbstractNioSelector.java:120)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:72)
      	at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:56)
      	at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
      	at org.jboss.netty.channel.socket.nio.AbstractNioChannelSink.execute(AbstractNioChannelSink.java:34)
      	at org.jboss.netty.channel.Channels.fireExceptionCaughtLater(Channels.java:496)
      	at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:46)
      	at org.jboss.netty.channel.Channels.write(Channels.java:725)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
      	at org.jboss.netty.channel.Channels.write(Channels.java:704)
      	at org.jboss.netty.channel.Channels.write(Channels.java:671)
      	at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      	at org.onosproject.openflow.drivers.OFSwitchImplOVS13.write(OFSwitchImplOVS13.java:158)
      	at org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch.sendMsg(AbstractOpenFlowSwitch.java:101)
      	at org.onosproject.provider.of.flow.impl.FlowStatsCollector.sendFlowStatistics(FlowStatsCollector.java:80)[136:org.onosproject.onos-of-provider-flow:1.1.0.SNAPSHOT]
      	at org.onosproject.provider.of.flow.impl.FlowStatsCollector.run(FlowStatsCollector.java:54)[136:org.onosproject.onos-of-provider-flow:1.1.0.SNAPSHOT]
      	at org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:556)
      	at org.jboss.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:632)
      	at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:369)
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-02-25 16:18:50,212 | INFO  | pool-3-thread-2  | ContextHandler                   | 84 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | stopped HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@f298c43}
      2015-02-25 16:18:50,213 | INFO  | pool-3-thread-2  | ContextHandler                   | 84 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | stopped HttpServiceContext{httpContext=org.apache.felix.webconsole.internal.servlet.OsgiManagerHttpContext@48bae1bd}
      2015-02-25 16:18:50,266 | INFO  | FelixStartLevel  | Activator                        | 92 - org.ops4j.pax.web.pax-web-runtime - 3.1.2 | Pax Web stopped
      2015-02-25 16:18:50,270 | INFO  | FelixStartLevel  | DetailsCommandComponent          | 39 - org.apache.karaf.scr.command - 3.0.2 | Deactivating the Apache Karaf SCR Details Command
      2015-02-25 16:18:50,271 | INFO  | FelixStartLevel  | DeactivateCommandComponent       | 39 - org.apache.karaf.scr.command - 3.0.2 | Deactivating the Apache Karaf SCR Deactivate Command
      2015-02-25 16:18:50,272 | INFO  | FelixStartLevel  | ActivateCommandComponent         | 39 - org.apache.karaf.scr.command - 3.0.2 | Deactivating the Apache Karaf SCR Activate Command
      2015-02-25 16:18:50,273 | INFO  | FelixStartLevel  | ListCommandComponent             | 39 - org.apache.karaf.scr.command - 3.0.2 | Deactivating the Apache Karaf SCR List Command
      2015-02-25 16:18:50,281 | WARN  | d wheel timer #2 | DefaultChannelPipeline           | 44 - org.jboss.netty - 3.9.2.Final | An exception was thrown by an exception handler.
      java.util.concurrent.RejectedExecutionException: Worker has already been shutdown
      	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.registerTask(AbstractNioSelector.java:120)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:72)
      	at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
      	at org.jboss.netty.channel.socket.nio.AbstractNioWorker.executeInIoThread(AbstractNioWorker.java:56)
      	at org.jboss.netty.channel.socket.nio.NioWorker.executeInIoThread(NioWorker.java:36)
      	at org.jboss.netty.channel.socket.nio.AbstractNioChannelSink.execute(AbstractNioChannelSink.java:34)
      	at org.jboss.netty.channel.Channels.fireExceptionCaughtLater(Channels.java:496)
      	at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:46)
      	at org.jboss.netty.channel.Channels.write(Channels.java:725)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71)
      	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
      	at org.jboss.netty.channel.Channels.write(Channels.java:704)
      	at org.jboss.netty.channel.Channels.write(Channels.java:671)
      	at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:248)
      	at org.onosproject.openflow.drivers.OFSwitchImplOVS13.write(OFSwitchImplOVS13.java:158)
      	at org.onosproject.openflow.controller.driver.AbstractOpenFlowSwitch.sendMsg(AbstractOpenFlowSwitch.java:101)
      	at org.onosproject.provider.of.flow.impl.FlowStatsCollector.sendFlowStatistics(FlowStatsCollector.java:80)[136:org.onosproject.onos-of-provider-flow:1.1.0.SNAPSHOT]
      	at org.onosproject.provider.of.flow.impl.FlowStatsCollector.run(FlowStatsCollector.java:54)[136:org.onosproject.onos-of-provider-flow:1.1.0.SNAPSHOT]
      	at org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:556)
      	at org.jboss.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:632)
      	at org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:369)
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: