Hi, Keong,

I am trying to deploy ONAP (Dublin) cluster but running into the following 
error:


ubuntu@onap-rancher-vm-1804:~/oom/kubernetes$ kubectl logs -n onap 
dev-aai-aai-graphadmin-create-db-schema-d4gln

Project Build Version: 1.0.0
chown: changing ownership of '/opt/app/aai-graphadmin/resources/logback.xml': 
Read-only file system
chown: changing ownership of 
'/opt/app/aai-graphadmin/resources/etc/appprops/aaiconfig.properties': 
Read-only file system
chown: changing ownership of 
'/opt/app/aai-graphadmin/resources/etc/appprops/janusgraph-realtime.properties':
 Read-only file system
chown: changing ownership of 
'/opt/app/aai-graphadmin/resources/etc/appprops/janusgraph-cached.properties': 
Read-only file system
chown: changing ownership of 
'/opt/app/aai-graphadmin/resources/etc/auth/aai_keystore': Read-only file system
chown: changing ownership of 
'/opt/app/aai-graphadmin/resources/application.properties': Read-only file 
system
chown: changing ownership of 
'/opt/app/aai-graphadmin/resources/localhost-access-logback.xml': Read-only 
file system

Tue Aug 6 21:54:15 UTC 2019    Starting 
/opt/app/aai-graphadmin/bin/createDBSchema.sh
2019-08-06 21:54:18.688 DEBUG   --- [           main] 
org.onap.aai.restclient.RestClient       : Headers: {}
2019-08-06 21:54:18.695 DEBUG   --- [           main] 
org.onap.aai.restclient.RestClient       : 
METHOD=https://aai-schema-service.onap:8452/aai/schema-service/v1/versions,URL=<,{Accept=[application/json],
 Content-Type=[application/json], X-FromAppId=[aai-graphadmin], 
X-TransactionId=[f062bd8e-74a1-45c5-bbd2-30190d284ccb, 
aai-graphadmin]}>,http={}GET
2019-08-06 21:54:38.820  INFO   --- [           main] 
org.onap.aai.util.ExceptionTranslator    : Exception is 
aai-schema-service.onap: Temporary failure in name resolutionRoot cause 
isjava.net.UnknownHostException: aai-schema-service.onap: Temporary failure in 
name resolution
2019-08-06 21:54:38.827 ERROR   --- [           main] 
org.onap.aai.schema.GenTester            : Problems running the tool Error 
connecting to SchemaService - Please Investigate
2019-08-06 21:54:38.828 DEBUG   --- [           main] 
org.onap.aai.util.AAIConfig              : Reloading config from 
/opt/app/aai-graphadmin/resources/etc/appprops/aaiconfig.properties
2019-08-06 21:54:38.834 ERROR   --- [           main] 
org.onap.aai.logging.ErrorLogHelper      : ERR.5.4.3025 
ex=org.onap.aai.exceptions.AAIException: Error creating bean with name 
'schemaServiceVersions' defined in 
org.onap.aai.config.SchemaServiceConfiguration: Bean instantiation via factory 
method failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Failed to instantiate 
[org.onap.aai.setup.SchemaServiceVersions]: Factory method 
'schemaServiceVersions' threw exception; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'schemaVersionsBean': Invocation of init method failed; nested 
exception is org.springframework.web.client.ResourceAccessException: I/O error 
on GET request for 
"https://aai-schema-service.onap:8452/aai/schema-service/v1/versions": 
aai-schema-service.onap: Temporary failure in name resolution; nested exception 
is java.net.UnknownHostException: aai-schema-service.onap: Temporary failure in 
name resolution, resolve and retry ClassName- 
org.onap.aai.logging.ErrorLogHelper :LineNumber- 614 :MethodName- logError 
ClassName- org.onap.aai.schema.GenTester :LineNumber- 85 :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.util.ExceptionTranslator.schemaServiceExceptionTranslator(ExceptionTranslator.java:42)
        at org.onap.aai.schema.GenTester.main(GenTester.java:81)
        ... 8 more
Failed to run the tool /opt/app/aai-graphadmin/bin/createDBSchema.sh 
successfully
Failed to run the createDBSchema.sh

Please help.

Thanks,
Xin Miao


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

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

Reply via email to