Installing SDNC/R from startODL.sh script Settings: SDNC_BIN=/opt/onap/sdnc/bin SDNC_HOME=/opt/onap/sdnc SDNC_DB_INIT=false ODL_CERT_DIR= CCSDKFEATUREVERSION=1.1.5 ENABLE_ODL_CLUSTER=false ODL_REMOVEIDMDB=true SDNC_REPLICAS= ENABLE_OAUTH=false ENABLE_ODLUX_RBAC=false SDNRWT=false SDNRDM=false SDNRONLY=false SDNRINIT=true SDNRDBURL=https://sdnrdb.onap:9200 SDNRDBUSERNAME= GEO_ENABLED=false IS_PRIMARY_CLUSTER=false MY_ODL_CLUSTER=127.0.0.1 PEER_ODL_CLUSTER= SDNR_NORTHBOUND=false AAF_ENABLED=true SERVICE_NAME= NAMESPACE= SDN-R Database InitializationExecute: /opt/java/openjdk/bin/java -jar /opt/opendaylight/current/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/1.1.5/sdnr-dmt.jar -c init -db https://sdnrdb.onap:9200 -dbu -dbp -k 2021-08-31 11:02:21,865 [ERROR|Program] Error during execution: {} org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClientException: Can not reach database server. Client not started. at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:118) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:94) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.DataMigrationProviderImpl.(DataMigrationProviderImpl.java:72) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.cmd_init_db(Program.java:370) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main2(Program.java:223) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main(Program.java:125) Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:920) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:227) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.getInfo(ExtRestClient.java:367) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.autoDetectVersion(ExtRestClient.java:217) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.(ExtRestClient.java:206) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.(HtDatabaseClient.java:70) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:105) ... 5 more Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$1.completed(RestClient.java:540) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:529) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338) at org.apache.http.impl.nio.client.InternalRequestExecutor.inputReady(InternalRequestExecutor.java:83) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591) at java.base/java.lang.Thread.run(Unknown Source) 2021-08-31 11:03:08,328 [ERROR|Program] Error during execution: {} org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClientException: Can not reach database server. Client not started. at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:118) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:94) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.DataMigrationProviderImpl.(DataMigrationProviderImpl.java:72) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.cmd_init_db(Program.java:370) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main2(Program.java:223) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main(Program.java:125) Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:920) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:227) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.getInfo(ExtRestClient.java:367) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.autoDetectVersion(ExtRestClient.java:217) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.(ExtRestClient.java:206) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.(HtDatabaseClient.java:70) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:105) ... 5 more Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$1.completed(RestClient.java:540) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:529) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338) at org.apache.http.impl.nio.client.InternalRequestExecutor.inputReady(InternalRequestExecutor.java:83) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591) at java.base/java.lang.Thread.run(Unknown Source) 2021-08-31 11:03:54,924 [ERROR|Program] Error during execution: {} org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClientException: Can not reach database server. Client not started. at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:118) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:94) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.DataMigrationProviderImpl.(DataMigrationProviderImpl.java:72) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.cmd_init_db(Program.java:370) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main2(Program.java:223) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main(Program.java:125) Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:920) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:227) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.getInfo(ExtRestClient.java:367) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.autoDetectVersion(ExtRestClient.java:217) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.(ExtRestClient.java:206) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.(HtDatabaseClient.java:70) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:105) ... 5 more Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$1.completed(RestClient.java:540) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:529) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338) at org.apache.http.impl.nio.client.InternalRequestExecutor.inputReady(InternalRequestExecutor.java:83) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591) at java.base/java.lang.Thread.run(Unknown Source) 2021-08-31 11:04:41,387 [ERROR|Program] Error during execution: {} org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClientException: Can not reach database server. Client not started. at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:118) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:94) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.DataMigrationProviderImpl.(DataMigrationProviderImpl.java:72) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.cmd_init_db(Program.java:370) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main2(Program.java:223) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main(Program.java:125) Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:920) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:227) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.getInfo(ExtRestClient.java:367) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.autoDetectVersion(ExtRestClient.java:217) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.(ExtRestClient.java:206) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.(HtDatabaseClient.java:70) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:105) ... 5 more Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$1.completed(RestClient.java:540) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:529) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338) at org.apache.http.impl.nio.client.InternalRequestExecutor.inputReady(InternalRequestExecutor.java:83) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591) at java.base/java.lang.Thread.run(Unknown Source) 2021-08-31 11:05:27,855 [ERROR|Program] Error during execution: {} org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClientException: Can not reach database server. Client not started. at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:118) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:94) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.DataMigrationProviderImpl.(DataMigrationProviderImpl.java:72) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.cmd_init_db(Program.java:370) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main2(Program.java:223) at org.onap.ccsdk.features.sdnr.wt.dataprovider.setup.Program.main(Program.java:125) Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$SyncResponseListener.get(RestClient.java:920) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:227) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.getInfo(ExtRestClient.java:367) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.autoDetectVersion(ExtRestClient.java:217) at org.onap.ccsdk.features.sdnr.wt.common.database.ExtRestClient.(ExtRestClient.java:206) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.(HtDatabaseClient.java:70) at org.onap.ccsdk.features.sdnr.wt.common.database.HtDatabaseClient.getClient(HtDatabaseClient.java:105) ... 5 more Caused by: org.elasticsearch.client.ResponseException: method [GET], host [https://sdnrdb.onap:9200], URI [/], status line [HTTP/1.1 502 Bad Gateway] 502 Bad Gateway

502 Bad Gateway


nginx
at org.elasticsearch.client.RestClient$1.completed(RestClient.java:540) at org.elasticsearch.client.RestClient$1.completed(RestClient.java:529) at org.apache.http.concurrent.BasicFuture.completed(BasicFuture.java:122) at org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.responseCompleted(DefaultClientExchangeHandlerImpl.java:181) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.processResponse(HttpAsyncRequestExecutor.java:448) at org.apache.http.nio.protocol.HttpAsyncRequestExecutor.inputReady(HttpAsyncRequestExecutor.java:338) at org.apache.http.impl.nio.client.InternalRequestExecutor.inputReady(InternalRequestExecutor.java:83) at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:265) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:81) at org.apache.http.impl.nio.client.InternalIODispatch.onInputReady(InternalIODispatch.java:39) at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:121) at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:162) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:337) at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315) at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:276) at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104) at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:591) at java.base/java.lang.Thread.run(Unknown Source) Result of init script: 0