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

ONOS takes over 60sec to load Null provider bundle

    XMLWordPrintable

    Details

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

      commit 6e192436b48c97b15e7484e3328a184c25fa10c8
      on bm servers.

      Description

      when starting up ONOS with null provider bundle, it takes more than 60 second before the null provider bundle is loaded. before that, there are repeating exceptions in the debug log:

      _____________

      2015-03-04 14:40:54,265 | DEBUG | 3]-nio2-thread-9 | KarafJaasAuthenticator | 135 - org.apache.karaf.shell.ssh - 3.0.2 | User authentication failed with null not available to obtain information from user
      javax.security.auth.login.LoginException: null not available to obtain information from user
      at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java:86)
      at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar:]
      at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_31]
      at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_31]
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)[:1.8.0_31]
      at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)[:1.8.0_31]
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)[:1.8.0_31]
      at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)[:1.8.0_31]
      at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_31]
      at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)[:1.8.0_31]
      at javax.security.auth.login.LoginContext.login(LoginContext.java:587)[:1.8.0_31]
      at org.apache.karaf.shell.ssh.KarafJaasAuthenticator.authenticate(KarafJaasAuthenticator.java:97)
      at org.apache.sshd.server.auth.UserAuthPublicKey.doAuth(UserAuthPublicKey.java:74)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.server.auth.AbstractUserAuth.auth(AbstractUserAuth.java:49)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.server.session.ServerUserAuthService.process(ServerUserAuthService.java:145)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.session.AbstractSession.doHandleMessage(AbstractSession.java:399)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.session.AbstractSession.handleMessage(AbstractSession.java:295)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.session.AbstractSession.decode(AbstractSession.java:731)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.session.AbstractSession.messageReceived(AbstractSession.java:277)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.AbstractSessionIoHandler.messageReceived(AbstractSessionIoHandler.java:54)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:187)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.io.nio2.Nio2Session$1.onCompleted(Nio2Session.java:173)[28:org.apache.sshd.core:0.12.0]
      at org.apache.sshd.common.io.nio2.Nio2CompletionHandler$1.run(Nio2CompletionHandler.java:32)
      at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_31]
      at org.apache.sshd.common.io.nio2.Nio2CompletionHandler.completed(Nio2CompletionHandler.java:30)[28:org.apache.sshd.core:0.12.0]
      at sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:126)[:1.8.0_31]
      at sun.nio.ch.Invoker$2.run(Invoker.java:218)[:1.8.0_31]
      at sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_31]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_31]
      at java.lang.Thread.run(Thread.java:745)[:1.8.0_31]
      2015-03-04 14:40:54,311 | DEBUG | ]-nio2-thread-13 | LoggingCommandSessionListener | 25 - org.apache.karaf.shell.console - 3.0.2 | Executing command: '//
      // Licensed to the Apache Software Foundation (ASF) under one
      // or more contributor license agreements. See the NOTICE file
      // distributed with this work for additional information
      // regarding copyright ownership. The ASF licenses this f

        Attachments

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

          Activity

            People

            Assignee:
            ayaka Ayaka Koshibe
            Reporter:
            suibin suibin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: