Uploaded image for project: 'Active and Available Inventory'
  1. Active and Available Inventory
  2. AAI-1189

[gizmo] Latest Gizmo release artifact is not starting in OOM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:
      None

      Description

      Gizmo release artifact is not properly starting in OOM.
      root@rancher:~/onap/master/oom/kubernetes# k logs -n onap aaa-aai-gizmo-699c9945bb-5t9n4 -c aai-gizmo
      + exec java -Xmx1024m -DAPP_HOME=/opt/app/crud-api/ -DCONFIG_HOME=/opt/app/crud-service/config/ -DKEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 -jar /opt/app/crud-api//gizmo.jar
      10:28:59,079 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
      10:28:59,080 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
      10:28:59,080 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/opt/app/crud-api/gizmo.jar!/BOOT-INF/classes!/logback.xml]
      10:28:59,082 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
      10:28:59,082 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/opt/app/crud-api/gizmo.jar!/BOOT-INF/classes!/logback.xml]
      10:28:59,082 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/opt/app/crud-api/gizmo.jar!/BOOT-INF/lib/event-client-dmaap-1.2.2.jar!/logback.xml]
      10:28:59,082 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/opt/app/crud-api/gizmo.jar!/BOOT-INF/lib/aai-core-1.2.4.jar!/logback.xml]
      10:28:59,140 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@2328c243 - URL [jar:file:/opt/app/crud-api/gizmo.jar!/BOOT-INF/classes!/logback.xml] is not of type file
      10:28:59,284 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
      10:28:59,290 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [jar:file:/opt/app/crud-api/gizmo.jar!/BOOT-INF/classes!/logback.xml]
      10:28:59,290 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 3 seconds
      10:28:59,299 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
      10:28:59,305 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
      10:28:59,316 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      10:28:59,384 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
      10:28:59,388 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [EELF]
      10:28:59,399 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@200006406 - Will use zip compression
      10:28:59,401 |-INFO in c.q.l.core.rolling.TimeBasedRollingPolicy@200006406 - Will use the pattern /opt/app/crud-api//logs/AAI-CRUD/error.%d

      {yyyy-MM-dd}.log for the active file
      10:28:59,406 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - The date pattern is 'yyyy-MM-dd' from file name pattern '/opt/app/crud-api//logs/AAI-CRUD/error.%d{yyyy-MM-dd}

      .log.zip'.
      10:28:59,406 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Roll-over at midnight.
      10:28:59,409 |-INFO in c.q.l.core.rolling.DefaultTimeBasedFileNamingAndTriggeringPolicy - Setting initial period to Thu May 31 10:28:59 UTC 2018
      10:28:59,410 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
      10:28:59,413 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[EELF] - Active log file name: /opt/app/crud-api//logs/AAI-CRUD/error.log
      10:28:59,413 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[EELF] - File property is set to [/opt/app/crud-api//logs/AAI-CRUD/error.log]
      10:28:59,414 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[EELF] - Failed to create parent directories for [/opt/app/crud-api/logs/AAI-CRUD/error.log]
      10:28:59,415 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[EELF] - openFile(/opt/app/crud-api//logs/AAI-CRUD/error.log,true) call failed. java.io.FileNotFoundException: /opt/app/crud-api/logs/AAI-CRUD/error.log (No such file or directory)
      at java.io.FileNotFoundException: /opt/app/crud-api/logs/AAI-CRUD/error.log (No such file or directory)
      at at java.io.FileOutputStream.open0(Native Method)
      at at java.io.FileOutputStream.open(FileOutputStream.java:270)
      at at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
      at at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:26)
      at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204)
      at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127)
      at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:100)
      at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90)
      at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309)
      at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
      at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179)
      at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
      at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165)
      at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152)
      at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
      at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
      at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
      at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
      at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
      at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
      at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
      at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
      at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
      at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
      at at org.eclipse.jetty.util.log.Slf4jLog.<init>(Slf4jLog.java:38)
      at at org.eclipse.jetty.util.log.Slf4jLog.<init>(Slf4jLog.java:32)
      at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at at java.lang.Class.newInstance(Class.java:442)
      at at org.eclipse.jetty.util.log.Log.initialized(Log.java:178)
      at at org.eclipse.jetty.util.log.Log.getLogger(Log.java:311)
      at at org.eclipse.jetty.util.log.Log.getLogger(Log.java:301)
      at at org.eclipse.jetty.util.security.Credential.<clinit>(Credential.java:44)
      at at org.onap.crud.CrudApplication.main(CrudApplication.java:43)
      at at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at at java.lang.reflect.Method.invoke(Method.java:498)
      at at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
      at at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
      at at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            gabriel.sanchez Gabriel Sanchez
            Reporter:
            jimmydot James Forsyth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: