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

Getting "java.lang.IllegalStateException: session is expired" Exception while starting up the onos Cluster

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.8.0, 1.7.2, 1.9.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      8

      Description

      While starting up the Onos cluster(3 nodes) i am getting "java.lang.IllegalStateException: session is expired" exception frequently

      Log:

      2016-12-28 11:19:56,736 | ERROR | artition-1-state | AtomixLeaderElectorState | 140 - org.onosproject.onos-core-primitives - 1.6.1.SNAPSHOT | State machine operation failed
      java.lang.IllegalStateException: session is expired
      at io.atomix.catalyst.util.Assert.state(Assert.java:69)
      at io.atomix.catalyst.util.Assert.stateNot(Assert.java:76)
      at io.atomix.copycat.server.state.ServerSessionContext.publish(ServerSessionContext.java:509)
      at io.atomix.manager.internal.ManagedResourceSession.publish(ManagedResourceSession.java:64)
      at org.onosproject.store.primitives.resources.impl.AtomixLeaderElectorState.lambda$notifyLeadershipChanges$0(AtomixLeaderElectorState.java:110)
      at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:600)[:1.8.0_77]
      at org.onosproject.store.primitives.resources.impl.AtomixLeaderElectorState.notifyLeadershipChanges(AtomixLeaderElectorState.java:109)
      at org.onosproject.store.primitives.resources.impl.AtomixLeaderElectorState.notifyLeadershipChange(AtomixLeaderElectorState.java:101)
      at org.onosproject.store.primitives.resources.impl.AtomixLeaderElectorState.withdraw(AtomixLeaderElectorState.java:194)
      at io.atomix.resource.ResourceStateMachineExecutor.lambda$register$1(ResourceStateMachineExecutor.java:105)
      at io.atomix.resource.ResourceStateMachineExecutor.executeCommand(ResourceStateMachineExecutor.java:84)
      at io.atomix.manager.internal.ResourceManagerStateMachineExecutor.execute(ResourceManagerStateMachineExecutor.java:101)
      at io.atomix.manager.internal.ResourceManagerState.operateResource(ResourceManagerState.java:102)
      at io.atomix.copycat.server.state.ServerStateMachineExecutor.executeOperation(ServerStateMachineExecutor.java:144)
      at io.atomix.copycat.server.state.ServerStateMachine.executeCommand(ServerStateMachine.java:854)
      at io.atomix.copycat.server.state.ServerStateMachine.lambda$apply$85(ServerStateMachine.java:796)
      at io.atomix.catalyst.concurrent.Runnables.lambda$logFailure$2(Runnables.java:20)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_77]
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_77]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_77]
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_77]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_77]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_77]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_77]
      2016-12-28 11:19:56,752 | ERROR | ew I/O worker #2 | OFChannelHandler | 177 - org.onosproject.onos-of-ctl - 1.6.1.SNAPSHOT | Error while processing message from switch org.onosproject.driver.handshaker.NiciraSwitchHandshaker [/10.0.3.1:55852 DPID[00:00:00:00:00:00:00:01]]state WAIT_DESCRIPTION_STAT_REPLY

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kavitha Kavitha Alagesan
              Reporter:
              kavitha Kavitha Alagesan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: