onap-discuss :

Found  both  R4  (AAI)  and  R5 ( AAI  & DMAAP)   encounter   certificate  
expire   problem  recently ,
so  I have  test   patches   below   for   both  R4 and R5  deployments .


https://gerrit.onap.org/r/c/aai/oom/+/104514 (Dublin release)
https://gerrit.onap.org/r/c/aai/oom/+/104419  (El Alto release)

after  patch file and  redeploy  aai  modules  , we  found  aai-resources  and  
aai-traversal   container   couldn't  startup ,
both  R4  and R5   startup  log  is  similar ,   contact  schema service 
failure   , what's wrong   with  patches ?

aai-resources    startup   logs   : 


2020-04-07T06:55:25.137+0000 INIT [cadi] Loading CADI Properties from 
/opt/app/aai-resources/resources/aaf/org.osaaf.location.props
2020-04-07T06:55:25.138+0000 INIT [cadi] Loading CADI Properties from 
/opt/app/aai-resources/resources/aaf/org.onap.aai.props
2020-04-07T06:55:25.141+0000 INIT [cadi] cadi_keyfile points to 
/opt/app/aai-resources/resources/aaf/org.onap.aai.keyfile
2020-04-07T06:55:25.157+0000 INIT [cadi] hostname is set to aai-resources
2020-04-07T06:55:25.157+0000 INIT [cadi] basic_realm is set to aai-resources
2020-04-07T06:55:25.157+0000 INIT [cadi] aaf_default_realm is set to 
aai-resources
2020-04-07T06:55:25.157+0000 INIT [cadi] aaf_id is set to [email protected]
2020-04-07 06:55:25.442 ERROR 1 --- [ main] org.onap.aai.ResourcesApp : 
Problems starting ResourcesApp Error connecting to SchemaService - Please 
Investigate
2020-04-07 06:55:25.451 ERROR 1 --- [ main] org.onap.aai.logging.ErrorLogHelper 
: ERR.5.4.3025 ex=org.onap.aai.exceptions.AAIException: Error connecting to 
SchemaService - Please Investigate ClassName- org.onap.aai.ResourcesApp 
:LineNumber- 219 :MethodName- schemaServiceExceptionTranslator ClassName- 
org.onap.aai.ResourcesApp :LineNumber- 151 :MethodName- main ClassName- 
sun.reflect.NativeMethodAccessorImpl :LineNumber- -2 :MethodName- invoke0 
ClassName- sun.reflect.NativeMethodAccessorImpl :LineNumber- 62 :MethodName- 
invoke ClassName- sun.reflect.DelegatingMethodAccessorImpl :LineNumber- 43 
:MethodName- invoke ClassName- java.lang.reflect.Method :LineNumber- 498 
:MethodName- invoke ClassName- org.springframework.boot.loader.MainMethodRunner 
:LineNumber- 48 :MethodName- run ClassName- 
org.springframework.boot.loader.Launcher :LineNumber- 87 :MethodName- launch 
ClassName- org.springframework.boot.loader.Launcher :LineNumber- 50 
:MethodName- launch ClassName- 
org.springframework.boot.loader.PropertiesLauncher :LineNumber- 595 
:MethodName- main
2020-04-07 06:55:25.452 ERROR 1 --- [ main] org.onap.aai.logging.ErrorLogHelper 
: ERR.5.4.3025 ex=org.onap.aai.exceptions.AAIException: Unable to start 
embedded container; nested exception is 
org.springframework.boot.context.embedded.EmbeddedServletContainerException: 
Unable to start embedded Jetty servlet container, resolve and restart Resources 
ClassName- org.onap.aai.logging.ErrorLogHelper :LineNumber- 614 :MethodName- 
logError ClassName- org.onap.aai.ResourcesApp :LineNumber- 156 :MethodName- 
main ClassName- sun.reflect.NativeMethodAccessorImpl :LineNumber- -2 
:MethodName- invoke0 ClassName- sun.reflect.NativeMethodAccessorImpl 
:LineNumber- 62 :MethodName- invoke ClassName- 
sun.reflect.DelegatingMethodAccessorImpl :LineNumber- 43 :MethodName- invoke 
ClassName- java.lang.reflect.Method :LineNumber- 498 :MethodName- invoke 
ClassName- org.springframework.boot.loader.MainMethodRunner :LineNumber- 48 
:MethodName- run ClassName- org.springframework.boot.loader.Launcher 
:LineNumber- 87 :MethodName- launch ClassName- 
org.springframework.boot.loader.Launcher :LineNumber- 50 :MethodName- launch 
ClassName- org.springframework.boot.loader.PropertiesLauncher :LineNumber- 595 
:MethodName- main
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:50)
at 
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:595)
Caused by: org.onap.aai.exceptions.AAIException: Error connecting to 
SchemaService - Please Investigate
at 
org.onap.aai.ResourcesApp.schemaServiceExceptionTranslator(ResourcesApp.java:219)
at org.onap.aai.ResourcesApp.main(ResourcesApp.java:151)


aai-traversal     startup   logs   : 

2020-04-07T07:04:12.923+0000 INIT [cadi] Loading CADI Properties from 
/opt/app/aai-traversal/resources/aaf/org.osaaf.location.props
2020-04-07T07:04:12.924+0000 INIT [cadi] Loading CADI Properties from 
/opt/app/aai-traversal/resources/aaf/org.onap.aai.props
2020-04-07T07:04:12.929+0000 INIT [cadi] cadi_keyfile points to 
/opt/app/aai-traversal/resources/aaf/org.onap.aai.keyfile
2020-04-07T07:04:12.949+0000 INIT [cadi] hostname is set to aai-traversal
2020-04-07T07:04:12.949+0000 INIT [cadi] basic_realm is set to aai-traversal
2020-04-07T07:04:12.949+0000 INIT [cadi] aaf_default_realm is set to 
aai-traversal
2020-04-07T07:04:12.949+0000 INIT [cadi] aaf_id is set to [email protected]
2020-04-07 07:04:13.249 INFO 1 --- [ main] org.onap.aai.TraversalApp : Error 
Message is java.security.UnrecoverableKeyException: failed to decrypt safe 
contents entry: javax.crypto.BadPaddingException: Given final block not 
properly padded. Such issues can arise if a bad key is used during decryption. 
details - failed to decrypt safe contents entry: 
javax.crypto.BadPaddingException: Given final block not properly padded. Such 
issues can arise if a bad key is used during decryption.
2020-04-07 07:04:13.259 ERROR 1 --- [ main] org.onap.aai.TraversalApp : 
Problems starting Traversal Error connecting to SchemaService - Please 
Investigate
2020-04-07 07:04:13.265 ERROR 1 --- [ main] org.onap.aai.logging.ErrorLogHelper 
: ERR.5.4.3025 ex=org.onap.aai.exceptions.AAIException: Error connecting to 
SchemaService - Please Investigate ClassName- org.onap.aai.TraversalApp 
:LineNumber- 215 :MethodName- schemaServiceExceptionTranslator ClassName- 
org.onap.aai.TraversalApp :LineNumber- 151 :MethodName- main ClassName- 
sun.reflect.NativeMethodAccessorImpl :LineNumber- -2 :MethodName- invoke0 
ClassName- sun.reflect.NativeMethodAccessorImpl :LineNumber- 62 :MethodName- 
invoke ClassName- sun.reflect.DelegatingMethodAccessorImpl :LineNumber- 43 
:MethodName- invoke ClassName- java.lang.reflect.Method :LineNumber- 498 
:MethodName- invoke ClassName- org.springframework.boot.loader.MainMethodRunner 
:LineNumber- 48 :MethodName- run ClassName- 
org.springframework.boot.loader.Launcher :LineNumber- 87 :MethodName- launch 
ClassName- org.springframework.boot.loader.Launcher :LineNumber- 50 
:MethodName- launch ClassName- 
org.springframework.boot.loader.PropertiesLauncher :LineNumber- 593 
:MethodName- main
2020-04-07 07:04:13.266 ERROR 1 --- [ main] org.onap.aai.logging.ErrorLogHelper 
: ERR.5.4.3025 ex=org.onap.aai.exceptions.AAIException: Unable to start 
embedded container; nested exception is 
org.springframework.boot.context.embedded.EmbeddedServletContainerException: 
Unable to start embedded Jetty servlet container, resolve and restart Traversal 
ClassName- org.onap.aai.logging.ErrorLogHelper :LineNumber- 614 :MethodName- 
logError ClassName- org.onap.aai.TraversalApp :LineNumber- 156 :MethodName- 
main ClassName- sun.reflect.NativeMethodAccessorImpl :LineNumber- -2 
:MethodName- invoke0 ClassName- sun.reflect.NativeMethodAccessorImpl 
:LineNumber- 62 :MethodName- invoke ClassName- 
sun.reflect.DelegatingMethodAccessorImpl :LineNumber- 43 :MethodName- invoke 
ClassName- java.lang.reflect.Method :LineNumber- 498 :MethodName- invoke 
ClassName- org.springframework.boot.loader.MainMethodRunner :LineNumber- 48 
:MethodName- run ClassName- org.springframework.boot.loader.Launcher 
:LineNumber- 87 :MethodName- launch ClassName- 
org.springframework.boot.loader.Launcher :LineNumber- 50 :MethodName- launch 
ClassName- org.springframework.boot.loader.PropertiesLauncher :LineNumber- 593 
:MethodName- main
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:50)
at 
org.springframework.boot.loader.PropertiesLauncher.main(PropertiesLauncher.java:593)
Caused by: org.onap.aai.exceptions.AAIException: Error connecting to 
SchemaService - Please Investigate
at 
org.onap.aai.TraversalApp.schemaServiceExceptionTranslator(TraversalApp.java:215)
at org.onap.aai.TraversalApp.main(TraversalApp.java:151)


... 8 more
















 





2020-04-07 15:11:26



杭州东方通信软件技术有限公司
虞驰 [email protected]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20509): https://lists.onap.org/g/onap-discuss/message/20509
Mute This Topic: https://lists.onap.org/mt/72845646/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to