Hi Harish,
So to test the image, I built the 1.7.3 schema-service image and redeployed
OOM, but there seems to be a config issue, maybe with the charts.
klogs onap-aai-schema-service-797fc89b9b-mznsz aai-schema-service
+ kubectl logs -n onap onap-aai-schema-service-797fc89b9b-mznsz
aai-schema-service
Tue Aug 11 15:44:00 UTC 2020 Starting
/opt/app/aai-schema-service/scripts/updatePem.sh
Can't open /opt/app/aai-schema-service/resources/etc/auth//aai-client-cert.p12
for reading, No such file or directory
140001312840552:error:02001002:system library:fopen:No such file or
directory:crypto/bio/bss_file.c:72:fopen('/opt/app/aai-schema-service/resources/etc/auth//aai-client-cert.p12','rb')
140001312840552:error:2006D080:BIO routines:BIO_new_file:no such
file:crypto/bio/bss_file.c:79:
Can't open /opt/app/aai-schema-service/resources/etc/auth//aai-client-cert.p12
for reading, No such file or directory
140266510420840:error:02001002:system library:fopen:No such file or
directory:crypto/bio/bss_file.c:72:fopen('/opt/app/aai-schema-service/resources/etc/auth//aai-client-cert.p12','rb')
140266510420840:error:2006D080:BIO routines:BIO_new_file:no such
file:crypto/bio/bss_file.c:79:
Tue Aug 11 15:44:01 UTC 2020 Done
/opt/app/aai-schema-service/scripts/updatePem.sh
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51)
at
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:578)
Caused by: java.lang.IllegalStateException: Logback configuration error
detected:
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@51:16 - no applicable action
for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[METRIC] - No encoder
set for the appender named "METRIC".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@72:16 - no applicable action
for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[DEBUG] - No encoder
set for the appender named "DEBUG".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@91:16 - no applicable action
for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[ERROR] - No encoder
set for the appender named "ERROR".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@107:16 - no applicable
action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[AUDIT] - No encoder
set for the appender named "AUDIT".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@128:16 - no applicable
action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[translog] - No encoder
set for the appender named "translog".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@147:16 - no applicable
action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[dmaapAAIEventConsumer]
- No encoder set for the appender named "dmaapAAIEventConsumer".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@163:16 - no applicable
action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in
ch.qos.logback.core.rolling.RollingFileAppender[dmaapAAIEventConsumerDebug] -
No encoder set for the appender named "dmaapAAIEventConsumerDebug".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@179:16 - no applicable
action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in
ch.qos.logback.core.rolling.RollingFileAppender[dmaapAAIEventConsumerMetric] -
No encoder set for the appender named "dmaapAAIEventConsumerMetric".
ERROR in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Could not
create component [encoder] of type [org.onap.aai.logging.EcompEncoder]
java.lang.ClassNotFoundException: org.onap.aai.logging.EcompEncoder
ERROR in ch.qos.logback.core.joran.spi.Interpreter@193:16 - no applicable
action for [pattern], current ElementPath is
[[configuration][appender][encoder][pattern]]
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[external] - No encoder
set for the appender named "external".
at
org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:167)
at
org.springframework.boot.logging.logback.LogbackLoggingSystem.reinitialize(LogbackLoggingSystem.java:220)
at
org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:73)
at
org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:60)
at
org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:118)
at
org.springframework.boot.context.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:289)
at
org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:264)
at
org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:226)
at
org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:203)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127)
at
org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76)
at
org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53)
at
org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:305)
at org.onap.aai.schemaservice.SchemaServiceApp.main(SchemaServiceApp.java:80)
... 8 more
This is somewhat of a blocker for us as we need the new attributes added by the
SO workflow, which depends on AAI v20.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#21880): https://lists.onap.org/g/onap-discuss/message/21880
Mute This Topic: https://lists.onap.org/mt/76051034/21656
Mute #aai: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/aai
Mute #sdc: https://lists.onap.org/g/onap+onap-discuss/mutehashtag/sdc
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-