Uploaded image for project: 'odlmicro'
  1. odlmicro
  2. ODLMICRO-37

ODLMicro-Netconf does not start

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Aluminum
    • None
    • None

      1. Downloaded the latest netconf micro tar: wget https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/odlmicro/micro-netconf/1.0.0-SNAPSHOT/micro-netconf-1.0.0-20200909.184824-50-micro.tar

      2. Untar and started micro

      tar xvf micro-netconf-1.0.0-20200909.184824-50-micro.tar

      cd micro-netconf-1.0.0-SNAPSHOT/

      java -Xms128M -Xmx2048m -XX:+UnlockDiagnosticVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dcom.sun.management.jmxremote -Dfile.encoding=UTF-8 -Djava.security.egd=file:/dev/./urandom -cp "etc/initial/:lib/" org.opendaylight.netconf.micro.NetconfMain

      3. Netconf does not start, the following errors are seen on console.

      ***********
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/home/ubuntu/micro-netconf-1.0.0-SNAPSHOT/lib/org.slf4j.slf4j-simple-1.7.28.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/home/ubuntu/micro-netconf-1.0.0-SNAPSHOT/lib/org.apache.logging.log4j.log4j-slf4j-impl-2.13.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
      [main] INFO org.opendaylight.infrautils.micro.Main - Starting up org.opendaylight.netconf.micro.NetconfModule@1d296da...
      [main] INFO org.opendaylight.odlguice.inject.ClassPathScanner - Bound interface org.opendaylight.netconf.sal.connect.api.DeviceActionFactory to class org.opendaylight.netconf.sal.connect.netconf.DeviceActionFactoryImpl
      [main] INFO org.opendaylight.odlguice.inject.ClassPathScanner - Bound interface org.opendaylight.netconf.sal.connect.api.SchemaResourceManager to class org.opendaylight.netconf.sal.connect.impl.DefaultSchemaResourceManager
      [main] INFO org.opendaylight.odlguice.inject.ClassPathScanner - Bound interface org.opendaylight.netconf.sal.restconf.api.JSONRestconfService to class org.opendaylight.netconf.sal.restconf.impl.JSONRestconfServiceImpl
      [main] INFO org.opendaylight.odlguice.inject.ClassPathScanner - Bound interface org.opendaylight.netconf.sal.connect.netconf.schema.mapping.BaseNetconfSchemas to class org.opendaylight.netconf.sal.connect.netconf.schema.mapping.DefaultBaseNetconfSchemas
      [main] INFO org.opendaylight.odlguice.inject.ClassPathScanner - Bound interface org.opendaylight.netconf.auth.AuthProvider to class org.opendaylight.netconf.authprovider.CredentialServiceAuthProvider
      [main] INFO org.opendaylight.netconf.micro.NetconfModule - Loading netconf
      [main] INFO org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.AbstractListStatementSupport - Configuration list (urn:opendaylight:yang:aaa:cert?revision=2015-11-26)cipher-suites does not define any keys in violation of RFC7950 section 7.8.2. While this is fine with OpenDaylight, it can cause interoperability issues with other systems [defined at [{name=(urn:opendaylight:yang:aaa:cert?revision=2015-11-26)aaa-cert}]:83:12]
      [main] INFO org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.AbstractListStatementSupport - Configuration list (urn:ietf:params:xml:ns:yang:ietf-restconf?revision=2017-01-26)error does not define any keys in violation of RFC7950 section 7.8.2. While this is fine with OpenDaylight, it can cause interoperability issues with other systems [defined at [{name=(urn:ietf:params:xml:ns:yang:ietf-restconf?revision=2017-01-26)ietf-restconf}]:138:9]
      [main] INFO org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.AbstractListStatementSupport - Configuration list (urn:opendaylight:yang:aaa:cert:mdsal?revision=2016-03-21)cipher-suites does not define any keys in violation of RFC7950 section 7.8.2. While this is fine with OpenDaylight, it can cause interoperability issues with other systems [defined at [{name=(urn:opendaylight:yang:aaa:cert:mdsal?revision=2016-03-21)aaa-cert-mdsal}]:81:8]
      [main] INFO org.opendaylight.yangtools.yang.parser.rfc7950.stmt.list.AbstractListStatementSupport - Configuration list (urn:opendaylight:params:xml:ns:yang:aaa?revision=2016-12-14)permissions does not define any keys in violation of RFC7950 section 7.8.2. While this is fine with OpenDaylight, it can cause interoperability issues with other systems [defined at [{name=(urn:opendaylight:params:xml:ns:yang:aaa?revision=2016-12-14)aaa}]:143:8]
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/home/ubuntu/micro-netconf-1.0.0-SNAPSHOT/lib/com.google.inject.guice-4.2.3.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
      WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      [main] ERROR org.opendaylight.infrautils.micro.Main - Failed to start up, going to close up and exit
      com.google.inject.CreationException: Unable to create injector, see the following errors:
      
      1) No implementation for org.opendaylight.aaa.api.PasswordCredentialAuth was bound.
        while locating org.opendaylight.aaa.api.PasswordCredentialAuth
          for the 1st parameter of org.opendaylight.netconf.authprovider.CredentialServiceAuthProvider.<init>(CredentialServiceAuthProvider.java:32)
        at org.opendaylight.odlguice.inject.guice.GuiceClassPathBinder.lambda$bindAllSingletons$0(GuiceClassPathBinder.java:33)
      
      2) No implementation for org.opendaylight.aaa.filterchain.configuration.CustomFilterAdapterConfiguration was bound.
        while locating org.opendaylight.aaa.filterchain.configuration.CustomFilterAdapterConfiguration
          for the 5th parameter of org.opendaylight.netconf.sal.restconf.web.WebInitializer.<init>(WebInitializer.java:40)
        at org.opendaylight.odlguice.inject.guice.GuiceClassPathBinder.lambda$bindAllSingletons$1(GuiceClassPathBinder.java:34)
      
      3) No implementation for org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory was bound.
        while locating org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory
          for the 1st parameter of org.opendaylight.netconf.sal.connect.impl.DefaultSchemaResourceManager.<init>(DefaultSchemaResourceManager.java:55)
        while locating org.opendaylight.netconf.sal.connect.impl.DefaultSchemaResourceManager
          for the 4th parameter of org.opendaylight.netconf.micro.NetconfModule.getNetconfTopology(NetconfModule.java:247)
        at org.opendaylight.netconf.micro.NetconfModule.getNetconfTopology(NetconfModule.java:247)
      
      4) No implementation for org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory was bound.
        while locating org.opendaylight.yangtools.yang.model.parser.api.YangParserFactory
          for the 1st parameter of org.opendaylight.netconf.sal.connect.netconf.schema.mapping.DefaultBaseNetconfSchemas.<init>(DefaultBaseNetconfSchemas.java:26)
        while locating org.opendaylight.netconf.sal.connect.netconf.schema.mapping.DefaultBaseNetconfSchemas
          for the 9th parameter of org.opendaylight.netconf.micro.NetconfModule.getNetconfTopology(NetconfModule.java:247)
        at org.opendaylight.netconf.micro.NetconfModule.getNetconfTopology(NetconfModule.java:247)
      
      4 errors
      	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:554)
      	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:161)
      	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:108)
      	at com.google.inject.Guice.createInjector(Guice.java:87)
      	at com.google.inject.Guice.createInjector(Guice.java:78)
      	at org.opendaylight.infrautils.micro.Main.<init>(Main.java:37)
      	at org.opendaylight.netconf.micro.NetconfMain.main(NetconfMain.java:20)
      [main] INFO org.opendaylight.infrautils.micro.Main - Initiating orderly shutdown by closing Guice injector...
      [main] INFO org.opendaylight.infrautils.micro.Main - Shutdown complete; Guice injector closed.
      [main] INFO org.opendaylight.infrautils.micro.Main - Now System.exit(0) so that any hanging non-daemon threads don't prevent JVM stop.
      
      ***********8
      

            VenkataSatya VenkataSatya Jonnadula
            gvrangan Venkatrangan Govindarajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: